Skip to content

Conversation

@manuq
Copy link
Contributor

@manuq manuq commented Sep 10, 2024

Add ways to check different states of the character, so a platformer character can have different assets / animations when jumping / moving / being idle.

Example video:
Grabación de pantalla desde 2024-09-10 15-04-11.webm

That is using these blocks:
Captura desde 2024-09-10 15-05-01

The properties may be read-only.

Also indent properly the changer definition, which was wrong.
So users can check where the character is heading:
* -1: to the left
* 1: to the right
* 0: not moving
So users can check if the character is on the floor or not.
Copy link
Contributor

@starnight starnight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM!

@starnight starnight merged commit b28f697 into main Sep 11, 2024
@starnight starnight deleted the add-character-states branch September 11, 2024 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants