Author Topic: [Nspire] Pixel Escape -- a copter-like game written in Lua  (Read 23805 times)

0 Members and 2 Guests are viewing this topic.

Offline hoffa

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 322
  • Rating: +131/-13
    • View Profile
Re: [Nspire] Pixel Escape -- a copter-like game written in Lua
« Reply #30 on: June 13, 2011, 02:59:49 pm »
EDIT: Bug report, I can only press the up arrow once. If I release the key, afterward it never detects anymore arrow key holding down again so after my first jump I fall down and die, no matter if I keep the up arrow pressed. ???
You mean when holding the key down? If yes, well then it hasn't got much to do with the program itself, but rather the way the whole OS has been made (or whatever that deals with the key presses). It only starts sending the key signals while you hold the button down after a short delay, and there is, as far as I know, no practical and accurate way of knowing when the button is held down. The controls should be quite sensitive, so just try to get used to pressing the button rather than holding it down (at least until I find a nice way to deal with the issue).
« Last Edit: June 13, 2011, 03:03:02 pm by hoffa »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [Nspire] Pixel Escape -- a copter-like game written in Lua
« Reply #31 on: June 13, 2011, 03:08:07 pm »
Ah ok good.

What about the bug mentionned in my post edit above? (up arrow no longer responds after releasing it the first time). Basically the farthest I can even go is about 20 points or so, because after I moved up once, I can no longer do so again because the game no longer responds to my keypresses.

ActuallY nevemind, I just realized we still had to spam the up arrow to stay somewhat up. Holding it down is less responsive x.x
« Last Edit: June 13, 2011, 03:24:32 pm by DJ_O »

Offline hoffa

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 322
  • Rating: +131/-13
    • View Profile
Re: [Nspire] Pixel Escape -- a copter-like game written in Lua
« Reply #32 on: June 13, 2011, 03:32:15 pm »
Ah ok good.

What about the bug mentionned in my post edit above? (up arrow no longer responds after releasing it the first time). Basically the farthest I can even go is about 20 points or so, because after I moved up once, I can no longer do so again because the game no longer responds to my keypresses.

ActuallY nevemind, I just realized we still had to spam the up arrow to stay somewhat up. Holding it down is less responsive x.x
I somehow feel that you didn't notice my previous message. :*

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [Nspire] Pixel Escape -- a copter-like game written in Lua
« Reply #33 on: June 13, 2011, 03:48:34 pm »
You double posted? O.O

But yeah I didn,t notice it, as I didn't see any edit in your other post x.x (and double-posting within 6 hours of the last post is normally not allowed :P).

Thanks for the advice, though. I decided to just mash the key over and over, since it's easier that way. By the way I love the game :D. I planned posting a news soon, but I was busy trying two other calc games as well, which kinda slowed me down, not to mention yesterday I worked 12 hours in a row and had two other news to post X.x

Offline Kjelddy

  • LV3 Member (Next: 100)
  • ***
  • Posts: 80
  • Rating: +2/-1
    • View Profile
Re: [Nspire] Pixel Escape -- a copter-like game written in Lua
« Reply #34 on: June 13, 2011, 04:32:01 pm »
by me the saving of the highscore still doesn't work... I am not if i am doing something wrong or if its the calculator(CX) or the game itself.
I think I got the right version but I will check it out tommorow
KJ
in need of omnoms ? check this out :P
http://img.removedfromgame.com/imgs/0-omnom.png

Offline hoffa

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 322
  • Rating: +131/-13
    • View Profile
Re: [Nspire] Pixel Escape -- a copter-like game written in Lua
« Reply #35 on: June 13, 2011, 04:40:25 pm »
You double posted? O.O

But yeah I didn,t notice it, as I didn't see any edit in your other post x.x (and double-posting within 6 hours of the last post is normally not allowed :P).

Thanks for the advice, though. I decided to just mash the key over and over, since it's easier that way. By the way I love the game :D. I planned posting a news soon, but I was busy trying two other calc games as well, which kinda slowed me down, not to mention yesterday I worked 12 hours in a row and had two other news to post X.x
Yeah, sorry my bad. Won't happen again. :)

