First blood: New graphic engine
opened this issue · comments
Introduction
The current version of Dangernoodle is running based on Java's JavaFX, which is arguably "terrible". Thus this ticket is created in order to move dangernoodle to a new graphic engine chosen by the contributors.
Engines
Currently there are two "good" engines that can be used with Java:
- LWJGL
- libGDX
While I'm leaning toward LWJGL, the decision must be agreed upon by the majority of the contributors.
Milestone
- Refactoring all visual-related files that use JavaFX to LWJGL.
The tutors would love to see this ported (and I'm willing to help) to libGDX, as we are looking to move to it for 2017!
Note that regardless of the engine the porting of the game may not take much time since only files that direct JavaFX to render (e.g. EffectDisplaySystem) will need to be adjusted. The logic will not be changed, only the lines that call the rendering functions.
Update 14/12/2016
libGDX projects are created with its own tool, thus gradle scripts are created automatically. For the moment I need to learn gradle before starting to move things from the current dangernoodles' files to the new files from libGDX. Also note that libGDX uses a different framework compared to JavaFX and the way it works is more similar to Unity or Unreal Engine than JavaFX, thus some mechanism may be changed over the couple of weeks.