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…
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.
Watch a Detailed Video on How to Setup Flippers in the SceneIf 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.