17 hours 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

My cleanest AM timer programming ever

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

My new game will be released this week. The delay was due to finishing the game and solving some problems. Hopefully the game will be ready before Wednesday and available for free on GameJolt and Google Play!

Some game screenshots above.

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

[links below]

the forgotten one is coming tomorrow.

Loop! is also on itch.io now!

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

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!

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

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