https://github.com/edd-ie/2d-java-template
A template for making apps, games or anything using java's Graphics2D library
https://github.com/edd-ie/2d-java-template
2d-game graphics2d java template
Last synced: about 2 months ago
JSON representation
A template for making apps, games or anything using java's Graphics2D library
- Host: GitHub
- URL: https://github.com/edd-ie/2d-java-template
- Owner: edd-ie
- Created: 2024-08-23T15:44:40.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-23T16:10:26.000Z (almost 2 years ago)
- Last Synced: 2025-08-06T15:46:42.403Z (11 months ago)
- Topics: 2d-game, graphics2d, java, template
- Language: Java
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 2D Template
## Getting started
You have 3 options:
1. Clone/Fork the project
2. Download the zip file
3. Copy the contents of the `src/main folder` to your project.
## How to run
Compile and run the `Main class` file which will result in a window opening displaying a black background and the size of one pixel in the application
## Modification
Most of the modification to how the program runs can be done in the `Game class`:
1. Screen settings
2. Adding Characters
3. Game Fps
4. Game loop
For changes in regard to key presses can be done in the `EvenListener class`
## License
Template is free, use it how you like it 👍