TooTing The OOP Horn Again

Blitz3D Forums/Blitz3D Programming/TooTing The OOP Horn Again

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Thanks for those comments Mike,

in some way, I'm doing similar OO things for Tecno,
although I couldn't find a way to do generic-code for some
of the level's culling routines and therefore there is some individual
code for each level that took time to do...

but, I really did all of my simple enemies in a OO way,
after settinp up some pahtfinding nodes along each level,
I can create an enemy in any place, then automatically the enemy
knows where he is, how to patrol, how to attack you (if he detects you),
how to follow you if you escape and how to "interact" with others enemies
in the scene.... and since they are TYPES I can create as many as I want,
but a medium-PC won't handle more that 6 enemies at a time so I must have
this in mind ...
... my god... it was such a "pain" to do this AI, actually I have been coding it
for the last 6 months and I still haven't finished it ...
At the end, it is not state-of-the-art AI but I'm pretty happy about how
the enemies behave in the scene, specially having in mind that there's
walking-flying enemies and so far the code is not having too much bugs ...

... now I have to code the AI for the 3 individual bosses you find along the game,
... arrrggghh, damn it, still some months to go ... :)

Paolo.