Skip to content

Run and shoot in the mini-project with ECS Morpeh architecture

Notifications You must be signed in to change notification settings

playstel/shooting_ecs_morpeh

Repository files navigation

ECS Morpeh Test

This project briefly shows how the Morpeh ECS works.

First-person view, the hero is moving forward, has a movement speed, and can deviate left or right if the player holds the mouse button.

When you press the SPACE, a shooting event is triggered through Morpeh.Events.

Shooting is accompanied by VFX, SFX, Animation.

image


There are a few objects: rifle and bullets. Each object has Components, Providers, and Systems.

In addition, a bullet has Initializer and EventBulletTrigger (IEventData).

image


Scene GameObjects are connected to the ECS via providers (ProviderSpeed, ProviderTransform, etc.):

image


Rifle:

image


Bullet:

image


Input:

image


You can learn more by downloading and running the project in Unity (2023.2.17f1).

Other

More projects https://playstel.com/

About

Run and shoot in the mini-project with ECS Morpeh architecture

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published