We were special guest at the 2009 Adobe Max Russel Brown's Photoshop Pre Conference-Conference and we wrote a game during the session where the attendees could swap in their images for the images in this game.
I am uploading the zip file and hopefully it is self explanatory and you can see how easy it is to create games and do animations in just a few lines of code.
Carlos
swing the word to cut the watermelon
Well I get that, but *how* do I swing the sword? I've been clicking and dragging all over the screen and nothing is happening.
I can't get it to work also!
There was an API change in the last release -- localToScreen() changed to localToContent() -- that was causing it to fail. I posted an updated version with that change. http://developer.anscamobile.com/assets/samurai.zip
Thanks for the report.
Tim
p.s.
Hmm, I guess localToScreen() was undocumented. So hopefully there shouldn't be much risk of this change breaking other people's code. :-\
Thanks Tim.
How does this game fare with memory losses? I do not see any removeSelf() to destroy all object- I am a new to the SDk and trying to learn from examples and keep memory leaks to a minimum.
@savio : objects get deleted when not referenced via our garbage collector
does not work ,would u please upload the correct one ,
than u
I cant get this to work, can someone point me to correct download ?
Hi everybody :)
I have fixed the problems, so here is the working game:
Double post - sorry :(
What are the controls? I'd love to test this out, but I can't tell what you're supposed to do.