is it ok to "spam" gameNetwork.request()?

short version:
is it permissible to send off a whole series of request()'s in rapid succession?

(i’m not worried about the time it would take to get the responses - mainly just want to get everything shipped off to the server as fast as possible, before a flaky network connection fails, for instance)

thx

longer version (if needed):

say you have an “endless” game, with achievements for every N thingies overcome (each 1000 meters run, each 10 waves of aliens beaten, each 5 floors of jumping, whatever, doesn’t matter)

say a brand new player, on their first game, passes 3 “thingies”. by rights the following request should be made:

setHighScore 12345
unlockAchievement FirstThingyID
unlockAchievement SecondThingyID
unlockAchievement ThirdThingyID

can i just issue them all in sequence? or must I queue them, send first, await listener, get next off queue, send… repeat til done? any danger of “overloading” it internally, or will it handle immediately sequential requests gracefully?

(I’m asking about it’s internal design: built for it or not? not simply whether it just happens to work by coincidence once or twice - cuz it does seem to handle it, but I could just be lucky, on a fast connection that might just not “stress” it enough to expose a potential problem)

Hey.

I can’t speak of the internal corona code, but can speak from a real life use case that matches your scenario.

I had cases whilst testing a game i worked on where certain achievements were unlocked at the same time and i saw the popups come through (stacked) and the achievements unlocked via the gamecenter dashboard.

This was also done via a flakey 3g connection with intermittent disconnects from the network in a poor coverage area out in the countryside.

I have not tried this on android however, so i’m not sure how useful this response will be to you.

Hope this helps.

Appreciated, real-world experience does help. Though yes, this is with regard to Android/GPGN, so unless I luck out with a confirmation from engineering, I’ll just hope for now that it’ll be a worry-free as your iOS/GC was. Thx

Hey.

I can’t speak of the internal corona code, but can speak from a real life use case that matches your scenario.

I had cases whilst testing a game i worked on where certain achievements were unlocked at the same time and i saw the popups come through (stacked) and the achievements unlocked via the gamecenter dashboard.

This was also done via a flakey 3g connection with intermittent disconnects from the network in a poor coverage area out in the countryside.

I have not tried this on android however, so i’m not sure how useful this response will be to you.

Hope this helps.

Appreciated, real-world experience does help. Though yes, this is with regard to Android/GPGN, so unless I luck out with a confirmation from engineering, I’ll just hope for now that it’ll be a worry-free as your iOS/GC was. Thx