Snake++ is a snake inspired game in which you must control a snake and navigate it through a series of levels. in it’s current state is fairly simple and is pretty short so I would like to expand it at least a little as a post LD game. If you have an idea for something you think would be a cool addition to the game I would appreciate that as well.
Controls: - WASD/Arrow Keys to control the snake. - Spacebar to reset/go to the next level
Goal: Reach the colored square without hitting any walls or yourself
- \+ makes you longer - ^ makes you faster
Get the latest source code here. The binary can be found here. It was written on windows, but it should work on linux as well. It currently doesn't run on mac even though there is a jar for it. If you have any experience with lwjgl on mac see below. If you experience any issues with the game let me know. Thanks!
My issue on mac: When I run the jar GLFW complains about it needing to be on the main thread even though my program does not use multiple threads. It suggests running the JVM with -XstartOnMainThread, but when I do that it opens a black window and doesn't render anything. Anything you can share with me is appreciated.
2025 - A web port is available
The year is 2025. Link rot and dead internet theory have come for us all. One developer tries in vain to save their project from the forces that be.
This project has been rewritten as a web game. You no longer need Java. You no longer need to click on suspicious download links. You no longer need to interact with a Google service. Great care was taken to make the web version faithful to the original version in all of its inglory, but it does have a couple of small quality of life changes.
- A pause menu - accessed with the escape key - The ability to turn off music - accessed in either the main menu or pause menu
The style is really awesome, and the gameplay is fun although it is a bit hard to get through the levels,Music is also pretty great. Overall a very good game :D
``` ➜ Ludum Dare 40 Mac java -jar Ludum\ Dare\ 40\ Mac.jar main Exception in thread "main" java.lang.ExceptionInInitializerError at org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:1694) at com.gnarly.engine.display.Window.init(Window.java:119) at com.gnarly.engine.display.Window.(Window.java:79) at com.gnarly.game.Main.init(Main.java:46) at com.gnarly.game.Main.start(Main.java:27) at com.gnarly.game.Main.main(Main.java:78) Caused by: java.lang.IllegalStateException: GLFW windows may only be created on the main thread and that thread must be the first thread in the process. Please run the JVM with -XstartOnFirstThread. For offscreen rendering, make sure another window toolkit (e.g. AWT or JavaFX) is initialized before GLFW. at org.lwjgl.glfw.EventLoop$OffScreen.(EventLoop.java:39) ... 6 more AL lib: (EE) alc_cleanup: 1 device not closed ``` When I use the `-XstartOnFirstThread` I get a black fullscreen window with a white bar at the tob .
The overall idea is neat, but combining snake with solving a maze you can see very little of is unfortunately very frustrating so I couldn't get past the second level :(
Good Game! The music can get a little annoying when repeated a lot, though. It's an interesting take on snake, and it makes use of the theme quite well.
I like the idea of a snake game where you don't know how big you are because most of your body is off screen, and where you have to search around for items and the exit rather than just knowing where they are. I don't know if that's a common feature of snake clones (I haven't played many), but that was cool.
Unfortunately, the controls were a little laggy for me, which made the game hard to play. I don't know if this was just for me, though, so I didn't let it impact my review. I liked the art style, but I hated the music (sorry).
I also agree with another comment that adding [space] to start the game would be useful. I restarted the game a few times before I realized I needed to click the button with my mouse(!).
This was the game I was waiting to play, it's challenging and it makes you want to keep playing, just to beat that next level. And that is only helped by the shaders and music.
I haven't played many snake games but did enjoy this one even though I couldn't get past the 3rd level.
Nice stuff: * Hue-shifting graphics are really nice and contribute to the difficulty
Stuff that can be improved: * Maybe too much random chance vs skill when it comes to locating the exit point? (or maybe I'm just bad) * Adjusting computer audio crashes the game for some reason.
Really enjoyed playing this and was happy to see that someone did a snake game. Controls felt good, and the visuals were great. I like that in the one level, you can go the normal route, which takes you around the entire level, or you could take the shortcut, but it's much more difficult.
I know this is like 4 months late, but if anyone wants to run this on osx, you need to run the jvm with an extra setting, navigate to the folder in terminal, then execute the following command ```java -XstartOnFirstThread -jar Ludum\ Dare\ 40\ Mac.jar```
Comments15
Adding a simple thing like enter to start game would have helped but that is a small thing.
➜ Ludum Dare 40 Mac java -jar Ludum\ Dare\ 40\ Mac.jar
main
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:1694)
at com.gnarly.engine.display.Window.init(Window.java:119)
at com.gnarly.engine.display.Window.(Window.java:79)
at com.gnarly.game.Main.init(Main.java:46)
at com.gnarly.game.Main.start(Main.java:27)
at com.gnarly.game.Main.main(Main.java:78)
Caused by: java.lang.IllegalStateException: GLFW windows may only be created on the main thread and that thread must be the first thread in the process. Please run the JVM with -XstartOnFirstThread. For offscreen rendering, make sure another window toolkit (e.g. AWT or JavaFX) is initialized before GLFW.
at org.lwjgl.glfw.EventLoop$OffScreen.(EventLoop.java:39)
... 6 more
AL lib: (EE) alc_cleanup: 1 device not closed
```
When I use the `-XstartOnFirstThread` I get a black fullscreen window with a white bar at the tob .
Unfortunately, the controls were a little laggy for me, which made the game hard to play. I don't know if this was just for me, though, so I didn't let it impact my review. I liked the art style, but I hated the music (sorry).
I also agree with another comment that adding [space] to start the game would be useful. I restarted the game a few times before I realized I needed to click the button with my mouse(!).
Nice stuff:
* Hue-shifting graphics are really nice and contribute to the difficulty
Stuff that can be improved:
* Maybe too much random chance vs skill when it comes to locating the exit point? (or maybe I'm just bad)
* Adjusting computer audio crashes the game for some reason.