Click here to Skip to main content
15,848,905 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working on a tutorial part for my game for moves.

Each move requires 1 or more keyboard keys to be pressed.
Once the move is pressed, the next move to be pressed is displayed on the screen.

How do I go about creating predefined lists of these and cycle through them based on whether last one is correctly input? (I've got a few pretty long sequences... should I code them in XML, etc? It's a game based on combo sequences. How about creating some type of system for it?


Any advice or advice on a good tutorial would be much appreciated!

Thanks!
Posted

1 solution


Take a look at the XNA Creators Club Samples there is a project which already does exactly what you have described...


As I mentioned previously there is actually an XNA Sample named 'Input Sequence Sample' which can be found in the education samples catalog made available to developers on the XNA Creators Club Website.
The Input Sequence Sample project page provides complete details about the sample including links to all of the currently available downloadable code samples, is currently located at:


Input Sequence Sample: http://xbox.create.msdn.com/education/catalog/sample/input_sequence_sample[^]



NOTE REGARDING VALIDITY OF PROVIDED LINKS:


This link has been verified as being 100% valid and checked to ensure that it links to a current valid, active and available online resource (*correct at the time of posting)

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900