Moving a pic in gamejs

24 views
Skip to first unread message

James Watt

unread,
Oct 30, 2012, 8:25:29 AM10/30/12
to gam...@googlegroups.com
Hello guys!

I have a unit (picture) BLIT on my map which is BLIT too.
How can I move my unit picture on the map let say in +x direction for distance of 10px for 1 second (constant speed)?

Vladimir

si...@nekapuzer.at

unread,
Oct 30, 2012, 8:44:13 AM10/30/12
to gam...@googlegroups.com
Hi Vladimir,
did you try the examples, which ship with gamejs? the "sprite" example moves Sprites around... not sure
what else to tell you :)

simon
Reply all
Reply to author
Forward
0 new messages