Author Topic: Getkey Routine  (Read 7410 times)

0 Members and 2 Guests are viewing this topic.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Getkey Routine
« Reply #15 on: July 11, 2011, 08:18:49 pm »
Ah! Now it works better!
But there a new problem  :-\
If I go up or left, I'm on the other side...
Do you understand me?  :P

Oh sorry, I found the problem and corrected it. I needed to check if the position became negative one before performing the min function. Check the code again, hopefully it should work now.

Offline GreenFreak

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 191
  • Rating: +16/-1
    • View Profile
Re: Getkey Routine
« Reply #16 on: July 12, 2011, 07:05:56 am »
Works great :D
Thanks Runer ;)