Sign in to follow this  
sohardsohumble

Question/Advice/Issue with pong game (Thank you!)

Recommended Posts

Hello all,

 

I'm new here and I am just getting into game development. I created a pong game from scratch (The file and code is attached).

 

The game works and I'm happy with it, except for one little glitch that it has. Sometimes when the ball hits a wall or one of the paddles, it will stick for a moment in time before bouncing away. I know that it has something to do with the way I update the balls location using the variable time. I used this because I followed a quick tutorial for the game loop.

 

Just wondering if someone with more experience could shed some light on this issue and how to get rid of it.

 

Thanks in advance for any help!!!

 

David

test.html

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.