LogFAQs > #979491773

LurkerFAQs, Active Database ( 12.01.2023-present ), DB1, DB2, DB3, DB4, DB5, DB6, DB7, DB8, DB9, DB10, DB11, DB12, Clear
Topic List
Page List: 1
TopicI've been working on a 3d platformer game (in unity)
TheGoldenEel
03/21/24 5:05:21 PM
#131:


RetuenOfDevsman posted...
Sounds like a variation of the dining philosophers problem. With all the instances sharing the same code, coordination is oddly difficult. One solution is to use an external control. Either an invisible object or something that's tied to the player. This would tell the enemies where to go and when to attack.
I wasnt familiar with that problem but I think thats beyond what Im trying to do here at the moment

i do think Im going to try with an invisible trigger object that handles spawning the enemies when they die. But handle their individual behavior wholly independently in the enemies themselves

---
BLACK LIVES MATTER
Games: http://backloggery.com/wrldindstries302 \\ Music: http://www.last.fm/user/DrMorberg/
... Copied to Clipboard!
Topic List
Page List: 1