Hitting a roadblock when changing scenes
jstrahan
Member Posts: 498
Ok here's the problem
My game starts with a title scene it has animations sounds and text when you tap on the screen it goes to the next scene which is the menu scene. On that scene I have more animations sounds. On the menu you have 1 player, 2player, stats, options, instructions. When you click on options or instructions it just changes the menu into either options or instructions.
If you touch 1player, 2player, or stats it is suppose to play a sound then change scenes the problem is it will play the sound and any other actions I put in the rule but it will not change scenes it just locks up
I've gone though every expression making sure everything was right making sure all attributes were right I can't figure it out
ANY SUGGESTIONS
My game starts with a title scene it has animations sounds and text when you tap on the screen it goes to the next scene which is the menu scene. On that scene I have more animations sounds. On the menu you have 1 player, 2player, stats, options, instructions. When you click on options or instructions it just changes the menu into either options or instructions.
If you touch 1player, 2player, or stats it is suppose to play a sound then change scenes the problem is it will play the sound and any other actions I put in the rule but it will not change scenes it just locks up
I've gone though every expression making sure everything was right making sure all attributes were right I can't figure it out
ANY SUGGESTIONS
Comments
FYI, I've modified your title so that it would be more descriptive and helpful to others who can chime in to help.
thanks for changing title reads much better
ps i do have run to completion ticked on the sound but i also tried unticking it and got same result
the rules for the scene change are
if menu ready=1 makes sure menu system is in position and ready
if menu selection=6 checks for which menu option was selected
if pressed if menu was touched
if fade.alpha=0 if u dont touch the screen in 20 seconds the scene fades to black until
you touch the screen
the way it knows menu selection is 6 is ive constrained attribute ytouch=floor(touch.y/32) i done this to create a grid layout for checking for x and y touch position that way if you touch anywhere between y=192-224 it returns a 6 so i only check for 6 and not y>192 and y<224