Game crashes on device
Mattcus
Member Posts: 85
Hiyas.
My game works perfectly fine (minus a few jitters here and there) on the Gamesalad creator's Viewer. However it skips parts of the intro and doesn't open the main menu when using both the gamesalad viewer on my device and an ad hoc build. Please help I'm not sure what to do to fix this.
My game works perfectly fine (minus a few jitters here and there) on the Gamesalad creator's Viewer. However it skips parts of the intro and doesn't open the main menu when using both the gamesalad viewer on my device and an ad hoc build. Please help I'm not sure what to do to fix this.
Comments
every time I've seen the viewer work but break on a device it's the result of a bad rule or missing attribute.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
Edit: I've looked through some of the rules, and cleaned a little bit up, but from what I see everything looks fine, but it still doesn't work properly.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Also I tried testing other parts of the game, by testing the game with the menu as the first scene. And most scene changes crash, and the main scene of the game itself is very laggy.
@Mattcus
Hi, as the other guys said; sometimes, as well, Timers might be the problem (getting "tangled" as it were)... if not that, perhaps it's a RAM problem... (you don't mention what sort of intro it is but if it involves lots of animation frames, it could well be what's happening)... so just set your intro to preload graphics only, uncheck the rest, see if that does the trick...
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
--bump--
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
I'm using the interpolate behaviour for the movement. And the intro cannot be skipped, once it is finished a play button appears, and when you click that it's supposed to take you to the menu, but that is where it crashes.
@SlickZero
I tried restarting the device, but it didn't change anything.
Also, I'm not certain that my rules and logic are correct, I just can't clearly see any problems.
@Mattcus
Curiouser and curiouser... OK, I'm sure you've checked the Timer After number of seconds is adequate to allow the Interpolate to finish, and that the Timer behaviour is placed after the Interpolate behaviour...if not, they'd be worth changing.
Maybe try adding something like .3 of a second to the Timer After amount of seconds already there, and make sure to check Run to Completion in the Timer behaviour if its not already. (Actually, this checking of Run to Completion is worth trying first...)
Your Change Scene behaviour in the Timer: is it set to go to a scene with a particular name, or to next scene? Whichever it is, try the opposite, and see if that improves the situation. (More info: if you deleted a scene then remade it with the same name, that can sometimes cause problems too, so to fix that, replace the Change Scene behaviour and set it up again as fresh.) Hope something there helps now.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
On the menu there is a help button and a play game button, the play game button works, the help button crashes.
During the game you're can access a shop, but it crashes with that as well. It also crashes when trying to get back to the menu from the game.
Putting the main game scene, directly after the intro, works, however not properly, some animations aren't working, and some text isn't being displayed.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
When using instruments at the same time as running the game, it crashed before the play button appeared.
I'm not sure if this would be useful at all but I took this screenshot:
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
I think I've narrowed it down to the intro scene itself, because the other scenes work fine when put on their own, it's only when the intro transitions to another scene does it crash.
Actually it also crashes when changing scenes in other parts of the game as well.
I haven't started to look into them yet, because I'm still working on the intro crash.
Do you have any other tips on troubleshooting that might be helpful?
However now that I can get to the other scenes I've noticed some other problems:
Edit: I fixed the sliding scenes
Some text from tables aren't being displayed but they do on the computer.
The animations don't work all the time. (Sometimes when I run the game they work, other time they don't.)
Sometimes it crashes randomly, usually when you lose the game.
If these are common problems and someone knows how to fix them, it would be greatly appreciated if you could help me with this. In the mean time I will continue to fix it myself.
Thanks for everyone's help so far
---bump---
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps