GameMaker (2.0 - 2.2.x)
Icon

LocationEx

Raventale

You must be logged in to obtain assets

Description

A location extension for GameMaker 2. Currently only supports android.

setLocationMode(double) Set the location mode. 0 = Network location mode 1 = GPS location mode 2 = Passive location mode

requestLastLocation Request the last known location. No delay.

requestLocationUpdates Reqtest perodic location updates

removeUpdates Disable the location updates

All resopnses send to Async - Social event:

In the async social script you can handle the location data:

var type = async_load[? "type"]; if (type == "location") { var s = "LOCATION: " + string(async_load[? "la"]) + " " + string(async_load[? "lo"]) + "|ac" + string(async_load[? "ac"]) + "|al" + string(async_load[? "al"]); show_debug_message(s); }

End User Licence Agreement (EULA).

Age Rating: None

Version

GMS2 - Version 1.0.0. Published November 21, 2017

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait