You will need to know how to add game library's and how to add the src to the project as well we will not host tutorials on this subject we suggest using youtube.
The doc included must be read from the doc folder it does not load in the programming program because it is a .txt not a .html so if you want to get started we recommend you look at it first.
This is a game library for people who are just starting it has simple setMouse and setIcon methods we recommend placing Display.create(); after Display.setTitle(); and Display.setSize(); otherwise you will face glitches
public class YourClassNameHere{ public static int width = Your Width Here; public static int height = Your Height Here; public static boolean fullscreen = false; public static boolean closed = false;
public static void main(String[] args) throws DGLException{
YourGameClassHere yourgameclasshere = new YourGameClassHere();
if(!closed) { Util.loadProperties(); GL10.displayVersion(); Display.setTitle(Title Here); if(!fullscreen) { Display.setSize(width, height); Display.centerWindow(); Display.setResizable(true); Display.enableResize(width, height); } else { Display.setFullscreen(fullscreen); }Display.add(yourgameclasshere); Display.create(); Display.setMouse(path to your icon here); Display.setIcon(path to your mouse here); //Display.pack();
Added its very own look and feel Added a auto opening console like it would in c++ Added the ability to change the look and feel Ranging from your pc to the old JWindow Added the Chunx api (With Permission) Added sockets for networking (basicly javas normal socket just made easier to understand) Added if using sockets new Sockets("ip here", port, streaming ); if it is successful the console will display and stay green if not it goes read and stops Added its own exceptions Added its own annotations (see the doc folder for more) Added different "Bit" rectangles I.E DoubleRectangle, FloatRectangle Added shape Rect (Just Rectangle cut down) Added a texture manager for (Images see the doc folder for more) Added a sound system the can play, stop and loop sounds (see the doc folder for more)(Currently In Progress Because Of A NullPointer) Added a CanRun implementation so if a class implements CanRun it get the run method added a start method added and a stop method added Added commands I.E Commands.printToConsole(message); <---- Use this command to print to the new console as the old is no longer used Added a frameless frame movment (buggy but works) to use to Display.removeFrame(true); Added a default frame name if one is not set Added a defaulticon if one is not set Added a defaultmouse if one is not set Added a Listeners implementation where if a class implements this it get all the key / mouse / focus listeners (this is easier then having to write out seven each time you want to use them) Added Colour the ability to set a custom colour yes it is spell Colour not Color with this game library Bug fixs