jakubg1 / OpenSMCE

Game engine which allows creating a broad range of marble popper games.
MIT License
14 stars 11 forks source link

Add a SphereEntity class #31

Closed jakubg1 closed 1 year ago

jakubg1 commented 3 years ago

In short, such class would be a graphical representation of a Sphere and should include such features as idle particle or shadow.

It should be used by SphereGroup, Sphere, ShotSphere and Shooter.

This would simplify drawing code and remove all inconsistencies.

jakubg1 commented 3 years ago

Needs checking whether this is already fully implemented.

jakubg1 commented 2 years ago

Continuing with Spheres using Sphere Entities: https://github.com/jakubg1/OpenSMCE/commit/a496391ee0c853b4241e60effbfd0fcc4586681c

TBD for Bonus Scarabs and Scorpions. (These are using completely different sphere definitions than normal spheres, so I will leave them out, at least for now.) Sphere entities should move between ShotSpheres and Spheres, as it's done between Shooters and ShotSpheres.

jakubg1 commented 1 year ago

The aforementioned has been implemented in https://github.com/jakubg1/OpenSMCE/commit/ef2c6a0ae0b866e3595b7187f8d5a7fc4e7e5cde.