Snake++ by Gnarly Narwhal

[raw]
made by Gnarly Narwhal for LD 40 (COMPO)

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

Untitled.png
Untitled.png

Get the latest source code here on github. 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.

Ratings

Overall 189th 3.643⭐ 23🧑‍⚖️
Fun 277th 3.429⭐ 23🧑‍⚖️
Innovation 596th 2.5⭐ 23🧑‍⚖️
Theme 328th 3.476⭐ 23🧑‍⚖️
Graphics 288th 3.429⭐ 23🧑‍⚖️
Audio 131th 3.525⭐ 22🧑‍⚖️
Humor 527th 1.889⭐ 20🧑‍⚖️
Mood 530th 2.632⭐ 21🧑‍⚖️
Given 17🗳️ 8🗨️

Feedback

MCRewind
04. Dec 2017 · 04:41 UTC
level 3 gave me a seizure but overall p legitty
Bocodillo
04. Dec 2017 · 20:40 UTC
Cool take on snake! Music was a little abrasive to listen too but still good. Loved the way it looked though.
tgiant
05. Dec 2017 · 07:48 UTC
Nice game. I did enjoy the music.
Adding a simple thing like enter to start game would have helped but that is a small thing.
Sinci1
05. Dec 2017 · 09:08 UTC
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
Wakka2
05. Dec 2017 · 12:06 UTC
```
➜ 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.<init>(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.<clinit>(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 .
MarshCannon
05. Dec 2017 · 20:09 UTC
I had fun with it! Very difficult game. I do wish there was a little more room to maneuver.
omaskery
05. Dec 2017 · 20:12 UTC
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 :(
Alex Davies
05. Dec 2017 · 20:19 UTC
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.
Noble Robot
05. Dec 2017 · 21:41 UTC
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(!).
Balduvian Dead
05. Dec 2017 · 22:37 UTC
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.
Tessa
06. Dec 2017 · 05:41 UTC
Was a blast! Second level really got me :) But made it all the way through!
sleepystrix
06. Dec 2017 · 05:59 UTC
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.
ManBeardGames
06. Dec 2017 · 15:11 UTC
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.
Reality Blind
06. Dec 2017 · 19:50 UTC
Nice game, well done :)
C1FR1
24. Apr 2018 · 18:56 UTC
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```