Giter Site home page Giter Site logo

hexbox's Introduction


Java/LibGDX 2D Sandbox Game

Here is a video of the game : https://www.youtube.com/watch?v=07fbVSpqpe8 You can download a compiled .jar of it at http://hexabeast.com/TrucLatest.jar I decided to make it open-source because I don't work a lot on it anymore. People that wanted to help me are now free to do it. The code wasn't meant to be shared, so it is uncommented and probably not easy to understand.

I just ask for one thing : If you use parts of my code, or if you work on the whole project, please share it here, don't keep it for yourself.


HexaTextureTools contains a python script that creates appropriate textures from simple 8*8 tiles android, core and desktop are part of the Gradle libgdx project (even if android is disabled), assets are in android and code is in core.

HexBoxServer contains the multiplayer-related server code, it needs kryonet (in java build path/libraries in eclipse), which is included as a jar file.

The rest of the dependencies (libgdx...) should be handled by Gradle when importing the project.

To import this project in Eclipse:

-Step 1 : install Gradle for Eclipse in order to setup the project properly

-Step 2 : Import the whole project in Eclipse with Gradle

-Step 3 : Create an empty java project in the HexBox workspace (named "server" or anything else), add the content of the HexBoxServer directory inside this project

-Step 4 : add the jars (gdx/kryonet) from inside the server project in its java build path if you have errors

-Step 5 : add the server project and the kryonet jar to core's java build path

-Step 6 : If you have no errors, right click the desktop project, Run as Java Application, select DesktopLauncher.

-Step 7 : I hope it works :P

Please tell if something is broken, it is highly probable since I nearly haven't touched this project in a year and I don't remember everything about this project as well as before.

If you achieve to import it properly, please tell me too :)

hexbox's People

Contributors

hexabeast avatar ry-ds avatar matdu avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.