Re: Using a different image for the tank chassis, gun and radar?
fnl <[email protected]> Sun, 29 May 2016 14:07:53 -0700 (PDT)
| Newsgroups | gmane.comp.java.robocode |
|---|---|
| Message-ID | <[email protected]> |
Hi Paul, The images for the distributions files is located in the robocode-ui-1,9.x.x.jar file which you can find under the libs folder of the robocode installation dir. You can open the .jar file with a zip tool like 7-zip or similar. The images are located under /net/sf/robocode/ui/images/ You can replace those using 7-zip as well (drag'n'drop). Note that all bluish colors are automatically replaced by Robocode with the real tank color. Also notice that Robocode can handle alpha colors as well. Cheers, - Flemming Den søndag den 29. maj 2016 kl. 12.17.54 UTC+2 skrev [email protected]: > > Hi, > > I've come across Robocode whilst looking for some sort of programming game > to use with my Year 9 pupils in their IT lessons and it looks perfect! > > However, To make each pupils tank more unique I'd like to be able to > either change the default image for the chassis, gun and radar, or even > give them a choice of 2 or three designs/ give them the ability to draw > their own as an extension or homework task. > > Would anyone be able to tell me where the image files are actually stored > in the robocode install directory? That way I can see if it even possible > to adjust the icons etc. > > Many thanks, > > - Paul > -- You received this message because you are subscribed to the Google Groups "robocode" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.