Questions tagged [bounce]

Do not use this tag as it is ambiguous.

May be associated with

  • email: "unknown sender" or "action not permitted". See
  • graphics: to ricochet an item in a display field
308 questions
-2
votes
1 answer

How to stop my ball from bouncing in Y asis unity

I want to make a ball that bounces back from walls and hurdles but doesn't bounce in Y-axis. Is it possible I am currently applying force whenever the ball leaves the ground but it is not giving a realistic effect
-2
votes
1 answer

Ball sometimes bounces sometimes doesn't

This code makes the ball bounce around the canvas: //advance the ball ball.advance(); //check if ball should bounce off canvas sides if (ball.getCenterX() + ball.getRadius() > canvas.getWidth()) ball.setDirectionX(LEFT); if (ball.getCenterX() -…
-2
votes
5 answers

Why do insurance and banking domains send bot traffic to my site?

I know how to detect and filter bot traffic, but I'm wondering if anyone knows why I am seeing tons of bot traffic from insurance and banking domains? E.g., bankofamerica.com, allstate.com and others are hitting my site upwards of 100 times per day.…
Michelle
  • 7
  • 4
-2
votes
1 answer

JApplet creates a ball that bounces and gets progressively less high in Java

public class Circle extends JApplet { public void paint(Graphics g) { int x=100; int y=100; int diameter=50; int xResize=500; int yResize=500; super.paint(g); …
-2
votes
1 answer

How to make the picture bounce left and right?

I don't really understand where in the code that makes the character bounce to the right side and not countinue. public void exercise1e() { PaintWindow pw = new PaintWindow(); Random rand = new Random(); ImageIcon image = new…
-3
votes
1 answer

2D Bouncing Ball

Hello I am following a tutorial for a air hockey game and how do i make it so when the ball comes in contact with the barrier it bounces no matter how hard i hit it it bounces off. Since i am currently using bouncing 2d physics i need to apply…
-3
votes
1 answer

make Ball bounce off object edges in C

I am trying to make a ball bounce off the edges of a rectangular shaped paddle, what I have done so far, is making the ball bounce off the top edge of the paddle. But whenever the ball touches any other side (right or left), it gets stuck within the…
Yamen Tawk
  • 67
  • 3
  • 10
-3
votes
1 answer

HTML Bounce effect

I have this HTML Code: Untitled Document