JacksonHoggard / voodoo2d

👹 2D Java Game Engine built in OpenGL
MIT License
128 stars 51 forks source link

Code refactoring and fullscreen support #31

Closed GarrettBassen closed 11 months ago

GarrettBassen commented 11 months ago

Description

Player: Animation conditional statements made more readable

Game: Made variable spacing more consistent with rest of program

Window: Made variable spacing more consistent with rest of program Added javadocs to primary functions Added support for windowed, windowed fullscreen, windowed borderless Reformatted init() for readability and added comments Removed outdated constructors

Main: Inlined VSync and Anti-Aliasing variables Changed gameEng() arguments to work with updated window class

GameEngine: Made variable spacing more consistent with rest of program Removed outdated constructors Added javadocs to certain functions

Type of change

Checklist: