-
Notifications
You must be signed in to change notification settings - Fork 0
Full Action Reference Game
Home | Preset Guide | Event Reference
Auto-generated from the IDE's action registry by
tools/gen_action_reference.py— do not edit by hand; re-run the generator after changing actions.
| Property | Value |
|---|---|
| Name | draw_arrow |
| Icon | ➡️ |
| Category | Game |
Draw an arrow from one point to another
| Parameter | Type | Default | Notes |
|---|---|---|---|
x1 |
Number | 0 |
Start X |
y1 |
Number | 0 |
Start Y |
x2 |
Number | 100 |
Tip X |
y2 |
Number | 100 |
Tip Y |
tip_size |
Number | 10 |
Arrowhead size in pixels |
| Property | Value |
|---|---|
| Name | draw_background |
| Icon | 🌄 |
| Category | Game |
Draw a background image, optionally tiled across the screen
| Parameter | Type | Default | Notes |
|---|---|---|---|
background |
Text | — | Background asset name |
x |
Number | 0 |
X position |
y |
Number | 0 |
Y position |
tiled |
Yes/No | No | Tile across the screen; optional |
| Property | Value |
|---|---|
| Name | draw_circle |
| Icon | ⭕ |
| Category | Game |
Draw a filled or outlined circle
| Parameter | Type | Default | Notes |
|---|---|---|---|
x |
Number | 0 |
Centre X |
y |
Number | 0 |
Centre Y |
radius |
Number | 50 |
Circle radius |
filled |
Yes/No | Yes | Filled, or outline only; optional |
| Property | Value |
|---|---|
| Name | draw_ellipse |
| Icon | 🥚 |
| Category | Game |
Draw a filled or outlined ellipse within a bounding box
| Parameter | Type | Default | Notes |
|---|---|---|---|
x1 |
Number | 0 |
Left X |
y1 |
Number | 0 |
Top Y |
x2 |
Number | 100 |
Right X |
y2 |
Number | 100 |
Bottom Y |
filled |
Yes/No | Yes | Filled, or outline only; optional |
| Property | Value |
|---|---|
| Name | draw_line |
| Icon | 📏 |
| Category | Game |
Draw a line between two points
| Parameter | Type | Default | Notes |
|---|---|---|---|
x1 |
Number | 0 |
Start X |
y1 |
Number | 0 |
Start Y |
x2 |
Number | 100 |
End X |
y2 |
Number | 100 |
End Y |
| Property | Value |
|---|---|
| Name | draw_rectangle |
| Icon | 🟥 |
| Category | Game |
Draw a filled or outlined rectangle
| Parameter | Type | Default | Notes |
|---|---|---|---|
x1 |
Number | 0 |
Left X |
y1 |
Number | 0 |
Top Y |
x2 |
Number | 100 |
Right X |
y2 |
Number | 100 |
Bottom Y |
filled |
Yes/No | Yes | Filled, or outline only; optional |
| Property | Value |
|---|---|
| Name | draw_scaled_text |
| Icon | 🖍️ |
| Category | Game |
Draw text at an arbitrary scale
| Parameter | Type | Default | Notes |
|---|---|---|---|
text |
Text | — | Text to draw |
x |
Number | 0 |
X position |
y |
Number | 0 |
Y position |
xscale |
Number | 1.0 |
Horizontal scale factor |
yscale |
Number | 1.0 |
Vertical scale factor |
| Property | Value |
|---|---|
| Name | draw_sprite |
| Icon | 🖼️ |
| Category | Game |
Draw a sprite frame at a position
| Parameter | Type | Default | Notes |
|---|---|---|---|
sprite |
Sprite | — | Sprite to draw |
x |
Number | 0 |
X position |
y |
Number | 0 |
Y position |
subimage |
Number | 0 |
Frame index to draw |
| Property | Value |
|---|---|
| Name | draw_text |
| Icon | 🖍️ |
| Category | Game |
Draw a text string at a position
| Parameter | Type | Default | Notes |
|---|---|---|---|
text |
Text | — | Text to draw (supports expressions) |
x |
Number | 0 |
X position |
y |
Number | 0 |
Y position |
relative |
Yes/No | No | Draw relative to this instance's position instead of absolute screen coordinates; optional |
| Property | Value |
|---|---|
| Name | draw_variable |
| Icon | 🔢 |
| Category | Game |
Draw the value of a variable on screen
| Parameter | Type | Default | Notes |
|---|---|---|---|
x |
Number | 0 |
X position |
y |
Number | 0 |
Y position |
variable |
Text | — | Variable name (self.var, global.var, or bare name) |
| Property | Value |
|---|---|
| Name | fill_color |
| Icon | 🪣 |
| Category | Game |
Fill the entire viewport with a solid colour
| Parameter | Type | Default | Notes |
|---|---|---|---|
color |
Color | #000000 |
RGB hex colour |
| Property | Value |
|---|---|
| Name | open_webpage |
| Icon | 🌐 |
| Category | Game |
Open a URL in the default browser
| Parameter | Type | Default | Notes |
|---|---|---|---|
url |
Text | — | Web address to open |
| Property | Value |
|---|---|
| Name | restart_game |
| Icon | 🔁🎮 |
| Category | Game |
Restart the game from the start room
Parameters: none
| Property | Value |
|---|---|
| Name | set_alpha |
| Icon | 🌫️ |
| Category | Game |
Set the drawing transparency for subsequent draws
| Parameter | Type | Default | Notes |
|---|---|---|---|
alpha |
Number | 1.0 |
Opacity 0.0 (clear) to 1.0 (opaque) |
| Property | Value |
|---|---|
| Name | set_color |
| Icon | 🎨 |
| Category | Game |
Set the draw colour and alpha for subsequent draws
| Parameter | Type | Default | Notes |
|---|---|---|---|
color |
Color | #FFFFFF |
RGB hex colour |
alpha |
Number | 1.0 |
Opacity 0.0–1.0; optional |
| Property | Value |
|---|---|
| Name | set_draw_color |
| Icon | 🎨 |
| Category | Game |
Set the colour used by subsequent draw_* actions
| Parameter | Type | Default | Notes |
|---|---|---|---|
color |
Color | #000000 |
RGB hex colour |
| Property | Value |
|---|---|
| Name | set_draw_font |
| Icon | 🔤 |
| Category | Game |
Set the font and alignment for subsequent text drawing
| Parameter | Type | Default | Notes |
|---|---|---|---|
font |
Text | — | Font asset name (blank = default font); optional |
halign |
Choice | left |
Horizontal text alignment; Choices: left, center, right
|
valign |
Choice | top |
Vertical text alignment; Choices: top, middle, bottom
|
| Property | Value |
|---|---|
| Name | set_window_caption |
| Icon | 🪟 |
| Category | Game |
Configure score/lives/health display in window title
| Parameter | Type | Default | Notes |
|---|---|---|---|
show_score |
Yes/No | Yes | Append the current score to the window caption |
show_lives |
Yes/No | Yes | Append the current lives count to the window caption |
show_health |
Yes/No | No | Append the current health value to the window caption |
caption |
Text | — | Optional caption prefix shown before the counters; optional |
| Property | Value |
|---|---|
| Name | show_info |
| Icon | ℹ️ |
| Category | Game |
Display the game information screen
Parameters: none
| Property | Value |
|---|---|
| Name | show_message |
| Icon | 💬 |
| Category | Game |
Display a message
| Parameter | Type | Default | Notes |
|---|---|---|---|
message |
Text | Hello! |
Message text |