A
A
Artem2015-04-19 06:57:21
Game development
Artem, 2015-04-19 06:57:21

What practices are used when developing character behavior in games?

Good afternoon everyone, I'm far from game development, man, but recently I was asked to develop a small mobile social game and the question was, how? ) For example, a character has a behavior, there are events to which he reacts, plus a bunch of different conditions, depending on which the behavior changes. For me, judging by the description, only one thing is obvious - this is to fence if else, but this is not an option. That's why the occasion wanted to know if there are patterns (namely, a way to organize classes) that are often used? And yes, it is planned to develop on xamarin or on javascript (PhoneGap), where I vaguely imagine how to organize it all. If there are people who are more aware of such things, please share the info :) Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
OnYourLips, 2015-04-19
@Thugmaster

Book Mark Saltzman: Computer games. How it's done.

X
xmoonlight, 2015-04-19
@xmoonlight

Trigger matrix with weights of events by "visibility" zones. Ideally, a neural network.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question