This could be solved if I could detect a second button press, but all three environments (to my knowledge) only detect if a button is up or down, not when it's initially pressed again. Please correct me if I'm wrong, because that would solve everything.
Save the current ButtonState
At the end of your input checking make the oldButtonState = curButtonState
Then, at the entrance of the next input handling loop, just check if the old buttonstate had the button up, and the current buttonstate has the button down. This detects keypresses.
I was messing around with an entity that follows you around in the game, and just got it working so I decided to make a video of it.
The cube is supposed to emulate what happens in this video. I think I managed to capture it pretty well, of course adding sounds would make it better though.
The game is supposed to have a creepy vibe and this is the beginnings of that. I'd like to know if you thought it was a little creepy, and if not, what ruined it for you?
tl;dr Gimme feedback, was it even a little creepy?
Picture of a game me and a couple other people are working on for a class: http://i.imgur.com/uKZiN.jpg
It's called blind bottle return. You play a hobo that has sight issues, and the goal of the game is to return bottles.
WuTangTan ain't nothin' ta fuck with
Save the current ButtonState
At the end of your input checking make the oldButtonState = curButtonState
Then, at the entrance of the next input handling loop, just check if the old buttonstate had the button up, and the current buttonstate has the button down. This detects keypresses.
I was messing around with an entity that follows you around in the game, and just got it working so I decided to make a video of it.
The cube is supposed to emulate what happens in this video. I think I managed to capture it pretty well, of course adding sounds would make it better though.
The game is supposed to have a creepy vibe and this is the beginnings of that. I'd like to know if you thought it was a little creepy, and if not, what ruined it for you?
tl;dr Gimme feedback, was it even a little creepy?
Try C# with XNA. Easy to use, lots of tutorials and a good comunity.