Difference between revisions of "Tutorial - tiny-ecs demo"

From GiderosMobile
 
Line 4: Line 4:
 
Hello developer!
 
Hello developer!
  
In this tutorial, we will build a little demo using '''tiny-ecs'''. The aim is to demonstrate most of tiny-ecs functions.
+
In this tutorial, we will build a little demo using '''tiny-ecs'''. The aim is to demonstrate most of tiny-ecs functions (''cf'': '''[[Tiny-ecs|tiny-ecs API]]''').
  
  
Line 13: Line 13:
 
There will be one level in which you will "''kill''" the actors by pressing the spacebar on your keyboard. After a certain amount of hit, the actors "''die''" :-(
 
There will be one level in which you will "''kill''" the actors by pressing the spacebar on your keyboard. After a certain amount of hit, the actors "''die''" :-(
  
You will control the player1 with the arrow keys on your keyboard, and the enemies will have basic AI.
+
You will control the player1 with the arrow keys on your keyboard, and the enemies will have basic '''AI'''.
  
  

Latest revision as of 02:59, 22 December 2023

The first time I used the ECS paradigm to code a game, I was hooked! Let me share with you my excitment :-)


Hello developer!

In this tutorial, we will build a little demo using tiny-ecs. The aim is to demonstrate most of tiny-ecs functions (cf: tiny-ecs API).


First let's see what we will build:

Tiny-ecs demo pic1.png Tiny-ecs demo pic2.png

There will be one level in which you will "kill" the actors by pressing the spacebar on your keyboard. After a certain amount of hit, the actors "die" :-(

You will control the player1 with the arrow keys on your keyboard, and the enemies will have basic AI.


Let's do it!


Written Tutorials