Play button to next scene not working properly.

famekraftsfamekrafts Member, BASIC Posts: 834
edited October 2012 in Working with GS (Mac)
This is a very weird bug but its hanging the app in ipad.

I made a menu screen, when I touch press it goes to to the other scene. The problem is sometimes, its working sometimes its just hanging even in GS, especially the first time I start and run the game.

in ipad it starts loading and then keeps on loading for hours. If I go out of the app, then nothing happens.

The major problem is its happening even in the GS itself.

there is nothing in the button except when 2 attributes are 0, and the button is touch pressed, it goes to the scene.

The two attributes are important as I have story and credits on the main page and when they are spawned, if I click on them above the play button, the button changes scene. so i need to destroy them and change the attributes to zero, before the play button works again.

basically i am disabling the play button till credits and story actors are spawned.

there should not be any problem here, because when I reset the scene in GS it starts working.

I am really bugged because I cannot test my game on ipad.







Comments

  • famekraftsfamekrafts Member, BASIC Posts: 834
    Ok I noticed something when I run the game from home this problem is happening, when I run it from that scene ( its the first scene in the game), then it is working fine. This is very weird.
  • famekraftsfamekrafts Member, BASIC Posts: 834
    What the hell, I have tried running new versions of the file 5 times on iPad and the game will just hang while changing scenes. Can any one help? I tried removing all the attributes and gave a simple on press change scene and even that's not working. Is this a bug?
  • FullBlockGamesFullBlockGames Member Posts: 56
    Maybe try making a new actor. Maybe there's something wierd inside of that actor. If not that, I would assume it being a bug.
  • famekraftsfamekrafts Member, BASIC Posts: 834
    I made a new actor also, maybe the game file has got corrupt in some way, but it get stuck the first time, if I reset it works on gs, but on iPad there is no way to reboot the game
  • famekraftsfamekrafts Member, BASIC Posts: 834
    I got an error and gs closed unexpectedly, now when gs opens I only see a square size image, rest is black. Why do we have to use beta version why we cannot use a stable version? If this doesn't get solved I will have to recreate from scratch.
  • famekraftsfamekrafts Member, BASIC Posts: 834
    Had to start all over from scratch. :(
  • gurechangurechan Member, PRO Posts: 211
    What is happening on the scene you where you have the button? I had this kind of issue once and it was a problem in the logic of the code I had set up. In my case it was to do with the control camera attribute.

    You may have an issue with something in the code you've set up. Try turning off the the code one by one to see if you can find it. This is what I did and managed to solve the problem by fixing the code logic.
  • famekraftsfamekrafts Member, BASIC Posts: 834
    I tried it man, I put the same code in the new game from scratch and its working fine.

    Anyhow at least its working now, its my first game, so I may have screwed somewhere with the logic or code. Also the next scene was a sliding menu scene, now I am trying to make everything simple, as it saves loading time also.

Sign In or Register to comment.