Difference between revisions of "Tuto tiny-ecs demo Part 1 Setup"
From GiderosMobile
(Created page with "__TOC__ == Project setup == Create a project and call it "''tiny-ecs_demo''" for example. In the project properties, in the ''Graphics'' tab, change: * '''Scale Mode''': Lett...") |
|||
Line 21: | Line 21: | ||
== Assets == | == Assets == | ||
− | For this demo we will use only one ''sound'' for the buttons and one | + | For this demo we will use only one ''sound'' for the buttons and one ''font'' (ttf). You can download them here: |
* '''[[Media:tiny-ecs_demo.zip]]''' '''(tip: right click and save link as)''' | * '''[[Media:tiny-ecs_demo.zip]]''' '''(tip: right click and save link as)''' | ||
Revision as of 00:56, 17 December 2023
Project setup
Create a project and call it "tiny-ecs_demo" for example.
In the project properties, in the Graphics tab, change:
- Scale Mode: Letterbox
- Logical Dimensions: 360 * 640 px
- Orientation: Landscape Left
Plugins
To have the basics of a game I added scenemanager, so please add the following plugins:
- Easing
- SceneManager
Classes
To navigate from Menu to Level 1, we need some buttons and we will also add the tiny-ecs class.
Please create a folder called classes for example and put those two classes in:
- Media:buttonMonster.lua (tip: right click and save link as)
- Media:tiny-ecs.lua (tip: right click and save link as)
Assets
For this demo we will use only one sound for the buttons and one font (ttf). You can download them here:
- Media:tiny-ecs_demo.zip (tip: right click and save link as)
Okay, we are all set up, aren't we?
Prev.: Tutorial - tiny-ecs demo
Next: xxx