my game is crashing - was Start Button?
yasoofx
Member Posts: 332
So i am testing my game on adhoc and i press on Run and it just waits for 2 secs then takes me back to ipod home screen , Why?
Answers
@yasoofx
What are your Rules in this Run button?
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
what i suggest you do is create a blank scene, and when touch is pressed on your start button change scene to the "blank scene", then you can find out whether its the start button (which it most likely isnt) or its the scene that you,re transferring to
GSINVENTION FREE TEMPLATES
Another thing to try: sometimes the linkages are broken/corrupted especially if you've been making then deleting then making scenes again....
So just delete your Rule and put in a fresh one, including the Change Scene behaviour, selecting the scene you want again.
Also double-check you haven't two scenes with the same name...
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
GSINVENTION FREE TEMPLATES
OK, then I'm thinking something else is going on....
Btw, I could have sworn you originally wrote that the game was crashing.... I wonder if you've edited your post with this major change to the question? [-X ;-)
So now I'm thinking there's attribute(s)/Rule in this scene you're trying to get to after pressing the Run button, that's bringing you back.
Anyhow, if you could confirm for a bit more clarification as to the situation now: You have a Home screen, which I guess has the Run button on, yes? You press this, which takes you to another scene, which you actually see for 2 seconds, but then it goes back to the home screen again; is all that correct?
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
My mistake, sorry; so it does crash then; OK got it. :-)
Right then, some more questions first, to see if we can solve this for you: what version GSC are you using? What version iOS is on the iPod?
If you do the following simple test, after pressing the new button, does it still crash?
Make another fresh scene, call it Test Scene. Throw a white actor on it as a marker if you want.
Now make a fresh actor as your Run button on your Menu scene. Put in its Rules:
When touch is pressed
Change Scene Test Scene
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
you have a bad rule in the scene you are switching to. I'm guessing you deleted an attribute that is being referenced in a rule. It works in the preview but fails on the device. You'll have to hunt that rule down.
start with doing what gyroscope said, make a test scene and switch to that.
then go through and remove actors one at a time until you find the bad actor, then go through rule by rule.
you can also just open every single rule / otherwise statement until you find the bad attribute.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
second: IOS:7.0.2
Third: iv done everything u said but still seems the scene run wont open, unless if in the viewer down i click on the scene
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left