A mobile location-based AR shooting game with a Pokémon Go style map.
Demo video & details are available at: https://guizichen.wixsite.com/portfolio/ar-game
(Detailed code explanations are included in the comments)
-
HealthMultiplayer.cs
It is the base Health class in the multiplayer environment.
EnemyMultiplayer and PlayerHealthMultiplayer inherit from it. -
PlaceData.cs
Places of interest (POIs) are represented by a serializable class so that it can be stored in a JSON file. POI data includes both game-related parameters and real-world coordinates so that they can be pinned on the map.
POIDataHelper handles reading/writing of the JSON file, and FactoryListItem displays the list of all POIs.