|
JubeatPlus 3.9.11
|
A title-screen ornament made of a tiltable background, a looping car, and a smog puff. More...
#include <NteTitleOptionView.h>


Instance Methods | |
| (instancetype) | - initWithFrame: |
| Builds the three layered subviews at the given size and starts the reveal animation. | |
| (void) | - setOptDirection: |
| Tilts and optionally mirrors the background plate. | |
| (void) | - startAnimation |
| Fades the smog in from a collapsed, offset start to its resting scale, then starts the car loop. | |
| (void) | - startCarAnimation |
| Bobs the car up by a few points and reschedules itself while the loop is enabled. | |
| (void) | - stopAnimation |
| Disables the car loop and clears every pending animation on the car and the smog. | |
A title-screen ornament made of a tiltable background, a looping car, and a smog puff.
| - (instancetype) initWithFrame: | (CGRect) | frame |
Builds the three layered subviews at the given size and starts the reveal animation.
Only the frame's size is used; its origin is ignored. The background plate and the car container both fill the frame, the smog fills the loaded smog artwork's own size, and the car artwork is placed to the right of the smog's width.
| frame | The view's frame; only size is read. |
| - (void) setOptDirection: | (int) | direction |
Tilts and optionally mirrors the background plate.
| direction | A bit-mask: bit 0 mirrors horizontally and negates the tilt, bit 1 tilts one way, and bit 2 tilts the other way (overriding bit 1). |
| - (void) startAnimation |
Fades the smog in from a collapsed, offset start to its resting scale, then starts the car loop.
| - (void) startCarAnimation |
Bobs the car up by a few points and reschedules itself while the loop is enabled.
| - (void) stopAnimation |
Disables the car loop and clears every pending animation on the car and the smog.