by me the saving of the highscore still doesn't work... I am not if i am doing something wrong or if its the calculator(CX) or the game itself.
Try quitting the document using Ctrl + W (which is actually the way you really quit a document), it should then ask to save it.
« Last Edit: June 13, 2011, 04:40:41 pm by hoffa »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [Nspire] Pixel Escape -- a copter-like game written in Lua
« Reply #36 on: June 13, 2011, 05:13:56 pm »
I didn't even know how to quit a document, lol. I just pressed HOME then menu when I selected the document, to close it, or simply ran another.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: [Nspire] Pixel Escape -- a copter-like game written in Lua
« Reply #37 on: June 14, 2011, 02:57:23 am »
Hoffa, I just tried this game and I have to say it's awesome, the best game for Lua I've ever seen. It's not just the gameplay, which is cool, but it's also the design, the design of this game is great, the title screen, the instructions, score, highscore, the pixel, everything looks perfectly designed.

Very nice job!

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: [Nspire] Pixel Escape -- a copter-like game written in Lua
« Reply #38 on: June 14, 2011, 01:19:01 pm »
:thumbsup:
Brings back fond memories of Cave for 83/84 calcs.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: [Nspire] Pixel Escape -- a copter-like game written in Lua
« Reply #39 on: June 14, 2011, 05:42:55 pm »
hoffa, could you release the source please? I'd be delighted.

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: [Nspire] Pixel Escape -- a copter-like game written in Lua
« Reply #40 on: June 15, 2011, 04:39:59 am »
I just tried it, and I must say its pretty epic!

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: [Nspire] Pixel Escape -- a copter-like game written in Lua
« Reply #41 on: June 16, 2011, 10:43:42 am »
This game is cool. I dont have a nSpire to try, though...
I'm not a nerd but I pretend:

Offline hoffa

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 322
  • Rating: +131/-13
    • View Profile
Re: [Nspire] Pixel Escape -- a copter-like game written in Lua
« Reply #42 on: June 16, 2011, 12:54:28 pm »
hoffa, could you release the source please? I'd be delighted.
Sorry, didn't notice your message. Sure I will. I also updated the game, so it's up to 0.9 now (fine-tuned the settings some more, made the ranks realistically achievable, now the high score is saved as soon as the pixel hits a wall, added a small readme.txt file). I edited my first post, the new download link is on the website. I also released the source code, as you wished. :)

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: [Nspire] Pixel Escape -- a copter-like game written in Lua
« Reply #43 on: June 16, 2011, 12:56:08 pm »
hoffa, could you release the source please? I'd be delighted.
Sorry, didn't notice your message. Sure I will. I also updated the game, so it's up to 0.9 now (fine-tuned the settings some more, made the ranks realistically achievable, now the high score is saved as soon as the pixel hits a wall, added a small readme.txt file). I edited my first post, the new download link is on the website. I also released the source code, as you wished. :)

Looking great thanks a lot, time to fork it! :P

Offline hoffa

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 322
  • Rating: +131/-13
    • View Profile
Re: [Nspire] Pixel Escape -- a copter-like game written in Lua
« Reply #44 on: June 16, 2011, 02:51:41 pm »
This was quick, but it's going 1.0 now. I fixed a small bug in the title screen (pressing the up arrow in the menu would make the "pixel" in the game change position) that Scout pointed out. The dot is now controlled using either tab or enter (which also means that doing sharp rises when both are pressed is possible), because the arrow key is useless. I initially wanted the player to be able to hold the key, but because the way the OS deals with key signals is crap, it has no advantage. After all tab or enter are also more comfortable and precise. Now the player can return to the title screen at any moment by pressing ctrl + menu. I made some other minor changes and slightly changed the code. This way I have a stable and clean version to work on later. The new download links are on the website.
« Last Edit: June 16, 2011, 02:52:04 pm by hoffa »