Friday Discount - Lifetime Access for $20!!!! - Click Here!

Flipper Settings in the Pinball Games iOS and tvOS Starter Kit

Flipper Settings in the Pinball Games iOS and tvOS Starter Kit

Flippers don’t have many properties, but the ones they do have are important. In the screenshot below, you can see that inside the Flippers dictionary we have dictionaries for the three flippers in the demo project: WallFlipper, FlipperLeft, and FlipperRight

Flipper Settings in the Pinball Games iOS and tvOS Starter Kit

These dictionary names should match exactly the names of flippers in your table scene. You can have as many flippers as you want, just name them and be sure the Custom Class is set to Flipper. See the image below for reference.

Custom Class field in Xcode 7

Watch a Detailed Video on How to Setup Flippers in the Scene

If the property list can find a Flipper classed sprite, with a matching name, you can set the following properties for it…

  • UpperRotation – a number value for the highest amount the flipper can rotate to.
  • LowerRotation – a number value for the lowest amount the flipper can rotate to (right and left flippers typically have opposite values for these properties). For example, the LowerRotation on a right flipper might be 30, but on the left flipper it might be –30.
  • RightFlipper – a YES or NO value to specific if the flipper should be raised when a right tap occurs on either the screen,  Apple TV remote, or right directional button is used on an external game controller. A flipper can be raised for both left and right buttons / taps by setting this value to YES and the next property to YES.
  • LeftFlipper – a YES or NO value to specific if the flipper should be raised when a right tap occurs on either the screen,  Apple TV remote, or right directional button is used on an external game controller.  A flipper can be raised for both left and right buttons / taps by setting this value to YES and the previous property to YES.
  • YImpulse – A high number value for the amount of upward push the flipper will apply to the ball. A normal range is probably anywhere from 1500 to 4000. This number could vary drastically though depending on the size of the flipper artwork.
Continue reading about Plunger settings



Know what an affiliate program is? You make money just by sharing links to our site! Win. Win.

Earn when you refer any buyer here! 30 day tracking. Commissions are 33%-50% and recur on subscription products!