On Hit Make Enemy Red Shader Script ~ 1 Bit Platformer Part 13 ~ Godot 4.3

3 months ago
6

Add a shader to an enemy on hit so it flashes red as part of a knockback effect in Godot 4.3. A very basic 2d shader script example as part of the 1 bit platformer series.

Project Downloads ~ Snapshot at Each Videos End
Ko-fi ➣ https://ko-fi.com/post/Project-1-Bit-Projectile-Platformer-Tutorial-Ser-U7U510EBNX
Patreon ➣ https://www.patreon.com/posts/107952055

Assets & Credits ➣ https://pastebin.com/qa4NiTyu

Grid Building Plugin ➣ https://linktr.ee/gridbuilder
World Time Plugin ➣ https://linktr.ee/worldtimeplugin
Item Drops Plugin ➣ https://linktr.ee/itemdrops

➣ Downloadable Assets, Video Courses, and Other Places to Follow Me
https://linktr.ee/ChrisTutorials
https://ko-fi.com/christutorials
https://patreon.com/christutorials
https://chris-tutorials.itch.io/

➣ Support Channel with Crypto Donations
https://pastebin.com/WAnBPcXs

00:00 - Start
00:16 - Fix: Only Stop Movement if Knockback Triggered
02:08 - When to Stop Movement on Action Exit
05:04 - Set Shader Action
07:34 - Creating Shader Material
08:15 - Flashing Red Hit Shader
12:55 - Testing
14:33 - Wrapup

Loading comments...