HTML 5 Canvas game programming

Started by
2 comments, last by shadowomf 11 years, 5 months ago
so i want to start testing the capabilities of the canvas element of html 5, i already got a couple books on the subject, but i like to code my own stuff, i quickly reached a point where i just had to post here asking for help.


so the thing is, im trying to code a game like Arkanoid, as i think its a game that will test the stuff i need tested on canvas.

so im going to assume you are familiar with Arkanoid games, and im going to show you the problem im having:

as you can see in this flash game:
http://www.2flashgames.com/fullscreen.php?id=4695.htm
the player bar movement is really sharp, it follows the mouse like immediately, no delay, almost no flickring.

in my attempt on canvas:
http://parkamoid.webatu.com/
it takes a small delay for the bar to reach the mouse position, i have tried a lot of stuff trying to fix the issue, but i just cant figure out the reason.


so any suggestions?
Advertisement
if you make the cursor invisible, the user wont feel the difference. it is the same with the flash game i think :)
i tried it already and it was even worse, i just hid the cursor, you should be able to test it now and see what i mean.
Doesn't work at all on my system. I see the blocks, but tere is no movement.
Browser is Seamonkey 2.12.2

Normally everthing works fine, including Canvas. Even WebGL.

This topic is closed to new replies.

Advertisement