01-18-2015, 09:57 PM
Personally I think a script might be more sensible with an array, but if you're inexperienced in such, it's probably way over your head. :v;;
Actually on the event format, maybe it would be simpler to just have one variable per step, which instead stores the direction of movement. If your intention specifically is to store the path a player takes to recreate it in an event, you want to remember where the player started, and which direction they moved.
If you stored each step's X/Y, it would be more difficult to recreate, because you'd have to work out how to move to each co-ordinate from the current co-ordiante.
* * *
I've been implementing armour into my game~. I designed them in a text file a while back, determined if the element bonuses were balanced (too many items resist/weak one element, etc), rebalanced stats, and only now I'm putting them into the database.
Actually on the event format, maybe it would be simpler to just have one variable per step, which instead stores the direction of movement. If your intention specifically is to store the path a player takes to recreate it in an event, you want to remember where the player started, and which direction they moved.
If you stored each step's X/Y, it would be more difficult to recreate, because you'd have to work out how to move to each co-ordinate from the current co-ordiante.
* * *
I've been implementing armour into my game~. I designed them in a text file a while back, determined if the element bonuses were balanced (too many items resist/weak one element, etc), rebalanced stats, and only now I'm putting them into the database.