Giter VIP home page Giter VIP logo

2nd's Introduction

JLud2D

JLud2D is an old-school engine for games, currently in Java 8. It is compatible with Tiled maps, RPG-style characters and sprites, and MP3, MIDI, VGM, S3M, MOD and XM music formats.

Overview

The engine provides useful classes and methods for rapid development.

Below is an example of switching from a map to another one:

	void exit() {
		mapswitch(Planet.PALMA, 84, 49);		
	}

Here is an example of a map script used when talking with an entity:

 void robot() {
		EntStart();
		PSMenu.Stext("You are trespassing. Go back!"));
		EntFinish();
	}

List of Features

  • 2D Engine;
  • Multi-plataform;
  • Tiled support (JSON format), a free, easy to use and flexible tile map editor;
  • You could run and debug the game code in some advanced IDE like Eclipse or Netbeans;
  • Music formats: MP3, MIDI, VGM, S3M, MOD and XM;
  • Sound formats: WAV, VOC and MP3;
  • Graphic formats: PNG, JPG, GIF, PCX and others - basically all you can load using Java;
  • Easy-to-use API;
  • Suitable for 2D board games, RPG games, platform games and many more.

Getting Started: I want to play

You can download just the demo / game you want to play and execute it with Java 8 command line:

java -jar Demo.jar

They are located in the /redist folder.

Some important notes

  • F5 for sound off/on
  • F6 for full screen
  • F7/F8 to increase/decrease frame delay.

Getting Started: I want to develop

JLud2D uses Maven as a Dependency Management system. An intermediate to experienced Java developer should have no problem working with the repository. Feel free to fork it and contribute.

Tips

Planned features:

  • Caching for fast loading
  • Implement music volume
  • Joystick support
  • Socket implementation
  • Movie playback implementation
  • LUA parser for easy scripting
  • Mobile support
  • Check 3D API with fixed-z (~2D) to enable Video optimization

Bugs and Updates:

  • Check VGM loops (right now they aren't looping)
  • VGMs don't play, just VGZ.
  • Implement key mapping (b1,b2,b3,b4)
  • Verify ColorFilter, Implement Rotate, Flip, etc (See Graphics2d Rotate, Scale, etc)
  • Make it more OO (less static methods, no public properties, no static imports)
  • Entities' movement get screwed after talking to them
  • Investigate why sometimes the transparency stops working (when swapping window/full screen)

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.