Giter VIP home page Giter VIP logo

rgge-engine's Introduction

RGGE-Engine

RGGE is a 2d java game engine using LWJGL3

To use RGGE please download the dependencies from Here After downloading them add them to a projects class path.

From here creating a game is simple, but you must know some basic ideas first. #####Debugging While you are debugging you must create a new instance of the engine. Basically you are calling the engine. This means you need to create a new Main function that creates a new Engine instance but with an extra boolean in the constructor (This boolean tells the engine you're in debugging mode and it will not act as a release). The Main function you created will only be used while debugging and when it is released will never be touched again #####Release Upon releasing you need not do anything to your Main function as it will be ignored. During the release the engine will call your Game class. This means that you will be loaded in when the engine is ready. Keep in mind that load order of jars is important as Mods act in the same ways games work. #####Creating your game Now all you need to do is create a new Main function (Entry point) and call a new engine with the boolean true in the constructor (To notify the engine it's being run in debug mode). Similar to: Engine engine = new Engine("My cool game name", true); after that you will want to create a new Subclass of the Game class. Then go back into the main function and add a new line engine.loadGame(new MyGameSubClass()); now your game is running. Simply put all your logic in the constructor of the MyGameSubClass class. From there you can create scenes, focus scenes and various other things this engine can handle

##Documentation Link

rgge-engine's People

Contributors

spanishtech avatar

Stargazers

 avatar

Watchers

 avatar

rgge-engine's Issues

Game plugin

Make the engine load gamecode from packed jars (makes mods easier)

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.