Balls ! Just a playground for testing stuff and performances. Each ball randomly changes its color. On collision if they have the same color they merge, otherwise bounce. Try it now
A short video about this:
I am using SFML for rendering and EnTT for entities management and some few handmade classes that act like an "engine".
[Left Mouse] Press and direct to spawn balls
[A] Spawn 500 balls
[Space] Delete balls in an Zone
[Middle Mouse] Spawn a portal
[Right Mouse] Collapse balls in a zone
[Q] Hold and cast away all balls in a zone
[T] Toggle text
Implement Quadtree for collisions checkIt's rudimental and handmade but for now is fast enough. Check it here- Endorse graphic ( switching to textures ? )
- Improve spawn balls options
- Add obstacles
Add Portals- Add special effect based on color
- Add a mass based on shape size. This is pretty bad handled atm
- Let the physics variables be scriptable from the user such as these
- Add any cool effect I can think about
Implement a more-likely-real collision responseInteractive way to spawn balls
I'll add a VS solution later, but it's pretty simple: Just link sfml and include EnTT folder into Headers