BAIT Community Project (thread 2)

Miscellaneous Forums/Blitz Showcase/BAIT Community Project (thread 2)

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 Hotcakes, I'll check it out soon.

Edit: I've had a brief look at the tutorial, and it seems reasonably straightforward to set up. I think the 10 minute limit on the trial version is a bit short though! What I would like to see now is the interpreter set up so that it could perform one function, say Move(distance), on any robot which calls this function. To test this, the AI for two robots could be:

Bot1:
Function AI()

Move(100)

End Function

Bot2:
Function AI()

Move(200)

End Function

I'm not sure how the actual Move function would be written though - Looking at the Bot.bb file, The type "TypeBot" doesn't have any fields for storing a bot's co-ordinates. How do you handle the co-ordinates WolRon?

Ryan