Difference between revisions of "Tuto tiny-ecs demo Part 1 Setup"
From GiderosMobile
Line 30: | Line 30: | ||
Prev.: [[Tutorial - tiny-ecs demo]]</br> | Prev.: [[Tutorial - tiny-ecs demo]]</br> | ||
− | '''Next: [[ | + | '''Next: [[Tuto tiny-ecs_demo Part 2 Menu]]''' |
'''[[Tutorial - tiny-ecs demo]]''' | '''[[Tutorial - tiny-ecs demo]]''' | ||
{{GIDEROS IMPORTANT LINKS}} | {{GIDEROS IMPORTANT LINKS}} |
Revision as of 02:00, 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: Tuto tiny-ecs_demo Part 2 Menu