Difference between revisions of "Tuto tiny-ecs demo Part 1 Setup"
From GiderosMobile
(→Assets) |
|||
Line 22: | Line 22: | ||
== Assets == | == Assets == | ||
For this demo we will use only one ''sound'' for the buttons and one ''font'' (ttf). You can download them here: | For this demo we will use only one ''sound'' for the buttons and one ''font'' (ttf). You can download them here: | ||
− | * '''[[Media:tiny- | + | * '''[[Media:tiny-ecs_demo_assets.zip]]''' '''(tip: right click and save link as)''' |
== Next? == | == Next? == |
Latest revision as of 01:42, 22 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_assets.zip (tip: right click and save link as)
Next?
Okay, we are all set up, aren't we?
Next: Tuto tiny-ecs_demo Part 2 Menu