tatiangMember, Sous Chef, PRO, Senior Sous-ChefPosts: 11,949
Your game is crashing because of something you've coded. There's not a single answer for why this might be happening, which is why @gyroscope asked for a screenshot or text of your rules.
is simple, Just if touch is pressed change scene to Run Scene
so @yasoofx have you maybe thought its not the start button? what if its the scene after the start button the so called "run scene". 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
gyroscopeI am here.Member, Sous Chef, PROPosts: 6,598
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...
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...
Tried all that , still doesnt work
my option is still in the line haha try giving my suggestion ago, im sure it might sort out your problem.
gyroscopeI am here.Member, Sous Chef, PROPosts: 6,598
edited October 2013
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?
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?
so i press the run button it closes the game. FULL close
gyroscopeI am here.Member, Sous Chef, PROPosts: 6,598
edited October 2013
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:
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.
Answers
@yasoofx
What are your Rules in this Run button?
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
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...
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?
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 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.
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