Page 1 of 1

rts movement zoom and automatic shooting

Posted: Sat Sep 21, 2013 12:18 pm
by sjevadoraa
good stuff here rts like mouse interactions zoom unit selection attacking and unit building

http://icecreamyou.github.io/HTML5-Canv ... uide/mouse

and here the working version it self
http://icecreamyou.github.io/HTML5-Canv ... s/cnc.html

i fount this on browsing maybe this is useful

Re: rts movement zoom and automatic shooting

Posted: Sat Sep 21, 2013 5:45 pm
by OldRod
LOL, that is awesome!

I am working on a strategy game at the moment - this code will be useful :)

Re: rts movement zoom and automatic shooting

Posted: Sat Sep 21, 2013 5:48 pm
by Ark
Those are useful links, thanks for sharing!

Re: rts movement zoom and automatic shooting

Posted: Sun Sep 22, 2013 12:49 pm
by sjevadoraa
it got almost everything in it for a rts game only missing are build buildings, ai control and pathfinding