0

So I'm trying to create a game in sprite kit that is based on the tile system used in games like Pokémon. Since I am relatively new to this language and type of programming, I need some assistance on how to create this grid of tiles and how to make many, many SKSpritenodes with the same (and sometimes different) textures. I have tried creating the grid tile nodes in a method with local variables, but to have multiple of them I would have to call the method 100+ times to generate each tile in a different position adjacent to another. How can I go about designing this type of game?

Any assistance is greatly appreciated. Thanks in advance.

sangony
  • 11,636
  • 4
  • 39
  • 55
Jonathan H.
  • 939
  • 1
  • 7
  • 21
  • http://www.raywenderlich.com/tutorials – sangony Mar 01 '15 at 21:11
  • All the tile game tutorials on that website are for cocos2d not sprite kit alone – Jonathan H. Mar 01 '15 at 21:38
  • http://www.raywenderlich.com/62049/sprite-kit-tutorial-make-platform-game-like-super-mario-brothers-part-1 – rakeshbs Mar 02 '15 at 03:36
  • Rather than reinventing the wheel I'd suggest to pick one of the tilemap frameworks that enable you to load and render tilemaps (at least, some include tile picking and other features as well). Orthogonal tilemaps are manageable but still cut into your development time. Iso and hex are non-trivial to implement (correctly). – CodeSmile May 17 '15 at 06:58

0 Answers0