I've been working on adding 9572AD's DrawText code to the project. I've made up a (temp?) bitmap font to be used for the text. It would be nice if someone could take the time to smoothen out the characters in the bitmap (I started on 0 and 7, for example). You can check it out above.
I've updated the code files above. I will probably try to update the .zip file within the next few days so that you all can check out how it works/looks in the game.
I've had some thoughts on few more things over the past few days. After adding the DrawText code, I've realized that we should put a limit on the number of bots that can compete in a competition. Partly due to the lack of space on screen for displaying bot data, but also just for performance reasons. Eight bots for now seems to be a good place to start.
Also, we need to come up with a way for each bot to start. For instance, if only two bots start, we could have them start on opposite sides of the arena, no problem. If four bots start, they could start on (equally spaced) 4 sides of the arena. However, what should we do if three bots start or five bots? We could equally space them, say in a circle, but that wouldn't necessarily start each one out in an equal and fair place once you consider that the arena is square, and that most arenas will have obstacles in them.
So, what are your thoughts on this? Do we create a seperate arena for each number of starting bots (each arena giving each bot an equally advantaged starting position)? Do we create our arenas to allow any combination of, say, two to eight starting bots?
Let me hear your thoughts...
I've updated the code files above. I will probably try to update the .zip file within the next few days so that you all can check out how it works/looks in the game.
I've had some thoughts on few more things over the past few days. After adding the DrawText code, I've realized that we should put a limit on the number of bots that can compete in a competition. Partly due to the lack of space on screen for displaying bot data, but also just for performance reasons. Eight bots for now seems to be a good place to start.
Also, we need to come up with a way for each bot to start. For instance, if only two bots start, we could have them start on opposite sides of the arena, no problem. If four bots start, they could start on (equally spaced) 4 sides of the arena. However, what should we do if three bots start or five bots? We could equally space them, say in a circle, but that wouldn't necessarily start each one out in an equal and fair place once you consider that the arena is square, and that most arenas will have obstacles in them.
So, what are your thoughts on this? Do we create a seperate arena for each number of starting bots (each arena giving each bot an equally advantaged starting position)? Do we create our arenas to allow any combination of, say, two to eight starting bots?
Let me hear your thoughts...