Skip to content

mtresnik/2d-game-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

2d-game-engine

An API for LWJGL (OpenGL in Java) and JBox2d (A java physics engine).

In the first version of the game engine, users can:

  • Load from texture atlases dynamically or statically
  • Import GIFs and WAV files
  • Load transparent images
  • Define custom click detection for images
  • Define custom collision detection based on boundaries
  • Handle keyboard events and mouse events
  • Handle sound events and display events
  • Extend from the GameController class to create a new Game

In the second version of the game engine, users can:

  • Define mouse collision events
  • Model entities and structures using the JBox2d collision handling
  • Save levels to XML files
  • Edit levels while testing them (multiple threads)
  • Import GIFs or multiple PNGs to use as sprite objects
  • Change animation times of different sprites
  • Handle keyboard events and mouse events
  • Handle sound events and display events
  • Use z-filtering for objects that are closer to the screen (creates illusion of depth)

Some Examples of this Game Engine:

Note: I also made the textures used in i++ and Logan's Game

  • i++ (v1)

  • Logan's Game (v1) (I made this for a friend's Birthday)

  • Live Editor (v2)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published