Whole game in 1 scene
![JonatanRosdahl](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
I've heard about some gamesalad games that only uses one scene. And i think i might try that out. The only point in this is to avoid the loading.
So have anyone tried this? Is it worth doing and is it possible?
So have anyone tried this? Is it worth doing and is it possible?
Comments
I personally wouldn't recommend trying it as I think you will destroy your game performance. I don't know about the template thats available. He says it works so you may want to look into it. but I just don't see any type of complex game being possible with a setup like that.
(How do i edit a pool?........)
Cheers, Weswog
It makes for a better user experience (imo)....but
Depending on the complexity of the game, it might make it harder to keep track of certain stuff, and memory usage might be an issue.
Cosmic Spark is a pretty simple game (but with Retina graphics), and it's pretty much hitting 40meg usage from the outset.
Everyone should take a look at the videos and think about getting it.
http://gamesalad.com/forums/topic.php?id=20637
email me at asher.ryan@yahoo.com or just PM me.
This is the whole scene layed out below. Down side is the things are just a little more complicated to reset. Also making sure actors are not doing things when the camera is not on them to keep performance up.
i have stuff that works perfect all in one scene, some games will crash at start up like that. Most have the menus all in one scene and the rest seperate scenes. Again it all depends. You cant say with or without a doubt you can have somehting in one scene, or you cant, till you have tested everything and checked the numbers ect
I basically had all my screens laid out on the main scene, and depending on where I needed to be, I changed the scene camera origin X and Y value so it showed the correct screen at the correct time.
I made this easy by having a text attribute called "whatscreen"
So when I want to be on the title screen, I set that to title, my main area is called "shoot" my second area is called "abduct" my 3rd area is called "shmup". I also have is set to game over when you die.
So all my game rules trigger that attribute, and once that is triggered, I have rules that say : when whatscreen = whatever screen I want, change camera origin x to whatever number, and camera origin y to whatever number.
Ace