моя гра натхненна Source та CS 1.6
Привіт усім! Сьогодні я дізнався, що на Reddit є наша спільнота для розробників, і вирішив спробувати опублікувати сюди коротке відео з геймплеєм моєї гри, натхненної старими іграми на Source
Привіт усім! Сьогодні я дізнався, що на Reddit є наша спільнота для розробників, і вирішив спробувати опублікувати сюди коротке відео з геймплеєм моєї гри, натхненної старими іграми на Source
After 3 weeks of messing with AI and breaking everything multiple times, I finally got bots working in my Unity 6 project
They use NavMeshAgent, and honestly this was probably the hardest thing I’ve made in Unity so far
Right now they can patrol, react when getting shot, search for health/ammo pickups, and fight the player
They’re still pretty dumb sometimes, but at least they don’t destroy my FPS anymore. At first I was checking player detection/patrol logic way too often, which caused performance issues with multiple bots. Eventually I moved a lot of those checks to run in intervals instead of constantly, and it helped a lot
Still needs polishing, but I’m really happy with how it’s turning out. Feels good seeing actual fights happen in my game now