Sorry, another weird question here. This should be the last one though. It's been an interest of mine for a while to create a social game. When you play online games, typically you battle other players who are in other states or possibly even other countries. While this is all fine and dandy, often times you don't really establish relationships with these people or have memorable experiences. Of course there are stories of people meeting in WoW and becoming best friends or getting married, but those stories are few and far between. The majority of people playing those games don't really end up being best friends. They log in, play one or two hours, and log back off.
However, I'm sort of searching to solve that issue by creating a multi-player RPG where the only way to level up and progress through the game is through local PvP. Meaning, you can battle other players, but only if the player is nearby. Is there a way to, for example, create a system that simply gathers the location of the players and causes them to appear on the game screen as a little dot ( or any sprite )? That way, for example, a player could walk into a McDonald's. His phone vibrates, and it's an alert from my game telling him another player is in the vicinity. Then he can tap on that player's sprite on the map and challenge him to a battle, and an alert is also sent to that other player.
I noticed this: https://www.scirra.com/manual/164/geolocation but didn't really see a way for the game to detect other people's location ( just your own ) or maybe I'm just reading it wrong.