Skip to content

maiconpintoabreu/gravitonion-collector

Repository files navigation

Gravitonion Collector

CD

Itch.io Screenshot

Player needs to protect the Blackhole from the asteroids so it does not go too big and stay close from it so the scientists are able to collect information of it.

TODO:

  • UI to show the power (with power mechanics)
  • Add power ups (gun modifier and temp shield dropped by the asteroids)

Maybes:

  • local multiplayer (half score and increase in difficult)

Entity map

Game - Blackhole

Game - Asteroids

Game - Player - Bullets

Physics

Blackhole and Phaser collides to everyone

Player collides to everyone

Asteroids collide to everyone

Bullets collide to everyone but player

Ownership

PhysicsBody is lives inside the entities, the PhysicsSystem only contains a list of pointers

Entities can read the PhysicsBody but cannot edit (not blocked just a rule)

PhysicsSystem can edit PhysicsBody

Config

To activate Debug mode and tweak some values: config.zig

Web Build

zig build -Dtarget=wasm32-emscripten

Releases

No releases published

Packages

No packages published