You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using SprikeKit and GameplayKit to attempt to build a orthogonal, builder-type of game. This means all the tiles in the map are potentially interactive (i.e. resources) that the player can gather to turn into other objects. While wanting to use Apple's vanilla solutions as much as possible, SKTileSet proved to be inadequate very quickly: it's just a bunch of simple, background images which only feature seems to be having userData. Definitely great it one wants a dynamic background with edges, but that's not what I'm looking for.
While searching for workarounds I came across this framework, and been reading the docs to understand if it would achieve this goal. If the map were to be manually generated, it would be a great fit. However, generating the map randomly is the whole reason for this post. It would seem to be possible by playing around with this: https://mfessenden.github.io/SKTiled/1.2/working-with-tiles.html#adding-and-removing-tiles although, ignorant as I am, I'm not sure that would be very performant. Still, I wanted to double check before I go down another rabbit hole and try to use the wrong tool for the job.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, everyone.
I'm using SprikeKit and GameplayKit to attempt to build a orthogonal, builder-type of game. This means all the tiles in the map are potentially interactive (i.e. resources) that the player can gather to turn into other objects. While wanting to use Apple's vanilla solutions as much as possible, SKTileSet proved to be inadequate very quickly: it's just a bunch of simple, background images which only feature seems to be having userData. Definitely great it one wants a dynamic background with edges, but that's not what I'm looking for.
While searching for workarounds I came across this framework, and been reading the docs to understand if it would achieve this goal. If the map were to be manually generated, it would be a great fit. However, generating the map randomly is the whole reason for this post. It would seem to be possible by playing around with this: https://mfessenden.github.io/SKTiled/1.2/working-with-tiles.html#adding-and-removing-tiles although, ignorant as I am, I'm not sure that would be very performant. Still, I wanted to double check before I go down another rabbit hole and try to use the wrong tool for the job.
Beta Was this translation helpful? Give feedback.
All reactions