Skip to content

Commit

Permalink
feat: add sewer rat animation
Browse files Browse the repository at this point in the history
  • Loading branch information
hxtree committed Nov 15, 2024
1 parent b646830 commit f8ef73a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 9 additions & 2 deletions clients/design-system/stories/game-assets/data/Sewer.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"t": "/game-assets/sewer/tileset-4x4.png",
"w": "/game-assets/sewer/wall-8x1.png",
"b": "/game-assets/sewer/barrel-1x1.png",
"r": "/game-assets/sewer/rat-1x1.png",
"r": "/game-assets/sewer/rat-3x1.png",
"s": "/game-assets/sewer/spill-1x1.png"
},
"grid": [
Expand Down Expand Up @@ -78,7 +78,7 @@
[
["w1","w3","w1","w6","w6","w1","w2","w3","w1","w5","w5","w1"],
["w2","0","0","0","0","b1","b1","0","0","0","0","w1"],
["w2","0","0","0","0","0","0","0","r1","0","0","w1"],
["w2","0","0","0","0","0","0","0","r1_look1","0","0","w1"],
["w2","s1","0","0","0","0","0","0","0","0","0","w1"],
["w1","0","0","0","0","0","0","0","0","0","0","w1"],
["w4","0","0","0","0","0","0","0","0","0","0","w1"],
Expand All @@ -87,6 +87,13 @@
]
],
"gridAnimations": {
"look1": {
"currentAnimation": "look1",
"startingFrame": 0,
"totalFrames": 3,
"frameDuration": { "seconds": 0.83 },
"isAnimating": true
},
"wave1": {
"currentAnimation": "water-ripples",
"startingFrame": 0,
Expand Down

0 comments on commit f8ef73a

Please sign in to comment.