3 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

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

The Sticker Pack has been updated!

I only do this when I'm working alone, I promise

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

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

Running Unity on Linux has changed my life

Loop! is also on itch.io now!

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

fix

His name is Tom

Oblitus Casa, But Cringe!