updating my game & now testing. what went wrong?

ckurt25ckurt25 Member Posts: 122
edited November -1 in Working with GS (Mac)
So I make a few changes to my game iFore!

1) Made it with 2 difficulty levels - Amateur and Pro
2) Added another actor / enemy
3) Added a landing pages, about screen, instructions screens, etc
4) Made the high score visible during game play (it was only visible at the end of the game in the past). It has text that says "high score" and loads / displays the score.
5) A few other small tweaks like changed some images of actors.

I hit Publish and first tried updating the game. Got thru to dragging the icon to iTunes and everything to this point was working fine. The landing page, instructions, about, etc., everything worked. When I selected one of the two difficulty levels the high score text is screwy (its fine when I hit preview in GS), the actual score is fine and once the character dies a "play again" actor is supposed to pop up (this is one of the images I changed) but it isn't visible at all (again, it works fine in the preview). I can touch the area where the actor is supposed to be to play again and the game resets like it should.

I thought that maybe I should upload it as a new game so I tried that and got the same results. I also tried deleting the app from the iPhone, power cycling it, deleting the file from iTunes and in Finder and I get the same results every time.

Anyone have a clue as to why this would work in Preview but not after it gets to a device? I can imagine small tweaks but this is seriously f'd up.

Comments

  • rebumprebump Member Posts: 1,058
    [this is more commentary for others than actual help to you...sorry]

    Well, I introduces testing my app on an actual device pretty late in my development cycle and ran into the funky nuance issues you are experiencing. Therefore, I now do test runs on a device to establish a baseline, tweak it to work there, and then note any oddities (in my head) of how it runs in GS app or web preview (so I know it is likely not an issue on the actual device).

    One thing I found is things appear to be a little more consistent on the device UNLESS your app is struggling performance wise on the device in which case all sorts of timing issues can erupt (like spawning of actors or dependency of actions between actors). What I found is the app I am working on is pretty intense actor wise and it works fine performance wise on the Mac and the 3GS. It will run on 1st gen but due to boggy performance, the timing I rely on introduces all sorts of inappropriate sequences and produces buggy looking performance (despite working fine on 3GS and the Mac).

    Also, the positioning of elements in the scene can vary a bit too between the two environments.
  • ckurt25ckurt25 Member Posts: 122
    I could see that being true if I had a very resource intensive app but this is a very simple game and the file sizes are all very small. What's happening with the "high score" text is like its appearing twice. With one shifted a few pixels from the other. I'm wondering if that has something to do with how I made two difficulty levels and then have different attributes for amateur and pro high scores. But working in preview correctly then not at all on the iPhone is weird. I've just begun to take a look at something I may have messed up with that and probably won't get to spend too much more time on it today and I've got to take off soon and won't be home until late tonight.
  • rebumprebump Member Posts: 1,058
    In the beginning of the app's run, set the amateur high score to "1" and the pro high score to "1000" and when they overlap, see if you get both "1"s in the overlapping numbers of if the number is being repeated twice.
  • ckurt25ckurt25 Member Posts: 122
    It's not the actual score that is messed up, its the text next to it that says "high score." So in the upper right corner it has the numerical value that is working 100% correctly but just to the left of it it says "high score" and "high score" almost perfectly on top of it.

    Ok.... This is weird.... I went into the scene editor and removed the actor that says "high score" and when I preview in GS there isn't anything there but the value, no text. When I publish that game and play it on my iPhone, it says high score and it has the value. Very weird. I must have messed with something I forgot about when I tweaked the game. Blame it on an IDTenT error. Still haven't figured out the "play again" actor not being visible on the iphone but visible in preview.
  • rebumprebump Member Posts: 1,058
    1D10t strikes again!
Sign In or Register to comment.