Difference between revisions of "Robocode/Add a Robot Project"
(Added Category:Eclipse IDE) |
m |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
This page describe how to add a robot project from another IDE into [[Robocode]]. | This page describe how to add a robot project from another IDE into [[Robocode]]. | ||
Line 6: | Line 4: | ||
Start up [[Robocode]] and select '''Preferences''' from the '''Options''' menu, select the '''Development Options''' tab, and then type in the path to your robots project. | Start up [[Robocode]] and select '''Preferences''' from the '''Options''' menu, select the '''Development Options''' tab, and then type in the path to your robots project. | ||
− | + | [[Image:DevelopmentOptions.png|Shows the Development Options pane in the Preferences dialog, which let's the user type or browse to the /robots folder from a project from another IDE]] | |
+ | |||
Click '''Finish''', then start a new battle (and perhaps '''press F5''' in order to refresh the list of robots), and voila! There's your robot. | Click '''Finish''', then start a new battle (and perhaps '''press F5''' in order to refresh the list of robots), and voila! There's your robot. | ||
− | + | [[Image:NewBattleDialog-FnlBot.png|Show the New Battle dialog showing the FnlBot beside the sample robots]] | |
+ | |||
You can edit your robot in Eclipse as much as you want. Just remember to save it ('''CTRL-S''') before switching back to Robocode. Robocode will use the latest compiled version, every time you start a new battle. | You can edit your robot in Eclipse as much as you want. Just remember to save it ('''CTRL-S''') before switching back to Robocode. Robocode will use the latest compiled version, every time you start a new battle. | ||
Line 16: | Line 16: | ||
Eclipse is very powerful, and will assist you greatly in writing robots (or anything else, for that matter). For instance, try hitting '''CTRL-SPACE''' when you can't remember the exact wording of something: | Eclipse is very powerful, and will assist you greatly in writing robots (or anything else, for that matter). For instance, try hitting '''CTRL-SPACE''' when you can't remember the exact wording of something: | ||
− | http://robocode.sourceforge.net/ | + | [[Image:PressingCtrlSpace.png|Shows the popup that will occur when the user press CTRL-SPACE on an uncompleted method name, which suggests the method names available based on the letters already typed]] |
+ | |||
+ | |||
+ | == References == | ||
+ | * [http://www.eclipse.org/ Eclipse.org - Eclipse home page] | ||
+ | * [http://www.eclipse.org/downloads/ Eclipse Downloads] | ||
+ | * [http://download.eclipse.org/eclipse/downloads/ Eclipse project downloads - latest releases] | ||
+ | |||
+ | == See also == | ||
+ | |||
+ | === Using Eclipse IDE === | ||
+ | * [[Robocode/Eclipse|Using Eclipse as IDE]] | ||
+ | * [[Robocode/Eclipse/Create_a_Project|Creating a project for your robots]] | ||
+ | * [[Robocode/Eclipse/Create_a_Robot|Creating a robot in Eclipse]] | ||
+ | * [[Robocode/Running from Eclipse|Running your robot from Eclipse]] | ||
+ | * [[Robocode/Eclipse/Debugging Robot|Debugging your robot with Eclipse]] | ||
+ | |||
+ | === Robot API === | ||
+ | * [http://robocode.sourceforge.net/docs/robocode/ Robot API] | ||
+ | |||
+ | === Tutorials === | ||
+ | * [[Robocode/System Requirements|System Requirements for Robocode]] | ||
+ | * [[Robocode/Download|How to download and install Robocode]] | ||
+ | * [[Robocode/Robot Anatomy|The anatomy of a robot]] | ||
+ | * [[Robocode/Getting Started|Getting started with Robocode]] | ||
+ | * [[Robocode/My First Robot|My First Robot Tutorial]] | ||
+ | * [[Robocode/Game Physics|Robocode Game Physics]] | ||
+ | * [[Robocode/Scoring|Scoring in Robocode]] | ||
+ | * [[Robocode/Robot Console|Using the robot console]] | ||
+ | * [[Robocode/Downloading_Robots|Downloading other robots]] | ||
+ | * [[Robocode/Learning from Robots|Learning from other robots]] | ||
+ | * [[Robocode/Package Robot|Package your robot]] | ||
+ | * [[Robocode/FAQ|Frequently Asked Questions (FAQ)]] | ||
+ | * [[Robocode/Articles|Articles about Robocode]] | ||
+ | * [[Robocode/Console Usage|Starting Robocode from the command line]] | ||
+ | * [[Robocode/Graphical_Debugging|Graphical debugging]] | ||
+ | |||
+ | === News and Releases === | ||
+ | * [http://sourceforge.net/export/rss2_project.php?group_id=37202 RSS Feeds for the Robocode project] | ||
+ | * [http://sourceforge.net/project/showfiles.php?group_id=37202&package_id=29609 Robocode file releases] | ||
− | == | + | === Home pages === |
+ | * [http://robocode.sourceforge.net/ Classic homepage] | ||
+ | * [http://sourceforge.net/projects/robocode Robocode project at SourceForge] | ||
+ | * [http://robocoderepository.com/ Robocode Repository] | ||
+ | * [[wikipedia:Robocode|Wikipediaentry for Robocode]] | ||
[[Category:Robocode Documentation]] | [[Category:Robocode Documentation]] | ||
+ | [[Category:Tutorials]] | ||
[[Category:Eclipse IDE]] | [[Category:Eclipse IDE]] |
Latest revision as of 23:30, 10 October 2008
This page describe how to add a robot project from another IDE into Robocode.
Contents
Adding your Robot Project to Robocode
Start up Robocode and select Preferences from the Options menu, select the Development Options tab, and then type in the path to your robots project.
Click Finish, then start a new battle (and perhaps press F5 in order to refresh the list of robots), and voila! There's your robot.
You can edit your robot in Eclipse as much as you want. Just remember to save it (CTRL-S) before switching back to Robocode. Robocode will use the latest compiled version, every time you start a new battle.
Eclipse is very powerful, and will assist you greatly in writing robots (or anything else, for that matter). For instance, try hitting CTRL-SPACE when you can't remember the exact wording of something:
References
See also
Using Eclipse IDE
- Using Eclipse as IDE
- Creating a project for your robots
- Creating a robot in Eclipse
- Running your robot from Eclipse
- Debugging your robot with Eclipse
Robot API
Tutorials
- System Requirements for Robocode
- How to download and install Robocode
- The anatomy of a robot
- Getting started with Robocode
- My First Robot Tutorial
- Robocode Game Physics
- Scoring in Robocode
- Using the robot console
- Downloading other robots
- Learning from other robots
- Package your robot
- Frequently Asked Questions (FAQ)
- Articles about Robocode
- Starting Robocode from the command line
- Graphical debugging