I'm in the process of choosing a game engine to use and I like a lot of things about Gideros. But I can't find anything that really explains how to transition between scenes in a project or how to really use scene manager. Or am I missing something?
I'd like to see how to do scene management without trying to figure it out from reading bits and pieces of people solving some problem.
Are there any tutorials or sample programs that I can look at to learn this?
Comments
https://github.com/gideros/Scene-Manager
Is that sufficient?
@hgy29 or @SinisterSoft, It might be good to have this included in the main distribution
Likes: SinisterSoft
Here you can find the release notes
http://appcodingeasy.com/Gideros-Mobile/Manage-Scenes-in-Gideros-Mobile
And
http://giderosmobile.com/forum/discussion/6651/layout-gideros-gui-framework
Pie said, "Thing is that gideros doesn't have "scenes" as game maker's rooms.. You can do pretty much as you like". I understand that, but it would be helpful if there was a video tutorial that explains at least one method of managing scenes as I described above.
John Blackburn's excellent video tutorial on sprites (Sprites in Gideros) is almost 35 minutes long. Yet the only tutorial for scene management (which is a pretty important topic for games) is a fairly short text on a web page.
I looked at the layout class page on github and watched John Blackburn's video on using this class for GUIs. It's an excellent video that takes 36 minutes to explain using the class for GUIS. I can see that it could be useful for scene management, but I don't really see to do so. It would be great if this video or another video showed how to use the layout class for scene management.
Is there anywhere that gives a COMPREHENSIVE explanation or tutorial on scene management?
There is a good book by Arturs Sosins though, the same guy who wrote scene manager and a bunch of other useful stuff.
http://giderosmobile.com/forum/discussion/5831/thoughts-on-this-book-gideros-mobile-game-development-by-arturs-sosins/p1
The book explains in easy words everything you need to know to get started and guides you through the development of a simple game. Unfortunately it is a bit outdated And it misses all the new gideros features. But its content is still valid And should get you up and running very fast
P.s. if you understand Sprite you should be able to use scene manager.
Basically scenes are Sprites containing other Sprites. Scene manager provides a ready made way to switch between these
I went to that github page expecting to find a directory (or zip file containing a directory) of a Gideros project which I could then open in the Gideros IDE. I didn't find this, so I don't understand what you mean.
I don't want to offend you but I feel like you're taking it the wrong way, trying to map the scene concept you had on a previous sdk to gideros, where there is no such concept.
With gideros, you don't build scenes, you build sprite hierarchies, and sprite hierarchies can happen to describe a full scene or just a part of it.
Since you are asking about managing scenes, lets suppose you figured out how to build the sprite hierarchies that would old your scenes, and call them sceneA and sceneB. With gideros you can transition from sceneA to sceneB with just two lines of lua:
My scene management in love consisted of an if statement that had a a section for each game state. That is, if gamestate = splash, draw splash screen. elseif gamestate = play, draw play screen, etc., etc.
Again,this seems like a completely different way of handling things, which is why I'm looking for something to comprehensively explain how to handle scenes in Gideros.
And I think I've found it. Please see my post to pie, which I'll post after this one.
I bought the e-book version of Arturs Sosins' book and though it is a bit old, I'm sure it's going to help me learn Gideros.
I looked at the part about Scene Manager and I now understand much better.
One thing that had/has me confused, is he mentions both mouse and touch functions. The tutorials I've watched never refer to mouse, so I'm not sure whether his mouse references are old (and no longer really relevant) or if they're still valid. But I guess I'll find out when I more thoroughly read the book and try out some programming.
Thanks again. This is the kind of thing I was looking for, though it would be nice if there was something similar in video (like John Blackburn's great videos).
I think you can pretty much ignore mouse stuff if you aren't releasing to windows
Great to see you made the leap from Love2d. I considered that once a long time ago but it was very difficult at that time to export to Android, in Gideros you can export APK files directly from Gideros Studio!
edit - they still both exist
The reason I'm leaving love2d is pretty much the Android issue. I found a way to make .a love2d game into an .apk file for Android. The way I was doing it wasn't very hard to make the file. The problem was I couldn't get the game to look like it did in the game window when I was doing the programming (using ZeroBrane on Linux). I decided to look to see if there was a better way (using lua since I already know that to a degree) and I think I've found a couple. Gideros is the front runner.
Likes: antix
Likes: antix
Fragmenter - animated loop machine and IKONOMIKON - the memory game
ZBS also support live coding
Likes: antix
Fragmenter - animated loop machine and IKONOMIKON - the memory game