Gaming

Everything about game programming

Strange keyboard input issues with PDCurses/SDL

I've compiled an AmigaOS 4.x of a game engine I'm working on that uses PDCurses/SDL for the "graphics".

Don't know why but there are strange problems when I try to use the buttons on the numpad like:
1) numlock has to be set to off (instead of on) in order for keys to produce numbers
2) when numlock is off and pressing and releasing a numpad key it gets stuck until I press another key sending the input event over and over
3) not all numpad keys produce correct codes even with numlock off

The main input loop is pretty simple ATM and looks like this:

Forums: 

Need GUI coder for a game project

My Fighting Game Engine is soon finished to a playable state but making all the scripting is a
pain in the **s.
I could of course do an editor my self, but since I dont find that as fun as core game coding
and the fact that there is several GUI coders out there that do that better than me,
maybe we could help each other out.

Right now Im documenting the whole scripting system.
The supplied game with the engine is a Barbarian game.

The editor needs to read and generate text files.

Forums: 

Subscribe to RSS - Gaming