Game Fast Executes and Emulates but won't play normally

PanduhBeer

  • Newbie
  • *
    • Posts: 4
    • View Profile
I'm having a bit of trouble with an asteroids clone I'm working on.  My game works perfectly on the emulator, and it works perfectly when saved to the Thumby and Fast Executed, but if is chosen from the Thumby menu on the device like starting any other game, the Thumby immediatley restarts.  I just can't figure it out.  I've tried reformatting the Thumby, updating, unpackaging a brand new Thumby... everything I can think of.  Memory allocation looks okay after loading everything on game start, and I cant get it to throw any errors while its connected to my PC.  Any ideas?  Anyone else dealt with the same problem?


Jason

  • Administrator
  • Hero Member
  • *****
    • Posts: 107
  • TinyCircuits Employee
    • View Profile
I'm having a bit of trouble with an asteroids clone I'm working on.  My game works perfectly on the emulator, and it works perfectly when saved to the Thumby and Fast Executed, but if is chosen from the Thumby menu on the device like starting any other game, the Thumby immediatley restarts.  I just can't figure it out.  I've tried reformatting the Thumby, updating, unpackaging a brand new Thumby... everything I can think of.  Memory allocation looks okay after loading everything on game start, and I cant get it to throw any errors while its connected to my PC.  Any ideas?  Anyone else dealt with the same problem?

Could you send or post the code? I can take a look and provide feedback.


Jason

  • Administrator
  • Hero Member
  • *****
    • Posts: 107
  • TinyCircuits Employee
    • View Profile
Your game seems to work fine for me. I can save it to Thumby and run it from the main menu.

This probably means your game's main file is not in a folder with the same name. In the editor use File -> Set Path and make sure the path to your game is exactly: /Games/AsteroidsClone/AsteroidsClone.py


PanduhBeer

  • Newbie
  • *
    • Posts: 4
    • View Profile
Thank you for your suggestion!  When I tried it, and failed, it occurred to me to try installing another game from the arcade.  That also failed to load on the hardware.  So I figured it might be some issue with the USB cable itself or the USB port.  Nope.  Then it dawned on me to hard reset the code editor and tried again.  No problem at all.  Everything is installing fine now.  I'm guessing there was some weird kind of corruption happening while transferring files to the hardware.  My only confusion now is in questioning why it wasn't causing any problems during fast execution of a game.  Anyways, thanks again for offering some advice!  I'd urge anyone else encountering such a problem to hard reset the editor after backing up their code and reinstalling the game if they can't figure out another solution.   ;D


Geditaidown

  • Newbie
  • *
    • Posts: 2
    • View Profile
Thank you for your suggestion!  When I tried it, and failed, it occurred to me to try installing another game from the arcade.  That also failed to load on the hardware.  So I figured it might be some issue with the USB cable itself or the USB port.  Nope.  Then it dawned on me to hard reset the  tiny fishing code editor and tried again.  No problem at all.  Everything is installing fine now.  I'm guessing there was some weird kind of corruption happening while transferring files to the hardware.  My only confusion now is in questioning why it wasn't causing any problems during fast execution of a game.  Anyways, thanks again for offering some advice!  I'd urge anyone else encountering such a problem to hard reset the editor after backing up their code and reinstalling the game if they can't figure out another solution.;D
Yes, I reset the editor after backing up their code and reinstalling the game and it works fine.


 

SMF spam blocked by CleanTalk