Game Engine to facilitate designing java games.
-
- call
Helper.Load()
function to load all images from the res folder. - you can change any variable value to suit if needed.
- call
-
- provide frame title and font file path.
public Splash(String title, String fontFile) { //class constuctor }
- set buttons' actions
- provide frame title and font file path.
-
- initialise Keyboard & Mouse Actions.
- implement required functions.
- provide frame title.
public Game(String title) { //class constuctor }
-
- all game objects should inherit this class.
- provide position, image and object behavior.
public BaseObject(float x, float y, Image image, float velX, float velY) { //class constuctor } protected abstract void tick(); protected abstract void render(Graphics g);
-
- all objects should be inserted in this list
private static CopyOnWriteArrayList<CopyOnWriteArrayList<BaseObject>> object = new CopyOnWriteArrayList<>();
- add all game object lists of type CopyOnWriteArrayList<BaseObject>
usingpublic void addHandler(CopyOnWriteArrayList<BaseObject> list)
- all objects should be inserted in this list
-
- implement to set buttons' actions
protected abstract void setActions();
- implement to set buttons' actions
Name | Account |
---|---|
Mahmoud Medhat Mehisen | @MahmoudMehisen |
Mariam Mostafa | @MariamMostafa27 |
Mina Toma | @MinaToma |
Youssef Sobhy | @YoussefSobhy |
Ziad Abd Elrahman | @ZiadAbdElrahman |
For further information read atariCore's javadoc and to see the core in action checkout AI-Atari