Main Menu

Finally...

Started by EgonOlsen, April 10, 2008, 11:08:22 PM

Previous topic - Next topic

EgonOlsen

#75
Not exactly...the path finding handles some special cases for this game (like making crates to blockers on demand) but after all, it's a simple A*. The bots' logic itself is placed in a bot class that uses a target finder class that uses the A*-implementation (but doesn't have to). I did the state machine stuff in my former game to a degree and i had different types of bots (mover, defender, attacker,...). It worked fine but i don't need it for this game. I agree that the bot class looks a bit cluttered ATM, but it's not that bad.
And no, it's not fun... ;D

fireside

I suppose it gets complex really fast.  I can imagine my spaghetti code now.
click here->Fireside 7 Games<-

EgonOlsen

Not really complex, but i tend to break working stuff by adding new rules. Yesterday, i've added a rule that should have prevented the bots from running into the explosions a little more reliable. The problem was, that sometimes it's required to cross a potential explosion tile to run into safety. So you either have to detect that too or remove the additional rule. I decided to do the latter... ;)

EgonOlsen

I've decided what to do with the gun: It's a water pistol now that can be used to defuse the bombs. It always available but needs some time to reload after usage. I'm still working on the look of the water to make it look like water somehow...not that easy...

fireside

click here->Fireside 7 Games<-

cyberkilla

Quote from: Hrolf on April 15, 2008, 01:56:16 AM
Tsk! Does no-one know what snorks are? What do they teach in schools nowadays? *mutter, mumble*

Created by the wonderful Finnish authoress Tove Jansson in 1946: http://www.geocities.com/lindashippert/moomin/moominnf.html#extended

(game looks good BTW :))

Wow, I remember those:) The cartoons were on in the mornings before I went to school, years ago:)
http://futurerp.net - Text Based MMORPG
http://beta.rpwar.com - 3D Isometric MMORPG

EgonOlsen