Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualXeinnex

Posted 02 November 2012 - 04:08 AM

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?

#1Xeinnex

Posted 02 November 2012 - 04:04 AM

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?

PARTNERS