5 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!

fix

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

Oblitus Casa, But Cringe!

When you have an idea (the best idea)

Hey gang, I just wanted to let you know that I'm currently busy with school projects right now, so I don't have anything good to share at the moment. They're all web development-related, so I'm actually enjoying working on them!

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

Running Unity on Linux has changed my life

His name is Tom