GBAlatro
A Demake of Balatro for the GBA
Loading...
Searching...
No Matches
SpriteObject Struct Reference

A sprite object is a sprite that is focusable and movable in animation. More...

#include <sprite.h>

Data Fields

Spritesprite
 Sprite configuration info.
 
FIXED tx
 Target position.
 
FIXED ty
 
FIXED x
 Current position.
 
FIXED y
 
FIXED vx
 Velocity.
 
FIXED vy
 
FIXED tscale
 Target Scale.
 
FIXED scale
 Current Scale, in units for tonc's obj_aff_rotscale
 
FIXED vscale
 Scale velocity AKA the rate of change of scaling ops.
 
FIXED trotation
 Target rotation.
 
FIXED rotation
 Actual rotation, in units for tonc's obj_aff_rotscale
 
FIXED vrotation
 Rotation velocity.
 
bool focused
 Focused status (card specific, raise and lower card)
 

Detailed Description

A sprite object is a sprite that is focusable and movable in animation.

Definition at line 60 of file sprite.h.

Field Documentation

◆ focused

bool focused

Focused status (card specific, raise and lower card)

Definition at line 115 of file sprite.h.

◆ rotation

FIXED rotation

Actual rotation, in units for tonc's obj_aff_rotscale

Definition at line 105 of file sprite.h.

◆ scale

FIXED scale

Current Scale, in units for tonc's obj_aff_rotscale

Definition at line 90 of file sprite.h.

◆ sprite

Sprite* sprite

Sprite configuration info.

Definition at line 65 of file sprite.h.

◆ trotation

FIXED trotation

Target rotation.

Definition at line 100 of file sprite.h.

◆ tscale

FIXED tscale

Target Scale.

Definition at line 85 of file sprite.h.

◆ tx

FIXED tx

Target position.

Definition at line 70 of file sprite.h.

◆ ty

FIXED ty

Definition at line 70 of file sprite.h.

◆ vrotation

FIXED vrotation

Rotation velocity.

Definition at line 110 of file sprite.h.

◆ vscale

FIXED vscale

Scale velocity AKA the rate of change of scaling ops.

Definition at line 95 of file sprite.h.

◆ vx

FIXED vx

Velocity.

Definition at line 80 of file sprite.h.

◆ vy

FIXED vy

Definition at line 80 of file sprite.h.

◆ x

FIXED x

Current position.

Definition at line 75 of file sprite.h.

◆ y

FIXED y

Definition at line 75 of file sprite.h.


The documentation for this struct was generated from the following file: