Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Terminal Emulation with Slick2D

$
0
0
Ok, so I realize that the description may be a little misleading... So let me expand just a little:

I'm presenting the user with what looks like a terminal interface. At the bottom is the "Input" Section. I want to grab the keys pressed, as well as display them on screen (in the correct position). I realize this will be taking each key on a "char" basis, so then I will need to combine them into a string to be read as a command.

So should I be using Slick2D's isKeyPressed functions? Or is there an easier method... I feel like this shouldn't be hard at all.

I tried to upload a screenshot, but apparently that's just not going to happen....(server returned an error)

Viewing all articles
Browse latest Browse all 51036

Trending Articles