• entries
    437
  • comments
    1000
  • views
    335837

4E4 Update

Sign in to follow this  

86 views

I realised today that my simple buffered input system was't quite up to speed with what I needed. In order to get combos and hook up a Quake style console I needed the ability store sequenced input too. So now my system has evolved a little, I still have KeyState, MouseState and JoystickState systems for reading the devices, but they now have an overall InputManager class that stores a queue of events. The system can now be used for simple buffered input as well as an input event journal.

I'll be working on the Console class today.
Sign in to follow this  


6 Comments


Recommended Comments

Consoles are fun! That's always been one of my favorite parts of coding games and such.

How do you plan on dealing with variables and such. In my most recent console class, I had it set up so each cvar in the console is linked to a real variable (using an AddCvar function).. Etc.

Anyways yeah. If you want to look over my old console class and see if there's anything majorly wrong with it (aside from the lack of templates and proprer OO), I'd appreciate it :).

http://b0x.elitecoders.org/files/b0xc0n0.2src1105.rar

Thanks :)

(I'm sorry, I feel like I just whored your journal :x lol)

Share this comment


Link to comment
OMG JOURNAL WHORE!

Heh, just kidding. Actually, my game runs off the back of a GameMonkey Script virtual machine, so my console 'commands' are actually lines of script that are sent back to the VM and executed. Anything such as 'CVars' are actually bound to the respective script interface and can be accessed with the console.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now