Skip to content

Flight control - #3725

Open
LizardKing777 wants to merge 4 commits into
EasyRPG:masterfrom
LizardKing777:flight-control
Open

LizardKing777 wants to merge 4 commits into
EasyRPG:masterfrom
LizardKing777:flight-control

Conversation

@LizardKing777

@LizardKing777 LizardKing777 commented Nov 30, 2026 •

Copy link
Copy Markdown

This adds a few @EasyRPG comment commands that gives some more control over the system's flight mechanics. Specifically, it adds three:

@easyrpg_event_airship_move [eventID], [0|1]

This causes any remaining movement to continue when the event (10004 for airship) is ascending or descending. This can be used to make for a more "natural" take off and landing for things not built like a quad-copter, though it needs a bit of in-game coding to work smoothly.

@easyrpg_event_set_z [eventID], [N]

This adjusts the event's altitude to the value in N - normally the airship is 32 pixels above tile it occupies. Note this can be used for any event, not just the airship. Also note it doesn't change any collision data,

@easyrpg_event_get_z [eventID], [N]

This reads the integer value of the event's altitude and stores it in the variable pointed to by 'N'.

vbJHos14mI w8aZXQ8hKC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant