Hitting a roadblock when changing scenes

jstrahanjstrahan Member Posts: 498
edited November -1 in Working with GS (Mac)
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

Comments

  • BeyondtheTechBeyondtheTech Member Posts: 809
    You might want to put in a delay before actually changing the scene. Give it time for all the actions to run through properly.

    FYI, I've modified your title so that it would be more descriptive and helpful to others who can chime in to help.
  • jstrahanjstrahan Member Posts: 498
    i tried adding a 1 second and a 2 second timer still locks up
    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
  • BeyondtheTechBeyondtheTech Member Posts: 809
    The whole editor locks up? Have you tried not having any other behavior or action except changing the scene? What happens when you select a different scene to change to? Perhaps there's something actually wrong with the scene (missing actors or incomplete rules, etc).
  • jstrahanjstrahan Member Posts: 498
    wont change to any scenes wont reset game wont reset scene will do anything else
    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
  • jstrahanjstrahan Member Posts: 498
    the editor is fine just the game locks up then i have to press the pause button then the back button if i do anything else the editon crashes
  • BeyondtheTechBeyondtheTech Member Posts: 809
    Sounds like you've got a broken Rule somewhere. Can you recreate a prototype in a new game and see if you can replicate the problem?
  • jstrahanjstrahan Member Posts: 498
    this is my second complete rebuild ive triple checked every rule cant find anything wrong ive put a display text in to have it display all attributes involved they all change to the correct value for the change to happen everything else happens it just freezes at the change scene if you willing and able ill send you the scenes im having trouble with to see if you see whats wrong if you dont wont to thats fine also i understand everyone busy doing there own stuff and ill just keep trying
Sign In or Register to comment.