Sign in to follow this  

Recording moves from your player in game?

This topic is 3846 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm making a game and was wondering how I could make the computer record what the player's action was in a matrix I'm guessing. Like the idea of my game is recording the player's action and spitting them back out, and I'm guessing doing this through a Matrix, but I'm using Java, so I'm a little stuck on how to start this recording actions of the player. Any comments are welcomed. Thanks,

Share this post


Link to post
Share on other sites
It really depends on the type of game.

I mean, if you were writing a fighter of some sort, you would record every button press, but if you were writing a racing game, you wouldn't want to have long periods where all that was pressed was the accelerator, so you might decide to write changes in the accelerator.

Like, instead of every single entry from 3 seconds to 8 seconds to be just the accelerator, just have "3 seconds: accl press, 8 seconds: accl release"

So it really depends on the type of game, and how much input on average you would need to record.

Share this post


Link to post
Share on other sites

This topic is 3846 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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

Sign in to follow this