Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Coronium Ace - Serializaiton ideas?
Started by mroberti Sep 23 2018 12:31 PM

No replies to this topic
coronium ace coronium turn based serialize save game
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

mroberti

[GLOBAL: userInfoPane.html]
mroberti
  • Contributor

  • 308 posts
  • Corona SDK

So as far as I can tell, the Coronium Ace games are instances that terminate once every player leaves, correct? Assuming that's true, I'm trying to come up with ideas for when a player leaves, just serializing the game data itself to the local device, and then down the road, I'd be able to re-upload all the game data to the server side and pick up where I left off. 

 

Does that sound like I'm on the right track? Nothing super complicated, just player x and y locations, maybe some incidental data, etc. 

 

Curious how I'd pick up where I'd left off turn-wise too, gameCtx:setTurn( player_num ) perhaps?

 

Appreciate any pointers!

 

Mario




[topic_controls]
[/topic_controls]