Skip to content

Conversation

@VictorABoye
Copy link
Collaborator

Added idle and walking animations for the player.
This has been achieved by extending SpritePart to allow for lists of Texture instead of a single texture per direction, but it is still backwards compatible so it still works when instantiating with a single texture for each direction.

Animations are also possible for NPC's but they need animation frames first. After these have been created, it is possible to instantiate with a list of textures for each direction, as has been done for the player.

@VictorABoye VictorABoye merged commit 5d6ce3f into master Oct 26, 2023
@VictorABoye VictorABoye deleted the vboye/animations-for-characters branch October 26, 2023 12:43
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