View source for User talk:Kimstron
I got LightningStrike off robocode repository and it's pretty good for a beginner bot! The 2 guns thing is quite clever. I certainly can't fit it into a nano. - User:BeastBots101
- [View source↑]
- [History↑]
Contents
Thread title | Replies | Last modified |
---|---|---|
Bugs in random movement for 0.10B | 7 | 03:47, 13 December 2013 |
I tried to combine random movement and WeekendObsession's PM gun, the bot will turn like crazy back and forth and move in tiny intervals at around 10 instead of 100.
It's probably because WeekendObsession has movement tied to the gun. In the movement command, the variable a is defined. If you define it outside the command(setTurnRight, etc), and delete it, then the bugs might stop.
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
Return to Thread:User talk:Kimstron/Bugs in random movement for 0.10B/reply (2).
I don't know why he did that. Anyway, it's open source and the bots are credited. We'll probably change the movement to something more advanced, maybe like Raiko's.
Raiko's movement is a lot bigger than it needs to be. If you want good RM in a micro, Toorkild's is much more efficient. (Even though it has the same effect.) It's what I used in EpeeistMicro.
If you really want to make a competitive micro, you should start battles with SAG, and only switch if you're getting hit a lot. It only costs about ~80 bytes, and it makes a big difference in APS.