Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rocket Boy
#1
I just started writing some code for a game, was thinking about something Defender like but with a boy using a jet pack. But I discovered something weird (atleast on Linux).

You move left and right with the corresponding arrow keys and hold up to use the jet pack. You shoot with spacebar. If I hold left and up (to fly up left) and press spacebar while still holding the other buttons, spacebar doesn't register. Does this happen for anyone else? Is there a difference between Windows and Linux, or is it perhaps a limitation on my keyboard? If I press spacebar first and then up and left, it works as it should.

Sorry for the graphics.


Attached Files
.zip   rocket_boy.zip (Size: 13.16 KB / Downloads: 11)
Reply
#2
Then I found this post: https://superuser.com/questions/420737/u...ot-working

How annoying. Up, right and spacebar works and any other combination, but not up, left and spacebar :/
Reply
#3
Hi.......how annoying/strange. Seems that the article is correct and it depends on the keyboard used - the key combination works fine on my Linux installation on an old Toshiba laptop, but not on a Windows installation on a Dell laptop (using 1.0.2). A combination to avoid.....
Reply
#4
It also happens on my HP Pavillion, after converting to Windows mode.
Reply
#5
Alright, not just me then Smile But I don't think it's a bug in naalaa, found more posts about similar issues. I'll just use some different keys.

Thanks for testing and reporting!
Reply
#6
I just tested it on my Windows laptop and noticed that there are still # issues for the min and max functions. Sorry about that, I'll patch it, also need to update Keycodes library for Windows.
Reply
#7
I got some free time and continued working on this game. The zip in the first post has been updated.

There are four types of enemies so far. You can shoot them, but they can't hurt you, nor can their bullets. There's absolutely no point in playing the "game" yet. When all predefined waves of enemies have appeared nothing more happens.
Reply
#8
Just the way I like it.... Not getting killed off within the first 2 minutes!! Woo Hoo!! Big Grin

J
Reply
#9
Nice game.
Reply
#10
Tongue 
Hi everyone

Testing Rocket Boy in NaaLaa 6 (windows version).

Where is the key for shooting ?[Image: sad.png]

If you press "space" many times in the beggining of game your health will go beserk and you will get "eternal" life in game. [Image: smile.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)