[Home]History of David Alves/DrawingBot

Robo Home | Changes | Preferences | AllPages


Revision 4 . . (edit) November 11, 2006 10:08 EST by David Alves
Revision 1 . . November 11, 2006 9:58 EST by David Alves [initial version of this page]
  

Difference (from prior major revision) (minor diff)

Changed: 1c1
This code is free to use for any purpose whatsoever. Giving credit to me somewhere is nice, but not required.
Debugging graphics for Robocode 1.1+ in 3 easy steps:

Added: 2a3,13
1. Extend DrawingBot.

2. Call the drawing functions you want in your code, for example YourRobotsName.drawText("Hello, World!, 100, 100, Color.WHITE);

3. Run Robocode and click the "Paint" button in your robot's console to turn on graphics for your bot and you'll see the graphics appear.

An example of how to use this is /LinearTargetingBot?.




<pre>

Added: 122a134
</pre>

Robo Home | Changes | Preferences | AllPages
Search: