#include <stdint.h>
#include <neo6502.h>
Go to the source code of this file.
◆ neo_turtle_hide()
void neo_turtle_hide |
( |
void |
| ) |
|
◆ neo_turtle_home()
void neo_turtle_home |
( |
void |
| ) |
|
Move the turtle to the home position - centered, facing upward.
◆ neo_turtle_init()
void neo_turtle_init |
( |
uint8_t |
idx | ) |
|
Initialise the turtle graphics system.
- Parameters
-
idx | Sprite index to use for the turtle. |
◆ neo_turtle_move()
void neo_turtle_move |
( |
int16_t |
len, |
|
|
uint8_t |
color, |
|
|
uint8_t |
pen |
|
) |
| |
Move the turtle forward. Show if hidden.
- Parameters
-
len | Pixels to move. |
color | Color to draw. |
pen | Pen down flag. |
◆ neo_turtle_show()
void neo_turtle_show |
( |
void |
| ) |
|
◆ neo_turtle_turn()
void neo_turtle_turn |
( |
int16_t |
deg | ) |
|
Turn the turtle right. Show if hidden.
- Parameters
-