Jump out ai
i am trying to make a engine where the player gets to a certain point the enemy jumps out of the bushes or trees and attacks the player and It is a 3rd person shooter.
"All beings came from Chaos" -Romans"Veni, Vidi, Vici"- Julius Caesar
k
_______________________________ ________ _____ ___ __ _`By offloading cognitive load to the computer, programmers are able to design more elegant systems' - Unununium OS regarding Python
ehhh...
I haven't started on the engine i need alot of help. It is going to be in C++
I haven't started on the engine i need alot of help. It is going to be in C++
"All beings came from Chaos" -Romans"Veni, Vidi, Vici"- Julius Caesar
You could have it when the player gets to his certain point, he steps on a trigger. This trigger spawns the enemy, and you spawn him with a sideways velocity. When the velocity kicks it, the enemy jumps out, and then the AI kicks in, shooting at the player. I'd do it like that.
Koo koo thanks. I might do it like that
"All beings came from Chaos" -Romans"Veni, Vidi, Vici"- Julius Caesar
That trigger can simply be radius based.
Dave Mark - President and Lead Designer of Intrinsic Algorithm LLC
Professional consultant on game AI, mathematical modeling, simulation modeling
Co-founder and 10 year advisor of the GDC AI Summit
Author of the book, Behavioral Mathematics for Game AI
Blogs I write:
IA News - What's happening at IA | IA on AI - AI news and notes | Post-Play'em - Observations on AI of games I play
"Reducing the world to mathematical equations!"
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement