Commit 184bd4e
committed
RandomTextureSpriteBehavior: Allow idle + walk animation
Assets:
- Rename existing part assets to "idle".
- Add walk animation for the legs part.
RandomTextureSpriteBehavior:
- Export an Array of SpriteFrames resources. Instead of using the custom addon
to change the textures.
Townie scene:
- Add a CharacterSpriteBehavior to each part. And configure the legs part with
the new animations.
- Add one .tres file per body part variant. And configure each Array of
SpriteFrames resources with them.
Townie demo:
- Add a FollowWalkBehavior to one townie, and remove the TalkBehavior.1 parent 011d4ee commit 184bd4e
61 files changed
Lines changed: 1615 additions & 261 deletions
File tree
- scenes
- game_elements/characters
- components
- sprite_frames
- npcs
- components
- game_logic/sprite_behaviors
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
| |||
0 commit comments