MatchNik

Working on another puzzle game. The rules are pretty simple:

  • Draw a path through 2 or more same coloured blocks to make them disappear
  • The path can’t go back on itself
  • White blocks match anything
  • Black blocks don’t need to disappear
  • Objective: Clear all the blocks

It’s available as a prototype to try on the web here:

https://dl.dropboxusercontent.com/u/1668516/games/matchnik/index.html

Desktop version:

https://dl.dropboxusercontent.com/u/1668516/games/matchnik/matchnik-1.1.0.jar

Android version:

https://play.google.com/store/apps/details?id=org.newdawn.matchnik

Cheers,

Kev

would be cool with a desktop version.

Updated to include 64 levels.

Cheers,

Kev

Fun game! Aside from standard polish I’d recommend adding a score system based on the number of moves you’ve made and having the block removal sound’s pitch correlate with that color’s visible light frequency, ex: green would produce a higher pitched sound than orange when destroyed.

Misc: I skipped to level 64 and was able to beat it on my first try by just destroying everything from the ground up. I have yet to beat 63 from a few attempts. Perhaps level 64 needs a buff?

Well done.

Hey, thanks! :slight_smile:

Scoring - yeah good plan - maybe a par per level.

Levels are actually randomly generated just tend towards harder at the bottom.

Tones - on the android version the tones changes as you select different blocks. Seems like the HTML5 output from LibGDX doesn’t support it :frowning: Will get pitched version of the tone to cope with it.

Thanks for the feedback!

Cheers,

Kev

63 is easy too.

Just drag the white ones around EVERYWHERE.

Btw, is that a bug:
If I drag from a white block, I can get rid of nearly everything, no matter what colour, as long as I don’t cross my path.

Yep, fair play, definite bug. Will resolve it shortly.

Cheers,

Kev

Fixed up and tones added.

Cheers,

Kev

Why? Why you make game so quick?!

Nice game btw ;D

Just throwing things at the wall to see what sticks atm. Glad you enjoyed and thanks for playing! :slight_smile:

Cheers,

Kev

Would be nice to see a desktop version :slight_smile:

Fixed a few more bugs and updated.
Added a random game option.

Desktop version is also available here now: https://dl.dropboxusercontent.com/u/1668516/games/matchnik/matchnik.jar (executable JAR).
Note that on OSX you’ll need to be using Java 6 (not 7).

Cheers,

Kev

Reeeally fun and addicting game, good job! I feel like it needs a little more challenge though. Perhaps you could have a maximum number of moves to complete each level or a star system as in Angry Birds based on how many moves it took you to complete each level.

Pretty fun game, cute graphics and nice sound effects. But I think it’s a bit too easy :p, bringing in some interesting mechanics would be awesome, like a multicoloured block or something…

Good job so far

Thanks for the feedback guys! Really appreciated.

Thinking about mechanics at the moment, but the match anything (white block) is already in there. Might add cracking blocks that disappear once they hit the floor.

Just updated with time pars - you can now complete the levels to get green or do it in the time par to get gold!

Cheers,

Kev

Playing the game using the .jar is very… strange. When I start a level, I’m able to destroy any block I click and when I press the “X” it cycles through each block and I’m able to place blocks. The game starts with the editing mode enabled, and only sometimes does it let me change it back to normal by clicking the pencil at the top. When I keep placing a block in the same place, it gets bigger until it crashes and throws an ArrayIndexOutOfBoundsException (I’m assuming it’s because it tried to place a block outside of the screen). The full error:

Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeExcepti
on: java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: 10
        at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplicati
on.java:113)
Caused by: java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException:
 10
        at org.newdawn.gdx.StateBasedGame.render(StateBasedGame.java:196)
        at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplic
ation.java:187)
        at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplicati
on.java:110)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 10
        at org.newdawn.matchnik.Puzzle.add(Puzzle.java:111)
        at org.newdawn.matchnik.PuzzleState.mouseDown(PuzzleState.java:191)
        at org.newdawn.gdx.StateBasedGame.render(StateBasedGame.java:173)
        ... 2 more

Also, the first eight levels are empty, and they’re automatically completed when I click them.

Neither of these issues occur on the web version. Though on the web version, the game gets reeeeeally slow in the level selection screen as well as when transitioning in and out of that screen. Once playing a level though, it’s smooth.

Can’t reproduce the web issue, it’s smooth here.

However, the desktop issues - yep, just a bad build I’m afraid. New version here:

https://dl.dropboxusercontent.com/u/1668516/games/matchnik/matchnik-1.0.9.jar

Cheers,

Kev

Ok got strange bug on desktop.

If I pick level 1-8, nothing to play it just suddenly goes into win condition. “Level Complete” with instruction above. When I click level 9-16, I go into N-8 level. So click 9 get me level 1 and so on. Clicking level 17 get me a level where purple introduced, which I believe level 9.

Is that with matchnik-1.0.9 Rebirth? I’m trying it here and not seeing any problems.

Cheers,

Kev

Now it crashes when I start a level. Error:

Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeExcepti
on: java.lang.NoSuchMethodError: org.newdawn.gdx.Font.setColor(FFFF)V
        at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplicati
on.java:113)
Caused by: java.lang.NoSuchMethodError: org.newdawn.gdx.Font.setColor(FFFF)V
        at org.newdawn.matchnik.PuzzleState.draw(PuzzleState.java:100)
        at org.newdawn.gdx.StateBasedGame.render(StateBasedGame.java:131)
        at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplic
ation.java:187)
        at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplicati
on.java:110)

The web issue isn’t be too much of a problem. Might just be my browser or laptop.