Guest FirefoxRocks Posted April 26, 2011 Share Posted April 26, 2011 How do I go about doing something like this in HTML5/JS Canvas?http://www.actionscript.org/resources/arti...ment/Page1.htmlRight now I can make it so that when you press the arrow keys you move a rectangle around the canvas but that's not how a car drives...I can't seem to figure out how to rotate a shape, like how they do in ActionScript with the _rotation property. I tried the ctx.rotate(angle) function but that rotated the entire canvas and I'm not sure if that's what I want. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.