Spite: The Mask of Brigitte
Genre: Top down Hack & Slash
Timeframe: 9 weeks (20h/week)
Team: 6 Programmers, 3 Level designers & 5 Graphics
Engine: Friendship Engine 2.0 (Custom Engine built with DX11/ ECS)
Introduction
This was our second project working in our own engine (Friendship Engine) and we wanted to create an ECS. If you want to read more about the ECS you can go to my brilliant team member Devias website and read about it there.
This meant during 9 weeks we reworked our engine and made the game “Spite” at the same time.
Collision System
Collision System
I got the assignment to create the collision system, I had made a collision system before but never in a ECS. The reason why is it a bit different is because all the systems in an ECS don’t know about each other, the entities which holds the components. For the collision detection we used AABB3D.
Layer Mask
I implemented Layer masks so we could decide on which colliders should be able to collide with each other depending on their Layer.
Event System
Why is it needed?
We needed an event system to be able trigger event once something specific happened. Doing this within an ECS where all of the systems have zero contact with each other we had to come up with an idea to able send message to trigger these events.