GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

All in one scene vs change scene...

Thunder_ChildThunder_Child Posts: 2,343Member

This is not a question so much as a technique I'm becoming very fond of...thought I'd share.

For certain games this may not work...but in my case...with a slots game I am updating...v2.0, I found that where as I used to have several scenes (Menu, Loading, main Game, Bonus Round, Pay Tables and Info as well as my IAP Scene) if you make your main scene (where all your game play is at) dimensions larger than needed...both height and width...you can, without much more effort place your other actors, like listed above to be off scene and when booleans become true and false to have them interpolate or change position attribute into place.

You end up with NO extra loading wheels, reduce errors with certain doubling of scores or existing booleans that don't get accidentally deactivated or re-activated.

Back in my noob days working with templates I didn't particularly like seeing this method because you don't see where they are at and not sure where they will be placed. Documentation helps but if your building only for convieniance for yourself I feel this is a great method to use.

Sure I have to create a few extra game level Booleans to work with but man o man I am loving it. Everything all on one scene.

TC

Comments

  • Braydon_SFXBraydon_SFX Posts: 8,981Member, Sous Chef, PRO, Bowlboy Sidekick GameSalad Employee

    Yep, I created Knight's K'west entirely in one scene. Loved not seeing the loading wheel. Will I ever do it again? Nope. Development took so much longer because everything was on one scene. I had to constantly move the camera, place things, get around camera bugs and such. It was a mess. I appreciate the absence of the loading wheel, but for me it's not worth it. :D

  • ArmellineArmelline Posts: 4,832Member, PRO

    I take it very much on a case-by-case basis. Mostly I'll stick to one scene, but sometimes the benefits are outweighed by the drawbacks. When the gameplay is simple, one scene works great. But for really heavy games, it can be more effort than it's worth, as @Braydon_SFX says.

  • ookami007ookami007 Posts: 581Member

    I may use a single scene for the playing fields but I usually have one or more screens for the other stuff... I just find it a little easier to manage.

  • DigitalCaesarDigitalCaesar Posts: 40Member

    I have been using multiple scenes for my first two apps for my third game I just started using one scene and spawning my menus in scene. It is a much nicer experience on a gameplay level, although it takes much longer I am going to be using that same technique for a lot of my future ideas.

Sign In or Register to comment.