Jump to content




[lua]Game not working


  • You cannot reply to this topic
3 replies to this topic

#1 ikke009

  • Members
  • 224 posts
  • LocationSliding between sunbeams

Posted 31 January 2013 - 11:38 PM

I'm working on a game in which you have to shoot baddies. It works fine untill you level up for the first time, pick a ship, and get into the next level, then it draws the headers and ship one time and it freezes.
I have no idea what's causing this, so if someone can look into my code and see what's up, I would very much appreciate it.
[[link has been snipped away :)]]
On a side note, since the code is nearly 1k lines long, I'll try to make it easier for you. I suspect the problem lies somewhere in one of the following functions
level1()
level2()
playerShipUpdate()
mainGame()

If the problem isn't clear, try running the program yourself, you should run into it soon enough.

#2 ikke009

  • Members
  • 224 posts
  • LocationSliding between sunbeams

Posted 01 February 2013 - 04:49 AM

Fixed it.. Turned out I missed my update timer while running other functions, so I had to start a new timer

#3 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 02 February 2013 - 10:32 AM

What is this "game" of yours?
Is there so we can test yet?

#4 ikke009

  • Members
  • 224 posts
  • LocationSliding between sunbeams

Posted 03 February 2013 - 05:47 AM

Im working on more content atm but im hoping to release it soon





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users