top of page
Asteroids: TeamMember

This is my version of Asteroids a 3D environment where like in the 2D they portal to other sides when they hit the boundary. Gizmo you see is a visual representation of the border for the asteroids and spaceship. I like to use them so I can see where my limits are and know if I coded correctly.


This is the singleton I am using to create the asteroids being spawned as well the bullets the ship is firing. Everything is being created as little of amount of times as possible and then being deactivated instead of being destroyed so that I can reuse them instead of creating new objects every time.

bottom of page