Skip to content

An Engine for mobile 2D games, currently supports only Android

Notifications You must be signed in to change notification settings

KaikyuLotus/hope-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hope Engine

Hope Engine (or Hope) is a 2D graphics engine made for developing mobile games easly
Currently Hope supports only Android, there's no iOS support planned currently.

Architecture

Hope uses a Component-based architecture where any GameObject can be a parent or a child-component. Anything will be a GameObject, you can add GameObjects to a Scene or GameObjects as childs of other GameObjects. Hope is able to render one Scene at time, you can easly switch Scenes.

The structure is as follows:

sequenceDiagram
MainActivity ->> Scene: var scene = new Scene
MainActivity ->> HopeEngineView: SetContentView(this, scene)
HopeEngineView ->> Scene: Scene.Setup()
Scene ->> Scene: AddGameObjects(params...)
Note right of HopeEngineView: Hope gets the<br> GameObjects from<br> the scene and starts<br>the render loop.
Loading

More to be added...