Difference between revisions of "Tuto tiny-ecs demo Part 1 Setup"

From GiderosMobile
Line 29: Line 29:
  
  
Prev.: [[Tutorial - tiny-ecs demo]]</br>
 
 
'''Next: [[Tuto tiny-ecs_demo Part 2 Menu]]'''
 
'''Next: [[Tuto tiny-ecs_demo Part 2 Menu]]'''
  

Revision as of 03:27, 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:

Assets

For this demo we will use only one sound for the buttons and one font (ttf). You can download them here:


Okay, we are all set up, aren't we?


Next: Tuto tiny-ecs_demo Part 2 Menu


Tutorial - tiny-ecs demo