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
5
votes
1 answer

SKPhysicsBody ball won't bounce if impulse is too small

I have an infinitely bouncing ball simulation that works properly. The ball bounces around the screen borders forever. One minor problem though is that if the starting impulse is too small the ball never bounces to begin with. I experimented and…
shwick
  • 4,277
  • 6
  • 21
  • 28
5
votes
1 answer

Recreate bounce easing with spring easing

Looking through velocity.js changelog I read: ... 2) The back, bounce, and elastic easings have been removed. Use spring physics instead. ... I was wondering if there is any simple way to recreate the easeOutBounce effect that is available with…
easwee
  • 15,757
  • 24
  • 60
  • 83
5
votes
1 answer

How to set up my iOS storyboard to bounce like Instagram Stream?

I am building an app with a stream of social content and am trying to get the behavior of how instagram does it's stream in app. So basically a top header that scrolls off the screen but bounces between that and the content. I can make the top…
Michael Bailey
  • 411
  • 5
  • 13
5
votes
1 answer

JQuery UI bounce effect - bounce only once on entering div

I have a div that I want to bounce once, when the mouse enters/hovers over the div. The code I have works in Chrome, but not in Firefox or IE. http://jsfiddle.net/d7UjD/73/ In Chrome it bounces once as desired but in FF and IE the bouncing goes on…
Kate R
  • 317
  • 4
  • 13
4
votes
1 answer

UIScrollView bounces a little after decelerating

I have scrollView with pagingScrollView.pagingEnabled = YES;. After flicking to next page the scrollView bounces a little after decelerating, here is my log origin.x change with comments: 2010-11-03 12:53:09.187 app[84864:207]…
negersiu
  • 552
  • 3
  • 20
4
votes
2 answers

Colliding with top and bottom but not the sides? (iOS 8)

I made this simple effect of a ball bouncing off the screen. It only works with the top and bottom edges but I don't know why. Besides, when I try this code in an iOS 7 SpriteKit template in the initwithsize method it works. Is this a bug or…
4
votes
1 answer

android view animation zoom in and out with bounce

I have a circular image button that I would like to animate in the following manner, zoom the button to 1.5 times its size quickly and then zoom it out with a bouncy effect. For this I am trying to create an animation set with 2 scale animations in…
Bootstrapper
  • 1,089
  • 3
  • 14
  • 33
4
votes
1 answer

Android animation: bouncing button like on mac

If i open an application on a mac os x the app button is bouncing like a ball, high up and then 2x not so high and same again. Can this be done using an bouncing animation or some other kind of animation? The Button should like like to jump to the…
Juwei
  • 261
  • 2
  • 13
4
votes
1 answer

UIPageViewController with multiple views and bouncing

I have a UIPageViewController embedded in a ContainerView. I have three views for this UIPageViewController: First is green, second is orange, third is blue. If I'm on first screen and want to go left, there is a bouncing effect. Same for last…
Noé Malzieu
  • 2,530
  • 3
  • 22
  • 27
4
votes
1 answer

Prevent elastic scrolling in ipad/iphone safari, but allow content scroll

I want to disable the bounce effect(elastic scrolling) ipad/iphone safari browser. And tried using preventing default on touchmove but that is preventing the whole scrolling. I want to be able to scroll the content but just prevent the bounce. My…
anwith.ct
  • 663
  • 8
  • 22
3
votes
1 answer

Jquery bounce image

I implemented this code to several websites about a year ago, but lately it hasn't been working. In Jsfiddle I figured out it still works with jQuery 1.4 but not with later versions. Does anyone know what broke it after jquery upgrades? /*---Start…
inTOWN
  • 1,000
  • 1
  • 7
  • 19
3
votes
9 answers

Bouncing ball not conforming to Conservation of Energy Rule

I am currently busy on writing a small ball physics engine for my programming course in Win32 API and c++. I have finished the GDI backbuffer renderer and the whole GUI (couple of more things to adjust) but i am very near to completion. The only big…
Rik Nauta
3
votes
3 answers

opygame: trying to bouce a ball, but it gets stuck

import pygame Red = 255, 0, 0 Black= 0,0,0 rectXpos = 2 rectypos = 2 speed = 2 screenedgex = 500 pygame.init() window = pygame.display.set_mode(size=(500, 500)) clock = pygame.time.Clock() running = True while running: for event in…
d goudeau
  • 31
  • 3
3
votes
1 answer

Is there a way for me to make the circle bounce off the top of the movable object?

Essentially i just want some guidance on how to make the circle bounce off the movable object. Im having trouble and have been trying for three hours and thus have turned to forums for assistance. I have attempted multiple 'if' statements but…
3
votes
2 answers

Angle Reflexion for bouncing ball in a circle

I am making a game with some bouncing elements IN a circle (I use pygame) , My elements have 2 attributes , one for the angle and one for the speed Here is how elements moves : mvx = math.sin(self.angle) * self.speed mvy = -math.cos(self.angle) *…
Starbuzz6
  • 33
  • 4
1 2
3
20 21