I only have one of the old version-2 iPads to code with. It's not horrible, but I'm not sure it works with hopscotch the way it's supposed to work. I'm wondering whether some of the quirky stuff that I see happening also happens for people who have newer iPads. I wonder whether my codes crash your device, the way they crash mine.
So, I'm making this game called HoRiZoN. Check it out, if you haven't. It's sorta fun. Meh... maybe not. You decide. It has some actual physics in it. Nothing too fancy. It's basically a simulation of a little ship (a yellow star) in orbit around a black hole. The point of the game is to boost and brake the ship's orbit to collect blue stars or fuel from a space station near the black hole and not to run out of fuel or to crash into the event horizon. Whatever. It's still in progress.
I like how the motion seems nice and fluid. The orbital motion works, except that iPads are so slow that they don't update coordinates and speeds fast enough for energy to be conserved. [Um.. silly], impossible stuff happens. So, I have to fake it with a hard limit on how much force the black hole can put on you, and I calm-down the [um.. silly] stuff that produces energy out of nowhere by using something like frictional drag (hey, there's no drag in space!).
But here's the problem: This game, like most of my others, CRASHES AFTER A FEW MINUTES OF PLAY. Dang it. And that's not all: Sometimes the black hole at the center of the screen, stops pulsing and shrinks down to only 100%. There's no code in there to tell it to do that! How's it doing that? What's going on?
This happens on a lot of my stuff. Not just this game. My "Bugz" game did the same sort of stuff, sometimes. Even worse, frequently the whole Hopscotch app just crashes, right while I'm editing things. It's frustrating. I just have to put up with it.
So, what I want to know is this... does the HoRiZoN game do the same thing on (your) newer iPads? If not, maybe it's just time for me to get a new axe. Can you check it out and tell me what you see? Also, if you see any bad logic in the code, maybe you could share an idea of how to do things better? Thx!