🤑 Indie game store🙌 Free games😂 Fun games😨 Horror games
👷 Game development🎨 Assets📚 Comics
🎉 Sales🎁 Bundles
A jam entry

Window BreakerView game page »

This game is a prototype similar to invaders.
Submitted by Tux Syndicate with 21 hours, 40 minutes before the deadline

Play game

Visit Window Breaker's game page

Results

CriteriaRankScore*Raw Score
Art/Aesthetic#321.3332.000
Gameplay/Mechanics#331.3332.000
Originality#331.1671.750

Ranked from 4 ratings. Score is adjusted from raw score by the median number of ratings per game in the jam.

Dependencies
Must be able to run mp3 and a Java Jar file. When setting up make sure all four files are in the same Directory since the main Jar file will look for the other files in the current Directory. The Jar file is executable and will need to be launched from the terminal.
For Linux users open the terminal and type:
java -jar WindowBreaker.jar

For Windows users you just have to click the Jar to launch it.

GitHub/Repo
https://github.com/Tux-Syndicate/WindowBreaker

Leave a comment

Log in with your itch.io account to leave a comment.

Comments

Hey! Because I don't know where to begin with rating a game, I just want to tell you that I played your game.

You really should have packaged all the files, so it becomes one download. Also I keep losing, and I don't know why. Good attempt!

Developer

Thanks.  I'll definitely find a way to package it better next time (I'm still pretty new to this game Dev stuff).  It's designed to have limited ammo that replenishes if you hit a target.

Exception in Application start method
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:389)
at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767)
Caused by: java.lang.RuntimeException: Exception in Application start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$1(LauncherImpl.java:182)
at java.lang.Thread.run(Thread.java:748)
Caused by: MediaException: UNKNOWN : com.sun.media.jfxmedia.MediaException: Could not create player! : com.sun.media.jfxmedia.MediaException: Could not create player!
at javafx.scene.media.MediaException.exceptionToMediaException(MediaException.java:146)
at javafx.scene.media.MediaPlayer.init(MediaPlayer.java:511)
at javafx.scene.media.MediaPlayer.<init>(MediaPlayer.java:414)
at WindowBreaker.start(WindowBreaker.java:81)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$8(LauncherImpl.java:863)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$7(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at com.sun.glass.ui.gtk.GtkApplication.lambda$null$5(GtkApplication.java:139)
... 1 more

Caused by: com.sun.media.jfxmedia.MediaException: Could not create player!
at com.sun.media.jfxmediaimpl.NativeMediaManager.getPlayer(NativeMediaManager.java:274)
at com.sun.media.jfxmedia.MediaManager.getPlayer(MediaManager.java:118)
at javafx.scene.media.MediaPlayer.init(MediaPlayer.java:467)
... 11 more

Exception running application WindowBreaker

Developer

Are all 4 files in the same directory?  Looks like the media player can't find the mp3.  You need all 4 files.

yes

Developer (Edited 1 time)

It seems some people are having trouble when using OpenJDK.  Have you tried the Oracle JDK?  This has been a good learning experience for me.  I'll definitely do more testing for the client side next time.

Could you zip these together so that itch's client can just download all necessary files instead?

Developer

Wish I thought of that sooner.  Thanks.

Error: Could not find or load main class WindowBreaker
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application
On Arch Linux (jre9-openjdk  9.0.4)
Developer (Edited 2 times)

Strange, I was using Oracle's JDK.  Not sure if it makes a difference or not.  Did you place all four files in the same directory?  Were you using the provided jar and media files or the source code off GitHub?  Also it said couldn't find main class.  Are you in the directory that contains the jar before launching?

I followed the instructions correctly. I found out that you had to install openjfx separately and use openjdk-8. Now I get the same exception as the guy commenting above

Developer

Do you have non-free codecs installed?  I can't remember if mp3 was proprietary or not.  It may be the issue.

Yeah I do. MP3 is free now by the way. 

Developer(+1)

So the licensing fee terminated and it's now freeware.  That's awesome.  Sorry, I wish I could help more but it's difficult to troubleshoot over a message board.  Java programs are supposed to be easy to implement across platforms, but there must have been some problems with my implementation I did not foresee.  At least Gardener was able to get it working granted with some difficulty.  I will use this as a learning experience and do better next time.