+HackAMen Posted November 10, 2014 Share Posted November 10, 2014 Hi, I have used Ranger Fox's superb zone vector examples to write a routine which will center a zone on the main player. I seem to having an issue though where the emulator will not update the players location until they move a little. Does anyone know if this will in fact be an issue in real players and if so is there a way to get the main character to refresh? I have seen LastLocationUpdate in Player but nothing to force an update. Thanks Quote Link to comment
Ranger Fox Posted November 11, 2014 Share Posted November 11, 2014 This will not be an issue in the field because the player apps update once a second*. If you really want, I think I can also force the emulator to update once a second. I'm not sure if I can detect if the zone list changes, though. I can do anything as long as it only involves the map. Everything concerning the Pocket PC emulator to the right is off limits. * Technical answer: I believe the apps subscribe to location updates through a LocationIntent event and tell the phone whether they want a course or fine position resolution (always fine). The app updates every time the phone sends an update to the method subscribed to the event. Thus we can all blame your phone and its OS if things go wrong. (I hope you realize that last sentence was a joke.) Quote Link to comment
+HackAMen Posted November 11, 2014 Author Share Posted November 11, 2014 Thanks Mr Fox, I thought that the way it would work in reality but it was worth checking just to be sure. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.