Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Nice, C was my 1st language.

What I mean is more the structures and patterns used for behaviour and decision-making, like state machines, decision Tree, utility function, behaviour trees, just ifs/conditionals. I created a new system in Fuzzy Brain!

With Fuzzy Brain I separate all that logic out of the scripts, leaving just the implementation logic, the functions that perform the actions, then Fuzzy Brain calls those functions when the right conditions are met.

I define conditions, like is heallth<10 or if enemy distance < 20 and I put the conditions I want in a list in the Act, then when all the conditions are met the Act calls the function.

It's a great way to separate code by separating decision logic from implementation and makes the code clean, modular, reusable, and easier to maintain.