2 months ago

This may be obvious, but if not, a good way to create AI for your FNaF-like characters is to create different behaviour scripts and combine them to make a complete, functional character. Think modular.


When the Move Timer fires the event, it calls the Enemy Step Render script. When there're no more renders to show in the Enemy Step Render script, call the Middle Door Attack script. If the attack is cancelled or defended, the Move Timer script is called to restart the timer.

Using this approach, I created a functional character. I can reuse these scripts to create more characters without having to rewrite code lines for each character's script.

image.png


0 comments

Loading...

Next up

Loop! is also on itch.io now!

📎 - https://zcesarrr.itch.io/loop

FNATI, But Dumb! and The Springlock: Aftermath are now on itch.io!

[links below]

Guess my upcoming fangame by looking at the main gameplay scene hierarchy!

Oblitus Casa, But Cringe!

My cleanest AM timer programming ever

the forgotten one is coming tomorrow.

The Sticker Pack has been updated!

Hey GameJolters

Over the past few days and weeks, I've published two web projects for my learning purposes. You can find them on my GitHub profile!

https://github.com/zcesarrr

fix

For the final trick, I converted my old Bluesky account into my new blog profile.

Follow me there to receive the latest updates on my games, like I usually do here!

📎 - https://bsky.app/profile/cesarz.bsky.social