problem change scene

Hello guy , I create a game , and i want to open a gameover scene when my attribute life is 0

After i just make the game reset when the player is 0



But but but , i have a big problem , when my life is 0 , in the preview mode , all works , but when i'm in HTLM5 preview , i just can listen the musique , and my game freeze ....
I all test and that the final touch of my game ... :(



I'm french so sorry for my english guys !

Comments

  • paperlesspaperless Member Posts: 4
    I have re- created a new attribute , and a new scene but i don't know where is the problem , can't understand the problem :/
  • paperlesspaperless Member Posts: 4
    :(( Please i'm have to finish my game for tomorrow :/
  • famekraftsfamekrafts Member, BASIC Posts: 834
    Which ever attributes you are using, create a display actor for them, so you will understand that the values are working correctly or not. Also loading another screen can cause lag, simply create a full screen graphics, when your stage is complete make the graphic interpolate to cover the scene showing game end. Put it on the top most layer. When the graphic is pressed it will go to the menu and restart game.
  • paperlesspaperless Member Posts: 4
    I have already an actor for that , and i he can't open my scene , i really don't understand [-(
  • paperlesspaperless Member Posts: 4
    But my image is 62ko , and the song 20ko , so i don't undertsand why all freeze :/
  • famekraftsfamekrafts Member, BASIC Posts: 834
    It's not a graphic problem, changing scenes causes loading time in gs. Just avoid changing scene all together.
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    Let's just say that HTML5 in gamesalad is not that great and I personally never got anything to perform well on it.
  • famekraftsfamekrafts Member, BASIC Posts: 834
    I do not like making html5 games, with my 3d graphics it will never load properly. If I make the flash style graphics then it might.
Sign In or Register to comment.