Skip to content

Ishidawg/Snake-FXGL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake FXGL 🐍

A game created using FXGL to learn and be more familiar with java sintax.

I've created this game to learn more about Java, OOP, A&DS (arrays) and to be more familiar with java sintax. This was my goal so I can expand things a little more and do a Spring project and stuff.

FXGL 11 was my choice because I see that the author is very compromised with teaching others to use it, the FXGL github page has so many examples, his youtube channel is full of videos and the wiki is kinda decent. Also, I did use a little bit of Swing before and JavaFX was way more recommended. There is another framework that I want to use called libGDX.

The art was made by myself (cleary inspired by the google's snake) on Inkscape (svg to png). Also the "soundtrack" (sounds like a kid smashing a Nokia 3310 buttons with the highest sound possible) that I made was created using a free website called Song Maker.

Never been much of a Java fan tho... but now I think I like it more.

snake

Installation

You are able to play on Windows, Linux and Mac OS X, just access the release page and give it a try.

Note: I was not able to test the Mac OS X version, but I will assume that it just works because both - Linux and Windows - works fine.

Other

I have used the packr (from the creators of libGDX) to build my project and distribute to Windows, Linux and Mac OS X pretty straightfoward.

In fact, the only build that I had issues with, was the Windows version, because I had to use another SDK with JavaFX included (since it was removed in the past) from bellsoft called Liberica Full JDK 21.0.8+12 x86 64, this SDK has pretty much every dependency that I need to run the game on Windows.

Another tool that I used just to add an icon to the snake.exe was Icon Changer.

The background music that keeps looping in the game is kinda broken, because it's doesn't loop perfectly. I don't know exactly why tho...

About

Never been much of a Java fan...

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages