defectivemelon 2020-04-20 21:28
I was unsuccessful in opening this on my computer (Windows) - I have java installed but when clicking the jar, nothing happens
Foon → Ludum Dare Explorer → LD46 → Asteroid Redirect Project
By master-spike, Ben Hack and Aposteriori
| Category | Rank | Score | Count | |
|---|---|---|---|---|
| Overall | 2137 | 3.03 | 28 | |
| Fun | 1478 | 3.20 | 27 | |
| Innovation | 1663 | 3.06 | 27 | |
| Theme | 2033 | 3.20 | 27 | |
| Graphics | 2023 | 2.88 | 27 | |
| Audio | 1418 | 2.72 | 27 | |
| Humor | 1448 | 2.63 | 24 | |
| Mood | 1833 | 3.00 | 25 |
I was unsuccessful in opening this on my computer (Windows) - I have java installed but when clicking the jar, nothing happens
Same as above((
@defectivemelon @rhayegar That's bizarre. Is your Java up to date (req. Java 1.8)? There shouldn't be any other dependencies. Try opening command line in the folder containing the jar and run "java -jar AsteroidRedirectProject.jar" let me know what happens
aye, couldn't open this :/
same can't play
I was a bit confused at the start on how to play, but once I got the hang of it, it was quite fun
I couldn't get the game to run. The jar file didn't do anything even after installing Java.
hey @master-spike I took your suggestion about using command prompt and I got this out put: [LWJGL] Failed to load a library. Possible solutions: a) Add the directory that contains the shared library to -Djava.library.path or -Dorg.lwjgl.librarypath. b) Add the JAR that contains the shared library to the classpath. [LWJGL] Enable debug mode with -Dorg.lwjgl.util.Debug=true for better diagnostics. [LWJGL] Enable the SharedLibraryLoader debug mode with -Dorg.lwjgl.util.DebugLoader=true for better diagnostics. Exception in thread "main" java.lang.UnsatisfiedLinkError: Failed to locate library: lwjgl.dll at org.lwjgl.system.Library.loadSystem(Library.java:162) at org.lwjgl.system.Library.loadSystem(Library.java:62) at org.lwjgl.system.Library.
sorry this a lengthy comment and you might need to delete it but I hope this helps you get it working. I think it has something to do with the lwjgl natives
I've updated the library folder, I think the problem might have been i forgot to add the windowsX86 native libraries. I've actually reuploaded the whole thing as one zip file containing the libraries for every OS rather than different downloads. Although now its 10MB :(. @immortalitybh @david-p @inventivum-games @jasonsumm1 @rhayegar @defectivemelon maybe it will work now. if anyone still has issues let me know.
OK apparently it was a problem with 32 bit Java. I have 64 bit java so this problem didn't occur on my end. Many thanks to all of you who notified me of the problem and my partner Ben for helping fix it :)
Yeah, we've ensured it works at least across windows and linux properly now - sorry for the earlier confusion
pretty neat
Muito Legal
This is a neat take on the planet defence game. Surprisingly enjoyed needing to make a gravity turn to get back into orbit.
I was unable to execute the jar :( I'm using win64 10. It's saying I need `lwjgl_opengl.dll`
After some donwloading, it started working. Please put a README.txt file in the folder which says please download java if you haven't, and give a link to the oracle java website.
Anyways- It is a well thought of game, and its fun to play but here are some suggestions- - The movement feels stiff - The game can easily be defeated by going full speed diagonally (you go to the other side again and again, cover the whole screen and kick all the asteroids off) - The game doesn't go fullscreen (not an issue, but it will be better if thats possible) - I love the 8/16 bit audio, BUT it kind of hurts your ear. Please try to reduce the pitch or the volume
Anyways, good luck in your future as a developer! :)
Some How to run it would be nice for the non Java-friendly users.
@technonugget should be fixed. Didn't realise it was necessary to put that in the root folder as I got it to run on 32 bit and 64 bit Java on my system without extracting that particular .dll into the root folder. Should be there now, hopefully that fixes the issue?
Couldn't open it unfortunately.
Cool game, I found it difficult to control at first.
FOR PEOPLE WHO CAN'T GET IT TO RUN: There is a .bat file called run in the folder, clicking on that rather than the .jar made it run for me
Cool game (love the idea) but it is really difficult to control
error.png
I'm getting this error now, I think it has something to do with my CPU clock speed? idk. I have an AMD Ryzen 7 1700
Working now! Thanks for fixing :) This was fun, as others have mentioned it's hard to control but I enjoy the chaos that causes -- so maybe finding a balance between hard to control, but more predictable would've been helpful. I learned I'm very good at crashing asteroids into earth today
@technonugget OK I think that is something to do with audio sample rate and OpenAL. I think if you try to set your drivers to 44100hz sample rate it should work. You can do this by going to control panel -> hardware and sound -> manage audio devices -> click your audio device under [playback] -> properties and on one of the tabs on the top you should be able to set audio sample rate.
Next time I think I'll just use unity lol. Getting everything to work on everyone's systems has been quite a train wreck.
Doesn't start on Linux with `java -jar AsteroidRedirectProject.jar`. I have OpenJDK 11 and it gives me this error:
``` Exception in thread "main" java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58) Caused by: java.lang.NoClassDefFoundError: org/lwjgl/openal/ALC10 at com.blade2d.audio.AudioMaster.init(AudioMaster.java:23) at com.spacegame.main.Init.loadSounds(Init.java:35) at com.spacegame.main.Init.main(Init.java:15) ... 5 more Caused by: java.lang.ClassNotFoundException: org.lwjgl.openal.ALC10 at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ... 8 more
```
Sorry, i couldn't play :-/
Sadly I couldn't play the game :cry: Let me know If you have a fix or a post jam version would be happy to give it a try! :slight_smile: