x
being used to call eXtra functions such as spawning new game objects, triggering sound effects and the like should be replaced by X
. Tracking that in all the command files won't be trivial, though.It could be tempting to use
S
(for score) as a function since we have i(ncrement counter) and d(ecrement counter), but unlike game counters, the score cannot be read again. It's more a side effect to change it than really some functional extension to the core arithmetics.So where should "roll a dice to get a random number" go ? likely
r
. What should be used to "get/set game state bit %n". That could be g
and s
. Pretty handy map.OP_ROLL
, and that was partly because I had no clear idea of what implementation to pick. Here is the one from Tetris, according to some gamedev talk. What is good for Tetris is good for me.
No comments:
Post a Comment