I managed to get my SWF files to play properly, it was actually remarkably simple once I realised the problem, however I am still having trouble with playing/stopping the animations, they seem to play on loop the whole time.
Getting the accelerometer working was rather simple after a little work, I spent well over a day wondering why my code wasn't working before I realised i had forgot to call the viewActivate at the top. However I wanted to trigger a scene by nudging duck along, rather than have him simply walk downhill like a passive character, so I added a little extra code that was triggered by the accelerometer but would continue moving after is started.
I found a really great soundtrack called Gymnopedie by Kevin Macleod, which is a really nice slow piano piece I think fits with the feeling I'm trying to convey. Getting it to play was relatively easy, again I had problems with getting the code to work but it turned out rather simple in the end.
Gymnopedie sourced from http://incompetech.com/music/royalty-free/
No comments:
Post a Comment