[quote="R0J0hound":2zmm51yy]Here's an example for an 8 direction grid movement:
made in 0.99.94
I haven't used XAudio2 much but autoplay works fine the first time with any other wav file I've used. For a fix for that particular file throw in an event like this:
[code:2zmm51yy]+ System: TickCount Lower than 3
-> XAudio2: Autoplay file "C:\Documents and Settings\Rhino\My Documents\Downloads\Amaranthine\Amaranthine\Sounds\tick.wav" (No loop)[/code:2zmm51yy]
and the tick will play the first time you hit a key.
In the last problem the reason it's not working is arrays are 1 based. (1,0,0) doesn't exist so no value is getting set, change it to (1,1,1).
Wow, thanks! : D
edit: I can't seem to get the array's 1,1,1 to appear in debug, no matter what I set the array's dimensions to, debug shows it as having 1,0,0 through 10,0,0
edit2: I got it working just fine with an array saving as a .dat, only a temp fix though, I'd rather things like resolution be editable in the ini so players don't accidently lock themselves out with unplayable settings.