2016-05-04 22:50:59

Hey everyone.
So I've been fiddling with BGT and I have a question. In the memory train example game, there's a method it uses so that if you press an arrow really fast, it plays the sound just as quickly as you press it. It goes as follows:

https://www.dropbox.com/s/wo7gatkrjr9ov … t.txt?dl=0

I'm trying to make a side scroller. I'm wanting to do the same thing, accept I don't want to order my sounds in an array. I'm having trouble setting up the method to do this. Here's what I have:

https://www.dropbox.com/s/973g41170yfgu … r.bgt?dl=0

I think it's because I'm using a string, but I've tried changing it to sound, but with no luck. Any help would be appreciated. Also, would you guys mind if whenever I had a question, to just post it in here instead of creating a new topic every time? Thanks.