Monogame - Input secuence game (Scripting?)

Posted by user2662567 on Game Development See other posts from Game Development or by user2662567
Published on 2013-10-17T13:46:34Z Indexed on 2013/10/17 16:26 UTC
Read the original article Hit count: 340

Filed under:
|
|

I'm starting to program my very first game, it's a clone of DDR/Stepmania done for research purposes and learning.

I (at this early stage) get most of the UI/Music/input work that should be done, but what i still can't grasp is scripting, i've read about Lua and that you shouldn't use it with XNA/Monogame as C# is capable enough, but i cannot get the utility of it.

Assuming the needs of my game, ¿What would be the ideal way to implement the input secuences it needs?, i thought of XML/Json, let's say Stage 1

<game>
 <level id="1">
  <step id="1" key="up" time="00:00:01"/>
  <step id="2" key="left" time="00:00:02"/>
 </level>
</game>

Is that a correct implementation? or are there better ways with more benefits?

© Game Development or respective owner

Related posts about XNA

Related posts about monogame