RGBall

by stmatn
co-authored: @mischu
Overall★★★★★★★★★★3.00
Fun★★★★★★★★★★3.00
Innovation★★★★★★★★★★3.00
Theme★★★★★★★★★★3.00
Graphics★★★★★★★★★★3.00
Audio★★★★★★★★★★3.00
The goal of the game ist to keep the ball from loosing all its energy. If it hits the energybars, located on the screen edges, it looses some energy, if the color of the ball and edge do not match. Otherwise you score a point and the ball gets a bit faster.
Try to keep the ball energized as long as possible.

Post youre score in the comments! (Dev record: 77)

Controls:
Use the arrow keys or WASD to change the color of the energy bar on the corresponding side

(A working Java8 JRE or JDK is required to run the game. Please extract the archive before starting the program)

Genres: action

Comments2

Aterlamia
Aterlamia6 Aug 2017, 19:09
Tried to play your game however it had some problems that made it crash

Maybe this helps (is on a linux machine)

```
SoundController: Error loading sound file 0: No line matching interface Clip supporting format PCM_SIGNED unknown sample rate, 16 bit, stereo, 4 bytes/frame, big-endian is supported.
SoundController: Error loading sound file 1: No line matching interface Clip supporting format PCM_SIGNED unknown sample rate, 16 bit, stereo, 4 bytes/frame, big-endian is supported.
Exception in thread "Thread-1" java.lang.NullPointerException
at controller.SoundController.playSound(SoundController.java:56)
at controller.GameStateController.bounceOffWall(GameStateController.java:148)
at controller.GameStateController.checkWalls(GameStateController.java:109)
at controller.GameStateController.doMovement(GameStateController.java:87)
at controller.GameStateController.actionPerformed(GameStateController.java:61)
at controller.ClockGenerator.run(ClockGenerator.java:45)
```
Anatei
Anatei21 Aug 2017, 11:46
Nice game.

Other games by @stmatn

Found a bug?
Tell us on Discord