Hi again, I've been checking the suggestions and they are all very informative, but I am still somewhat stuck. I was a bit unclear formulating my question - but thanks anyway for your previous answers. Ok, so what I want to do is: make pygame play a song, and while it is playing, record my keystrokes (so instead of having a program deciding what to press when, I will do it). Then I want to be able to playback my keypresses so the player has to be repeat them when playing. So I guess I am aiming at some kind of level editor for rhythm games, maybe?
But looking at your examples, I have another doubt: what if I want to tie specific input to a specific event in the game, and measure how precise that input was, to give points? For example, I trigger an animation based on random numbers - that animation has a number of stages: depending on which stage the player provides the required input, they are rewarded with points. Does this make any sense? (I am thinking typing-rhythm games here, of course :) Sorry for being a pest, and thanks for the help! M On 3/12/08, Miguel Sicart <[EMAIL PROTECTED]> wrote: > > That's great people, thanks a lot!! > > M > > On 3/12/08, Luke Paireepinart <[EMAIL PROTECTED]> wrote: > > > > Wayne Koorts wrote: > > >> I have a question about timing - I want to make a little game based > > on > > >> rhythm input, a bit like dance dance revolution, patapon, or similar. > > The > > >> idea is that the player has to press a key within a specific time, > > getting > > >> more points the better the timing. And I have little idea how to do > > it. > > >> I am thinking creating uservents, and the matching them to key input, > > but I > > >> am a bit clueless about the timing thing. Any help is welcome! > > >> > > > > > > Have a look at PyDance: > > > > > > http://icculus.org/pyddr/ > > > > > > It's GPL so you can look under the hood. > > > > > > Frets on Fire and StepMania are both open-source too. I believe at > > least parts of frets on fire are Python, but I'm pretty sure StepMania > > isn't. FoF is a guitar hero simulator, by the way. > > > > >