From: . <.> Date: Thu, 15 May 2025 00:47:19 +0000 (+0200) Subject: updated walk cycle X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=8647cc81535cb7a7f781d7528d457e2e3edd7fb7;p=isotilejs updated walk cycle --- diff --git a/Makefile b/Makefile index 7b64ccd..85f3722 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,7 @@ tileset.png: tileset4.svg inkscape -Cd 192 --export-png-antialias 1 --export-png=$@ $< character.png: character_5.blend - mkdir -p render/ + mkdir render.tmp/ blender -b "$<" -a - montage render/????.png -background transparent -tile 24x -geometry +0+0 "$@" + montage render.tmp/????.png -background transparent -tile 20x -geometry +0+0 "$@" + rm -r render.tmp/ diff --git a/character_5.blend b/character_5.blend index 206bf92..77d6f6e 100644 Binary files a/character_5.blend and b/character_5.blend differ diff --git a/index.html b/index.html index c33cdce..02dd55c 100644 --- a/index.html +++ b/index.html @@ -24,7 +24,7 @@ - +
@@ -258,8 +258,8 @@ player = { sprite: document.getElementById("character"), anim: "stand", anims: { - stand: { start: 0, length: 8, speed: 4 }, - walk: { start: 8, length: 16, speed: 2 } + stand: { start: 0, length: 8, speed: 8 }, + walk: { start: 8, length: 12, speed: 2 } }, init: function(){