I'm trying to write a very simple cross platform game, and the issue I'm having is with keyboard input. Yes, I can use the form onkeydown/up events, but this results in a less-than-desired movement.. What I need is a way to check if a key is currently held down (Like the windows-specific GetKeyState), and I can simply put that in a loop or app idle and create the movement I desire.
In the process of creating this game, I've begun to create a very simplistic software-rendered 2D game engine which I'll release sometime in the future. -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20090912/d2d3d278/attachment.html>
