ios - How can i make in a multiplayer sprite kit game all the devices have same map? -
i'm having ios sprit kit multiplayer game via game center , i'm trying have same generated map on both devices. how can manage that?
- generating , sending make both devices have other device map
- live generating it's sending nsdata other device each 0.5 - 2 seconds
- i've tried rand() , srand(). didn't quite managed desired result (maybe wrong something).
there no standard code that. need setup third party server download content.
you can include number of different maps part of app , select random map part of new game. including maps in code enables users instantly have access without need additional downloads.
Comments
Post a Comment