BAIT 2005

Miscellaneous Forums/Blitz Showcase/BAIT 2005

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.

I'm bored of revising. And it looks like this could do with a bump!

I don't think 'aiming' is necessary - just make the bot fire in whatever direction it is facing. If you want to 'aim' at an enemy, you scan for it first and get it's (X,Y) co-ordinates in relation to your bot, do a bit of trig to work out what bearing the bot needs to face in, rotate to this bearing, then fire. The only problem with this is that a bot may never fire at a moving target as it would have to continually turn to continually face it.

Regards the other points, don't worry about floating point discrepancies and get rid of the fuel idea. It would be disappointing to see a strong bot lose by one point just because it ran out of fuel. Regards the turning speed, I feel this should be proportional to the bots weight - the lighter it is, the faster it turns.

Keep this project going guys! I've got my eye on you lot!

Ryan