SkillAgentSearch skills...

PixelEngine

An almost replica of @OneLoneCoder's olcConsoleGameEngine, but done in Java.

Install / Use

/learn @0Zix0/PixelEngine
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

PixelEngine

How to use

  1. Extend the abstract class Game
  2. Implement the 3 methods onCreate(), onUpdate() and onRender()
  3. Create a new instance of your class and call the start() method.
public class MyGame extends Game {

	public void onCreate() {
		// Called when the application is created.
		// You can use this for initialization.
	}

	public void onUpdate() {
		// Called 60 times a second.
		// Use this for input.
	}

	public void onRender(Renderer renderer) {
		// Called as many times as possible.
		// Use the supplied renderer instance to
		// draw to the screen.
	}
	
	public static void main(String[] args) {
		MyGame game = new MyGame();
		game.start("My Game!", 300, 150, 3);
	}
}
View on GitHub
GitHub Stars7
CategoryDevelopment
Updated7y ago
Forks0

Languages

Java

Security Score

55/100

Audited on Mar 17, 2019

No findings