Skip to content
Frédéric Delorme edited this page May 11, 2018 · 2 revisions

Single Class Game

Introduction

This simple project attempts to provide some basics architecture and tools to build a very simple 2D pixelized game, based on Java language and API.

It will propose :

  • standard Game loop with a constant FPS,
  • traditional update(float) and render(Graphics2D) to manage all things in the game,
  • GameObject management,
  • lightweight "physics" computation to provide near realistic things,
  • collision and constrained physic and rendering.

Build

Using the standard Maven command to build and package, the default command to know is:

$> mvn clean install

This will build the full project into the target/ directory.

Run

You can choose between 2 ways :

Maven plugin execution

Execute xxx.exe

On the windows platform, you will be able to run a specific executable:

c:\> target\singleclassgame.exe

Develop

  • Just go and visit : the github repository.
  • and see the CONTRIBUTION.md file to get some advice on how to contribute to the war effort ;)

Have Fun !

McG.

Clone this wiki locally