top of page

Wave System Research

  • Writer: Janice
    Janice
  • Apr 20, 2024
  • 1 min read

Tutorial:

  • We work on the ECS in Unity on building a spawner and run the job to spawn prefab continuously.

  • Create a job on entities that detect player exists and move toward the player (follow it)

  • Import input in ECS to allow player objects to move around

  • A job trigger will trigger a physic move to buffer up the player


In summary:

The idea of ECS is to separate what are entities (game objects), components (value contained in-game object), and systems (function to fire on the component). Use a tag to define which entities allow the system to run and which could be ignored.



Extra implement:

  • Add on the extra tag and job for enemies to be able to attack the player and end the simulation.

  • Add on another extra tag and job for a player to attack the enemies in the simulation.

  • Try to form a simple game loop.



Recent Posts

See All

Comments


Janice Game Portfolio

  • LinkedIn
  • YouTube
bottom of page