Author Topic: A little confused  (Read 1332 times)

Offline Somebody

  • *
  • Posts: 7201
  • Rep: 13
  • CP: +2
    • View Profile
    • Awards
A little confused
« on: December 20, 2008, 05:08:56 PM »


I didn't change ANYTHING in my game, but now the box for the bot's pic has a green background (I cut out the bot :biggrin:) All I can think of is that I was going through the BBEANS 3 bots (thanks Click), and FIXXXER had the same-colored background.

Edit: and it only happens on this bot
I built that big robot on that TV show that time


Offline Clickbeetle

  • *
  • Posts: 3374
  • Rep: 21
  • In Soviet Russia, bugs stomp YOU!
  • Awards BOTM Winner
    • View Profile
    • Beetle Bros site
    • Awards
A little confused
« Reply #1 on: December 21, 2008, 09:20:38 PM »
It's because you did a battle in the Small Arena.

The background color is always the color of the sky in the most recent arena you did.  The default color is gray.  The combat arena is black, and the small arena is lime green, hence the color change.

To lack feeling is to be dead, but to act on every feeling is to be a child.
-Brandon Sanderson, The Way of Kings

Offline Somebody

  • *
  • Posts: 7201
  • Rep: 13
  • CP: +2
    • View Profile
    • Awards
A little confused
« Reply #2 on: December 21, 2008, 09:29:30 PM »
What do you mean, "most recent arena"?
I built that big robot on that TV show that time


Offline Sage

  • *
  • Posts: 6179
  • Rep: 11
  • RA2 Wizard & GTM's Favorite Stock Builder 2015
  • Awards Sage's Favorite BOTM Winner
    • View Profile
    • Awards
A little confused
« Reply #3 on: December 21, 2008, 09:50:22 PM »
Quote from: Somebody;25124
What do you mean, "most recent arena"?

the arena you were last in. If you were in the test garage, the background will be gray. There's something in firebeetle's cheat thing that lets you change it in the test garage, I believe. I could be wrong.
You got my vote for RA2 Wizard. Always and forever.

Offline Urjak

  • *
  • Posts: 2753
  • Rep: 6
  • Shell Spinner King
    • http://www.youtube.com/wa
    • View Profile
    • Awards
A little confused
« Reply #4 on: December 21, 2008, 10:37:39 PM »
That is Awesome. I will have to make sure that I fight all my bots in the small arena before I take a screenshot. I love that green background.
Any comments would be appreciated. :D

Offline R1885

  • *
  • Posts: 2127
  • Rep: 3
  • Forum shopping list generator.
    • View Profile
    • Awards
A little confused
« Reply #5 on: December 21, 2008, 11:07:11 PM »
Sweet.

Offline philetbabe

  • *
  • Posts: 497
  • Rep: 2
  • Drop D
    • View Profile
    • Awards
A little confused
« Reply #6 on: December 22, 2008, 04:02:15 AM »
the best way to define the background color is to set it in your practice arena :

go under RA2/Arenas.
Open the file practice.py

in the 'init' function add the line setting the background color :
ie sample init function with a 'broken white background' :

Code: [Select]
   def __init__(self):
        Arenas.SuperArena.__init__(self, "Arenas/practice arena/practice_arena.gmf")
        self.window = None
        plus.setBackColor(50,50,50)

To define the good colors code, they are many site, here is one :
http://html-color-codes.com/rgb.html

Offline Somebody

  • *
  • Posts: 7201
  • Rep: 13
  • CP: +2
    • View Profile
    • Awards
A little confused
« Reply #7 on: December 22, 2008, 08:04:42 AM »
Thanks guys. Click's right, I had just downloaded the small arena when I tested this. (and then tested it again with the hazard on, just to find out [8(])

It was a fail bot anyways, but I was wondering if I had messed something up. Is that just a glitch in the programming or is it supposed to change colors like that?
I built that big robot on that TV show that time