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

Bounce bubbles from each other (Processing)

I'm working on a processing project for school. The idea is to have a variable amount of bubbles that bounce off each other and turn their color (value) on each click. It's the foundation of a one-devicve-multiplayergame. So i've got…
tafelrunde
  • 128
  • 2
  • 13
2
votes
3 answers

2D Gaming - How to reflect a ball off the bat?

I am pretty new to XNA & game dev and stuck at ball reflection. My ball is reflecting once it hits the bat, but only in one angle, no matter which angle the bat is at. Here's the code: if (BallRect.Intersects(BatRect)) { Vector2…
sid
  • 21
  • 2
2
votes
1 answer

Brickbreaker clone, ball brick collision and ball behavior on brick collision

I started learning c# monogame a few weeks ago and i wanted to start a project. The project I choose is a brickbreaker clone and everything goes well. But I stumbled on something that I have spent hours looking on google for without a answer. The…
Basecrosser
  • 68
  • 1
  • 8
2
votes
2 answers

SKSpriteNode bouncing when it shouldn't

I'm developing a 2D game with the new API Sprite Kit. The problem is that although setting the restitution of a sprite node to 0, it bounces a little bit. How can I totally disable the bouncing?
Marti Serra Vivancos
  • 1,195
  • 5
  • 17
  • 33
2
votes
1 answer

UICollectionView sporadically crashes when NSTimer triggers reloadData and bouncing is enabled in iOS 7 on iPad

Am I doing something wrong or there is a problem with the system? Very simple demo: https://github.com/IgorTavcar/UICollectionViewBug. Here is a collection view and a periodic trigger, started by - (void)viewDidAppear:(BOOL)animated { self.timer…
orthodog
  • 71
  • 2
2
votes
1 answer

Bouncing balls in canvas showing weird behaviour when more than two balls are created

The following is my script part which i edited from an online tutorial , if I have two balls it is working fine , but if have have more than 2 balls it is not working as desired script.js var context; var x=0;var y=0;var dx=3;var dy=7; var…
user2728203
2
votes
1 answer

UIButton to make UIScrollView bounce

I have a horizontal UIScrollView with paging. There are two buttons. One scrolls scrollView to the left another to the right. The code for the left one: - (IBAction)goLeftAction:(id)sender { CGFloat pageWidth = _theScrollView.frame.size.width; …
AlexanderZ
  • 2,128
  • 3
  • 20
  • 24
2
votes
2 answers

Is there a way creating a slide down bounce effect?

I want to create an div, which slides down, when the page is loaded with a bounce-effect. $(document).ready(function(){ $('#viewport').slideDown({duration: 1000, easing: method, complete: callback}); }); I think, I am really close to the…
Lumoris
  • 29
  • 2
  • 7
2
votes
1 answer

jQuery UI Bounce (double image)

First time posting here so do forgive me if I have any markup issues. I'm not used to the SOF framework for writing posts. I'm trying to make some social icons bounce on my site on hover. I grabbed the code over from jQuery UI to test it out and…
Exhausted
  • 179
  • 2
  • 5
  • 19
2
votes
1 answer

JQuery bounce is jumping out of place?

I'm trying to use the jQuery UI bounce effect on a button positioned with css "left" on mouseover. It seems to work, however if you mouse over back and forth over it a few times it moves out of place and sticks to the left. I'm not really sure why…
Epik
  • 3,327
  • 4
  • 17
  • 23
2
votes
2 answers

android VIewpager How to achieve the bound effect

I google the question many days. Find a solution which is add a blank View int the first and end of Viewpager. when viewpager.getcurrentItem()==0,then rePoint to 1. In my opinion this approach is very poor。 Because, this solution change the…
Tony
  • 172
  • 3
  • 11
2
votes
1 answer

Stop bouncing at start/end of webpage (OS X)

When I scroll when I'm at the start or end of a webpage I get a bounce effect (only on OS X), but that's not the case on for example www.icloud.com/ Is there a code to "turn this off" for my website like on the iCloud site?
2
votes
2 answers

Jquery bounce and zoom animation

Hey all i have this code here on jsfiddle: http://jsfiddle.net/d7UjD/6/ I have 2 problems with it: 1) I need a way to use the animation stop() so that if you rapidly run the mouse over the image lots of times it doesn't continue to play and…
StealthRT
  • 10,108
  • 40
  • 183
  • 342
2
votes
1 answer

Redirecting users from Moodle to another site when login fails

I've written a custom plugin that allows for url login. Users entering my Moodle site this way, all come from the same external site and can be identified based on the url. When their login fails, I would like to redirect them back to a "login…
Joe Maloney
  • 33
  • 1
  • 3
1
vote
1 answer

ERROR: expected identifier or '(' in xcode ios 5

xcode 4.2 ios 5 single view template I am very new to this ios format and these new features in xcode Here is all of my code: #import "SimpleGame2ViewController.h" #define kStateRunning 1 #define kStateGameOver 2 #define kLeftDown 1 #define…
mattblessed
  • 772
  • 1
  • 12
  • 27