Skip to content

Commit

Permalink
Rework monster animation code #73: add walk animation
Browse files Browse the repository at this point in the history
  • Loading branch information
demoth committed Sep 6, 2023
1 parent 0fd8fbe commit e0b2f73
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions game/src/main/kotlin/jake2/game/character/GameCharacter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ fun createSequences(name: String): Collection<AnimationSequence> {
frames = (125..144).toList(),
events = mapOf(1 to "sound-dead-event"),
loop = false
),
AnimationSequence(
name="walk",
frames = (74..85).toList(),
events = emptyMap(),
loop = true
)
)
TODO("Not yet implemented")
Expand Down

0 comments on commit e0b2f73

Please sign in to comment.