Metroxe / pragma

Escape a hostile planet in 100 years. iOS & android game built in React Native.
https://www.youtube.com/watch?v=ByuNEww0-aQ
MIT License
15 stars 0 forks source link

Selection component #5

Open raymondchiu10 opened 5 years ago

raymondchiu10 commented 5 years ago

When the player tries to make a new building, this selection component appears on the grid representing where they can choose to place the build. This selection can ideally be dragged, moved by tapping elsewhere, and should be smart enough to detect if a particular area is "unbuildable upon" due to collision with another object (e.g. another building in the same area).

Selection should also fit within the same grid on a differing layer than the building layer.