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

From GiderosMobile
(Created page with "'''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 simple d...")
 
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
'''The first time I used the ECS paradigm to code a game, I was hooked! Let me share with you my excitment :-)'''
 
'''The first time I used the ECS paradigm to code a game, I was hooked! Let me share with you my excitment :-)'''
 +
  
 
Hello developer!
 
Hello developer!
  
In this tutorial, we will build a simple 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 10: Line 11:
 
[[File:Tiny-ecs_demo_pic1.png|320px]] [[File:Tiny-ecs_demo_pic2.png|320px]]
 
[[File:Tiny-ecs_demo_pic1.png|320px]] [[File:Tiny-ecs_demo_pic2.png|320px]]
  
There will be only one level in which you will "''kill''" the actors by pressing the space bar on your keyboard. After a certain amount of hit, they "''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'''.
  
  
 
Let's do it!
 
Let's do it!
  
* [[Tuto tiny-ecs_demo Part 1 Setup]]
+
* '''[[Tuto tiny-ecs_demo Part 1 Setup]]'''
* ...
+
* '''[[Tuto tiny-ecs_demo Part 2 Menu]]'''
 
+
* '''[[Tuto tiny-ecs_demo Part 3 tiny-ecs World]]'''
 
+
* '''[[Tuto tiny-ecs demo Part 4 tiny-ecs Entity]]'''
'''Next: [[Tuto tiny-ecs_demo Part 1 Setup]]'''
+
* '''[[Tuto tiny-ecs demo Part 5 tiny-ecs System]]'''
 +
* '''[[Tuto tiny-ecs demo Part 6 tiny-ecs Component]]'''
 +
* '''[[Tuto tiny-ecs demo Part 7 Systems to move actors]]'''
 +
* '''[[Tuto tiny-ecs demo Part 8 Enemies]]'''
 +
* '''[[Tuto tiny-ecs demo Part 9 Player Shoots Enemies Die]]'''
 +
* '''[[Tuto tiny-ecs demo Part 10 Conclusion]]'''
  
  
 
'''[[Written Tutorials]]'''</br>
 
'''[[Written Tutorials]]'''</br>
 
{{GIDEROS IMPORTANT LINKS}}
 
{{GIDEROS IMPORTANT LINKS}}

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