Fill the screen up with your circles without being hit by the balls, Huehuehue?

This is a game by iandioch.


Play this game offline by downloading the jar.

Open Source

Download the source here.

Fill the screen up with your circles without being hit by the balls, Huehuehue?


What was your inspiration for the game?

A game I played on Whirled back in the day. It was pretty much identical as far as I remember, except much more polished. Twas very fun.

Did you run into any challenges while creating the game?

Oh so many. This was my first game in Java, as opposed to Processing, and that alone made enough problems to make any grown man cry. But I powered on through, just to reach logic problems. Balls weren't bouncing properly, circles were teleporting, and even still the percentage-o-meter is just a total guesstimation, because for some reason it wasn't working when I used proper values. 

Do you have any future plans for the game?

I don't think so; not in its current state at least. I have a few ideas to jazz it up a bit (coloured balls that do things like exploding after 3 bounces or pushing circles) but I don't think I'll have the time or the will to implement them any time soon.

EDIT: I've noticed that I forgot to remove a little test-dot in the top left corner of the screen. Oh well. It can stay there. Anywho, here's a GIF of me playing and losing the game:



EDIT 19/10/14: jar seems to be borked. Oops. Will see what I can do.

Gaspard [] - September 12, 2013


I throwed an eye in the source... It's pretty clean!

I also found the reason for the area probleme: a^2 doesn't do a2 (10^2!=100) use Math.pow(a,2) instead, by changing that, the area works fine!

For calculating a hypotenus Math.hypot(a,b) is faster than Math.sqrt((Math.pow(a,2)+Math.pow(b,2)).(Because it's hardware accelerated)

But right now performence doesn't matter...

Keep at it, make some awesome game!


iandioch [] - September 12, 2013

I was busy making an Applet class and things,  and decided to make it a bit more polished while I was at it. I took a peek around, improving bits here and there and came across that by myself. Thanks for the input though! Out of curiosity, what does x^y do then? (For reference, I also made the % calculation no longer count circles that are outside the box. Which made it much harder :D)

I had no idea about Math.hypot() though. I'll look into it. A faster distance formula would be great...

Gaspard [] - September 12, 2013

The Game just got like 10x HARDER&COOLER!

Nice Colour touch!

minor glithes left...

I think ^ is bitwise exclusive or:



+ 0|1

0|1 0

1|0 1

But I just read that really long ago asking myself:"What is ^" just like you!

Gaspard [] - September 12, 2013



iandioch [] - September 12, 2013

Yeah there are a few odd glitchy bits left with ball collisions and circles touching each other. But, eh, they add... "charm". Yeah, let's go with that.

Super small circles probably won't be picked up by the percent-o-meter, which now checks every 5 px across and down to see if it's near a circle. This method works sooo much better than the previous one (and, as a bonus, it only picks up circles that are actually on-screen!)

Bitwise witchcraft always eluded me. I think I'll figure out what you mean another day, when my head isn't hurting from Swing...

Thanks for all the nice comments! And great new pic ^^

Michcioperz [] - September 22, 2013

Pretty nice. As I usually say, could go worse ;)

Leave a comment!
Login to leave a comment!