Retronix - a Xonix clone in Java (cross-platform, open source)

Hi!

I’d like to share my recent Java side project - Retronix.
You can play online here or try the Android version.

The game is a clone of 1984 game Xonix.
The objective is to fill up 80% of the board while avoiding obstacles/enemies.

My initial goal was to write a game for my Nexus Player (Android TV).
I had good time implementing it, so I made it cross-platform.

The code currently builds for:

  • Desktop Java (using Graphics2D)
  • Android & Android TV (using SurfaceView)
  • Web (using GWT & Canvas)

The complete source code is available on GitHub.

Nice job :slight_smile: The game is really fun

EDIT: played for about an hour at work. it is addicting as well. had to win at least once lol

Thank you for posting this. Right now I am in the process in making simple 2d game using Java2d(AWT Canvas). Studying your source will help me a lot.

I remember playing this game back whenever. I will download this game and play it, which is rare for me to do.
Going to test out the android version.

Very fun and addicting. Nice job! ;D ;D

Thank you all for the kind words :slight_smile:

I can’t take much credit for the gameplay - since it’s pretty much a 1:1 clone - but I will anyway :wink:

As pointed out by one kind commenter in Google Play, the controls are not obvious, specifically on Android.
I added an issue for myself on GitHub and will try to address it ASAP.
Any suggestions on how to improve this are welcome. I’m considering an on-screen dpad for touch devices but I’m not convinced.

My current high score is 7640 :wink:

I would just use taps. Taps to start moving in that direction. Although, the bug is you aren’t likely to be able to tap to the right of the 2 leftmost pixels, and same with the right. But I guess you can fix this by making it “Tap left right bottom and top of screen to move”

When I swipe, down from top it brings down my menu D:

Tried it on my browser, great game (except I believe I got a bug at some point, a blue ball hitting not the purple line but the cyan square right before it and making me lose a life nonetheless but oh well maybe it was my mistake huh)
However, I downloaded the Android version, and I must say I hate the controls (I’ve always hated swiping cos it leaves huge marks all over the screen), so maybe you should add an option to change them to touch and not swipe (or even better, control the ball by tilting your phone so that you don’t have to touch the screen at all :slight_smile: I HATE TOUCHSCREENS)

J0 :slight_smile:

Played games for an hour at work?
Two questions;

  • Where are you working?
  • Are you currently hiring?

:slight_smile:

This is amazing.

Wow I didn’t see this til now. I work at a call center, on the chat team, and we sell music equipment. a good amount of down time :slight_smile:

This game is truly addictive…

i remember this game, when i was kid,
the good old days :slight_smile: