Animations in Godot: late evening findings I
Given a model skeleton (e.g. arms + body + legs) and some animations for it, we can setup a simple Start → Idle pipeline so that model goes into Idle animation on start.
For movement animation, we need to blend 4-5 animations into one based on character's direction and speed, and there is a
Now, with
and
we will have a smooth movement animation by providing a point on this chart which will represent character's movement state
Given a model skeleton (e.g. arms + body + legs) and some animations for it, we can setup a simple Start → Idle pipeline so that model goes into Idle animation on start.
For movement animation, we need to blend 4-5 animations into one based on character's direction and speed, and there is a
BlendSpace2D node that does exactly this: given calculated blend position it's mapped onto a 2D space with sideways animation on the negative/positive X, forward at the negative Y and backwards at the positive Y, blending those into a final one based on the input.Now, with
Start → IW
and
Backwards
︲
Sideways ‒ Idle ‒ Sideways
︲
Forward
we will have a smooth movement animation by providing a point on this chart which will represent character's movement state
Animations in Godot: late evening findings II
That being said, we can easily add a short one-time animation such as Cheering, by doing
where
This will, however, result in a character sliding on a floor like a penguin on ice if we try to walk while cheering, because Cheer animation doesn't have legs movement.
That being said, we can easily add a short one-time animation such as Cheering, by doing
Start → IW ←⇢ Cheer
where
Cheer is being manually fired and automatically returned to the IW once finished.This will, however, result in a character sliding on a floor like a penguin on ice if we try to walk while cheering, because Cheer animation doesn't have legs movement.
Animations in Godot: late evening findings III
To solve this, there is a
I.e. by putting Locomotion and Cheer animation into OneShot
we can have a nicely slapped Cheering animation on top of smooth movement 💃
To add more one-shot animations we can basically chain
P.S. I wrote a ton about animations in private chats so decided to drop it here, 👎 if I should stop doing this since I will have a lot to post while replicating the SneakOut
To solve this, there is a
BlendTree node that provides a way to build more complex pipelines. Moving BlendSpace2D into BlendTree as Locomotion start node and connecting it to tree's output will result in same behavior space had; then we can use a OneShot node which takes two sources (in and shot), optional skeleton filters (e.g. arms only) and, when fired, overwrites filtered skeleton parts of in with shot.I.e. by putting Locomotion and Cheer animation into OneShot
Locomotion → Cheer_OS → output
^
Cheer_A
we can have a nicely slapped Cheering animation on top of smooth movement 💃
To add more one-shot animations we can basically chain
OneShot nodes since they return untouched in animation when not fired, i.e. only fired node of chain will be playedP.S. I wrote a ton about animations in private chats so decided to drop it here, 👎 if I should stop doing this since I will have a lot to post while replicating the SneakOut
👍2
🏆 Wall-through outlines and highlights in Godot
Not that good for outlines (insanely simple but has requirements to the model), but highlight is really nice and performant thanks to utilizing Godot internal rendering system
P.S. A nice outline shader by community
Not that good for outlines (insanely simple but has requirements to the model), but highlight is really nice and performant thanks to utilizing Godot internal rendering system
P.S. A nice outline shader by community
👏2👎1😁1
Media is too big
VIEW IN TELEGRAM
🪑 Godot + Steam + SneakOut™️
Took me about a week of daily LLM talks, FAAFO in editor, a few YT videos, a few articles, a ready-made asset pack and 250 hours in SneakOut™️. Open-source & coming out to Steam soon.
Amazing engine for your amazing game ideas.
GitHub
Took me about a week of daily LLM talks, FAAFO in editor, a few YT videos, a few articles, a ready-made asset pack and 250 hours in SneakOut™️. Open-source & coming out to Steam soon.
Amazing engine for your amazing game ideas.
GitHub
AoC 2025 and on will have only 12 days, ending mid-December.
Why did the number of days per event change? It takes a ton of my free time every year to run Advent of Code, and building the puzzles accounts for the majority of that time. After keeping a consistent schedule for ten years(!), I needed a change. The puzzles still start on December 1st so that the day numbers make sense (Day 1 = Dec 1), and puzzles come out every day (ending mid-December).
🤯4
This media is not supported in your browser
VIEW IN TELEGRAM
#TIL
editor.cursorSmoothCaretAnimation preference enables smooth cursor animation in VSCode(s)👍6
ExposedCat's blog
❄️ AoC 2025
Note that there were only 24 stars this year, meaning
❅ 40% of participants finished 100% of the calendar (+40 vs 2024)
❅ 54% did 100% of P1s (+39 vs 2024)
❅ 78% completion per person on average (+54 vs 2024)
❅ 15% more participants vs 2024
Congrats to everybody doing at least one P1 👏
Next year we are likely to introduce sleep-safe™️ score system, which will be based on time elapsed since acquiring the task, not since it being available: essentially letting you sleep in the morning without losing any points.
Let me also remind y'all that there is Snowy extension which finally got to the 2025 edition of the falling snow article on OMG!Ubuntu 🏆
Ale ★★★★★★★★★★★★
chelokot ★★★★★★★★★★★★
ExposedCat ★★★★★★★★★★★★
Alex Kovalov ★★★★★★★★★★★★
Saikou ★★★★★★★★★★★★
ClearCut3000 ★★★★★★★★★★★★
adsick ★★★★★★★★★☆★☆
Alex Khorunzhyi ★★★★★★★★★☆☆☆
Illia Dymura ★★★★★★★★☆
antos07 ★★★★★★★★☆
Dima Pristupa ★★★★★★★ ☆☆☆
Silence-o0 ★★★★★★☆
cvirlik ★★★★★★
ukrustacean ★★★★★☆
Polina Holotsvan ★★★
Note that there were only 24 stars this year, meaning
❅ 40% of participants finished 100% of the calendar (+40 vs 2024)
❅ 54% did 100% of P1s (+39 vs 2024)
❅ 78% completion per person on average (+54 vs 2024)
❅ 15% more participants vs 2024
Congrats to everybody doing at least one P1 👏
Next year we are likely to introduce sleep-safe™️ score system, which will be based on time elapsed since acquiring the task, not since it being available: essentially letting you sleep in the morning without losing any points.
Let me also remind y'all that there is Snowy extension which finally got to the 2025 edition of the falling snow article on OMG!Ubuntu 🏆
❤1