21 days 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

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

[links below]

Oblitus Casa, But Cringe!

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

My cleanest AM timer programming ever

Loop! is also on itch.io now!

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

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

fix

the forgotten one is coming tomorrow.

Loop! is available now on Windows!

Play it for free, but if you want, you can buy it for your own price and support me as a developer.

However, you can get the Google Play version and buy the one-time offer to support me and get special items!

Loop! is available now on Google Play!

Collect dots, evade enemies, and adapt as the scenery keeps resizing!

https://play.google.com/store/apps/details?id=com.cesarz.looper