• Register

Billy is a boy living in a world with many challenges, after 10 years of the "big war" the Morlocks want to unleash again Orion, the greate master of Morlocks. Billy needs rescue all ancient powers to win this epic battle.

Post news Report RSS Creating enemys in runtime with triggers

How is the development of artificial intelligence and objects must be created in real time (already included in the sound and particles that was used for this article)

Posted by on

I've been working on a new type of trigger in the game. This new type of trigger has the ability to create instances of an object and thus create waves of enemies against Billy.

The trigger has several properties that I'm still finishing work tomake it more flexible and allow various configurations to createenemies in real time.

Notice the number of frogs in screenshot


Presently, I determine a collection of Game Objects that will be usedto mark the birth of the enemy positions and define also by twovectors of type Vector3 what are the random locations (for those not born overlapping objects) and assign the target to all the enemiesthat were created (oh of course, and also define how many enemiesI want to be created).

There is still much to improve, one of them is to create a waiting process between the creation of objects, for example, to createobjects with a minimum interval. It is designed and coded, but the tests I have not got the desired result, but I'm close.

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: