OpenSNES
Modern Open-Source SNES Development SDK
Loading...
Searching...
No Matches
insect.h File Reference
#include <snes.h>

Go to the source code of this file.

Functions

void insectinit (u16 xp, u16 yp, u16 type, u16 minx, u16 maxx)
 Create a robot insect (object type 1) patrolling between minx and maxx.
void insectupdate (u16 idx)
 The insect's per-frame update: patrol, animation, sprite position.

Function Documentation

◆ insectinit()

void insectinit ( u16 xp,
u16 yp,
u16 type,
u16 minx,
u16 maxx )

Create a robot insect (object type 1) patrolling between minx and maxx.

◆ insectupdate()

void insectupdate ( u16 idx)

The insect's per-frame update: patrol, animation, sprite position.