Tag Info

New answers tagged

0

Thanks for the help. I solved my own problem. it seems that a simpler way to put it would have to place the game on another html page and then embed it with an iFrame tag! like <iframe src="game.html" height="550" width="800">game not available</iframe> And the text "game not available" is a displayed text when the iFrame fails no embed the ...


-1

If you're looking at something free for now, try the MightyEditor http://mightyfingers.com/editor-features/ Cheers!


0

You can use ctx.translate(dx,dy) to scroll the camera. Alternatively, have a camera object with x,y coordinates, and when drawing game objects, draw at object.x - camera.x.


0

Seems like this is a issue with most game developers. Similar issue "I'be often heard that phonegap wasn't the best choice when wanting to make canvas game. It's more adapted to web app to native." It seems to be rendering issue capabilities for android phones. There are some engines that can not handle more sprites rendering. I know 10 objects are easy to ...


0

From your code : if (keydown.right) { if (player.frame != 4) player.frame = 4; else player.frame = 8; player.direction = 'E'; player.x += 3; player.color = "blue"; } I can tell that the images are switched every update as long as the key is down. There are all kinds of ways you ...



Top 50 recent answers are included