# Sprite Kit

**URL:** https://forums.kodeco.com/c/general/sprite-kit/22.md?page=2

[Latest](https://forums.kodeco.com/latest.md) · [Categories](https://forums.kodeco.com/categories.md) · [Tags](https://forums.kodeco.com/tags.md)

**Page:** 3

---

## [Physical engine adapted to the needs of a 2d platform game like Super Mario](https://forums.kodeco.com/t/physical-engine-adapted-to-the-needs-of-a-2d-platform-game-like-super-mario/38680)

<div class="topic-metadata">

**Author:** [@basgrani](https://forums.kodeco.com/u/basgrani)\
**Replies:** 4\
**Last updated:** [January 30, 2018, 8:56am UTC](https://forums.kodeco.com/t/physical-engine-adapted-to-the-needs-of-a-2d-platform-game-like-super-mario/38680 "2018-01-30T08:56:26Z")

</div>

Hi All, Well, I plan to develop a platform game, like “Super Mario”, but I run into a big problem, the physics engine of “SpriteKit” (Box2D) is the worst to use in a game of these characteristics, thousands of forums / …

---

## [Updating Game to Support iPhone X](https://forums.kodeco.com/t/updating-game-to-support-iphone-x/38659)

<div class="topic-metadata">

**Author:** [@saycod](https://forums.kodeco.com/u/saycod)\
**Replies:** 1\
**Last updated:** [January 23, 2018, 3:20am UTC](https://forums.kodeco.com/t/updating-game-to-support-iphone-x/38659 "2018-01-23T03:20:04Z")

</div>

I ran into an issue updating my game to be compatible with iPhone X. Currently, I have a single .sks file for the game scene which adapts properly to all iPhone devices and iPad devices. But, once I test it on iPhone X,…

---

## [How to create a mini map in a RPG game](https://forums.kodeco.com/t/how-to-create-a-mini-map-in-a-rpg-game/38698)

<div class="topic-metadata">

**Author:** [@luckybob](https://forums.kodeco.com/u/luckybob)\
**Replies:** 3\
**Last updated:** [January 23, 2018, 12:49am UTC](https://forums.kodeco.com/t/how-to-create-a-mini-map-in-a-rpg-game/38698 "2018-01-23T00:49:49Z")

</div>

Hi, I’m currently working on a dungeon crawler type of game using SpriteKit and the game map is created using SKTileMapNode. Each tile is 32x32pixel, and each game level is around 100x100 tiles. Since the game levels ar…

---

## [XCode Crash - Trying To Add Image to TileSet](https://forums.kodeco.com/t/xcode-crash-trying-to-add-image-to-tileset/37197)

<div class="topic-metadata">

**Author:** [@pozzible](https://forums.kodeco.com/u/pozzible)\
**Replies:** 1\
**Last updated:** [December 19, 2017, 2:09am UTC](https://forums.kodeco.com/t/xcode-crash-trying-to-add-image-to-tileset/37197 "2017-12-19T02:09:23Z")

</div>

Hello, I have a new computer, I am in SpriteKit and when I add an image to tileSet my XCode immediately crashes, and I get this message along with all the other techno-babble an error message can give you. error for ob…

---

## [Best architecture for customising game character](https://forums.kodeco.com/t/best-architecture-for-customising-game-character/27618)

<div class="topic-metadata">

**Author:** [@ba3ilio](https://forums.kodeco.com/u/ba3ilio)\
**Replies:** 1\
**Last updated:** [December 18, 2017, 12:55am UTC](https://forums.kodeco.com/t/best-architecture-for-customising-game-character/27618 "2017-12-18T00:55:17Z")

</div>

I want to customize the game character with spritekit , for example, select what kind of weapon, armor, clothes, etc. is it possible. Tips on books or tutorials will be helpful /Best regards

---

## [Provisioning profile error](https://forums.kodeco.com/t/provisioning-profile-error/37436)

<div class="topic-metadata">

**Author:** [@jonahprogramma](https://forums.kodeco.com/u/jonahprogramma)\
**Replies:** 2\
**Last updated:** [December 10, 2017, 12:32am UTC](https://forums.kodeco.com/t/provisioning-profile-error/37436 "2017-12-10T00:32:59Z")

</div>

Hello fellow partners, I am getting this error for my provisioning profile, and have not been able to find a solution to allowing me to run my app on my iPhone as the simulator. Anyone have any ideas on how to approach…

---

## [How to make control as in a ninja jump game](https://forums.kodeco.com/t/how-to-make-control-as-in-a-ninja-jump-game/37194)

<div class="topic-metadata">

**Author:** [@vladimirov](https://forums.kodeco.com/u/vladimirov)\
**Replies:** 0\
**Last updated:** [December 1, 2017, 2:14am UTC](https://forums.kodeco.com/t/how-to-make-control-as-in-a-ninja-jump-game/37194 "2017-12-01T02:14:52Z")

</div>

I want to make control as in a ninja jump - YouTube, that would be by touch the player moved from one wall to another, but I do not know how to implement it, I did not find anything in the internet, I only made that th…

---

## [SKSpriteNode Touch on non transparent area](https://forums.kodeco.com/t/skspritenode-touch-on-non-transparent-area/37132)

<div class="topic-metadata">

**Author:** [@josepm](https://forums.kodeco.com/u/josepm)\
**Replies:** 0\
**Last updated:** [November 29, 2017, 10:14am UTC](https://forums.kodeco.com/t/skspritenode-touch-on-non-transparent-area/37132 "2017-11-29T10:14:02Z")

</div>

Hi, I have a problem that don’t found solution, I search and read a lot of post but nothing work. I have some SKSpriteNode with transparent area and I need detect the touch only on the non transparent area. With… if…

---

## [PlaySoundFileNamed Action](https://forums.kodeco.com/t/playsoundfilenamed-action/36143)

<div class="topic-metadata">

**Author:** [@khurrelbrink](https://forums.kodeco.com/u/khurrelbrink)\
**Replies:** 0\
**Last updated:** [November 1, 2017, 12:57pm UTC](https://forums.kodeco.com/t/playsoundfilenamed-action/36143 "2017-11-01T12:57:53Z")

</div>

MP3 files located in assets.xcassets do not appear in PlaySoundFileNamed Action file list

---

## [Performance issues](https://forums.kodeco.com/t/performance-issues/35043)

<div class="topic-metadata">

**Author:** [@nehemie](https://forums.kodeco.com/u/nehemie)\
**Replies:** 5\
**Last updated:** [October 11, 2017, 5:59am UTC](https://forums.kodeco.com/t/performance-issues/35043 "2017-10-11T05:59:43Z")

</div>

Hi everyone I am building a Game using SpriteKit, this game is like Mario Run and has short levels (120 at the moment) and here is how it is organized : MenuScene\>LevelScene\>GameScene I do try to fix performance issu…

---

## [Save / archive SKSpriteNode in Swift](https://forums.kodeco.com/t/save-archive-skspritenode-in-swift/34777)

<div class="topic-metadata">

**Author:** [@squilliop](https://forums.kodeco.com/u/squilliop)\
**Replies:** 5\
**Last updated:** [October 1, 2017, 11:55am UTC](https://forums.kodeco.com/t/save-archive-skspritenode-in-swift/34777 "2017-10-01T11:55:33Z")

</div>

Hi, For a while now i’ve been trawling the internet trying to find a way to save a SpriteNode (and all the children of the node) to ‘disk’ so when I exit my GameScene and then return, the sprites are exactly how I left …

---

## [SpriteKit tile map not loading tiles](https://forums.kodeco.com/t/spritekit-tile-map-not-loading-tiles/34749)

<div class="topic-metadata">

**Author:** [@metalboyblue](https://forums.kodeco.com/u/metalboyblue)\
**Replies:** 1\
**Last updated:** [September 28, 2017, 8:30pm UTC](https://forums.kodeco.com/t/spritekit-tile-map-not-loading-tiles/34749 "2017-09-28T20:30:56Z")

</div>

Here is a link to the code and screen shots. I followed the guide in the spritekit book. However, when I load the SKTileMapNode none of the tiles are registering with a definition. Any idea why this might be happeni…

---

## [Moving SpriteNode while Jumping Contact Delegate](https://forums.kodeco.com/t/moving-spritenode-while-jumping-contact-delegate/34553)

<div class="topic-metadata">

**Author:** [@darkmatter](https://forums.kodeco.com/u/darkmatter)\
**Replies:** 1\
**Last updated:** [September 28, 2017, 8:01pm UTC](https://forums.kodeco.com/t/moving-spritenode-while-jumping-contact-delegate/34553 "2017-09-28T20:01:29Z")

</div>

Hey I am having a rough time with a bug in spritekit. I have my spritenode moving left and right. When the spritenode hits the floor I change my boolean from spritenode.isJumping = true to spritenode.isJumping = false. …

---

## [SKAction.repeatForever . stop(remove)](https://forums.kodeco.com/t/skaction-repeatforever-stop-remove/34908)

<div class="topic-metadata">

**Author:** [@archideus](https://forums.kodeco.com/u/archideus)\
**Replies:** 1\
**Last updated:** [September 28, 2017, 5:20pm UTC](https://forums.kodeco.com/t/skaction-repeatforever-stop-remove/34908 "2017-09-28T17:20:18Z")

</div>

Hi. Can i stop(remove ) SKAction.repeatForever . but with finish sequence ! If sequence have ADD, MoVE, REmove - stop not in random place stop with finish sequence.

---

## [SpriteKit crop Sprite in Node like clipToBounds in UIkit](https://forums.kodeco.com/t/spritekit-crop-sprite-in-node-like-cliptobounds-in-uikit/34576)

<div class="topic-metadata">

**Author:** [@archideus](https://forums.kodeco.com/u/archideus)\
**Replies:** 1\
**Last updated:** [September 19, 2017, 7:17pm UTC](https://forums.kodeco.com/t/spritekit-crop-sprite-in-node-like-cliptobounds-in-uikit/34576 "2017-09-19T19:17:34Z")

</div>

Hi i make game Slot Machines. I add sprite look Machines in zPosition1 and Node with Sprites describe wheel contain 50 sprites, this node move down to animate spin wheel. What best way to crop Wheel node to show items o…

---

## [Custom health bar / loading bar](https://forums.kodeco.com/t/custom-health-bar-loading-bar/34023)

<div class="topic-metadata">

**Author:** [@andylarwing](https://forums.kodeco.com/u/andylarwing)\
**Replies:** 1\
**Last updated:** [September 9, 2017, 12:39pm UTC](https://forums.kodeco.com/t/custom-health-bar-loading-bar/34023 "2017-09-09T12:39:29Z")

</div>

I am trying to create a custom loading bar / health bar. Is there any way to create something like this? Can you point to the right direction, functions I will use, etc. Also, can I do this in SingleViewA…

---

## [Is there any chance the Beat 'Em up Book will ever be updated?](https://forums.kodeco.com/t/is-there-any-chance-the-beat-em-up-book-will-ever-be-updated/23208)

<div class="topic-metadata">

**Author:** [@dambros](https://forums.kodeco.com/u/dambros)\
**Replies:** 1\
**Last updated:** [September 2, 2017, 12:57am UTC](https://forums.kodeco.com/t/is-there-any-chance-the-beat-em-up-book-will-ever-be-updated/23208 "2017-09-02T00:57:21Z")

</div>

I was really hoping it would be updated to Swift but over a year since most posts about the subject. I am really hoping to create my own game and a resource like that would be of insssane help, so any chance it will see…

---

## [Saving the state of multiple sprites](https://forums.kodeco.com/t/saving-the-state-of-multiple-sprites/32797)

<div class="topic-metadata">

**Author:** [@jallison22](https://forums.kodeco.com/u/jallison22)\
**Replies:** 2\
**Last updated:** [August 29, 2017, 8:25pm UTC](https://forums.kodeco.com/t/saving-the-state-of-multiple-sprites/32797 "2017-08-29T20:25:48Z")

</div>

I am working on an ios 10 app in which users can instantiate new SKSpriteNodes and drag thenm around a view altering several SKSpriteNode properties. What would be the best approach to saving this set of child SKSpriteNo…

---

## [SpriteKit - Game crashing when presenting a new scene](https://forums.kodeco.com/t/spritekit-game-crashing-when-presenting-a-new-scene/33397)

<div class="topic-metadata">

**Author:** [@naiiroolf](https://forums.kodeco.com/u/naiiroolf)\
**Replies:** 1\
**Last updated:** [August 19, 2017, 12:59pm UTC](https://forums.kodeco.com/t/spritekit-game-crashing-when-presenting-a-new-scene/33397 "2017-08-19T12:59:04Z")

</div>

Hello, I’m coding a platform game and i want to reset the scene when my character has no more lives. I’m using “presentScene” to restart the game by creating a new scene, but when i launch the app on my iPhone and the …

---

## [SpriteNode and dealloc](https://forums.kodeco.com/t/spritenode-and-dealloc/33372)

<div class="topic-metadata">

**Author:** [@puppet](https://forums.kodeco.com/u/puppet)\
**Replies:** 1\
**Last updated:** [August 17, 2017, 11:35am UTC](https://forums.kodeco.com/t/spritenode-and-dealloc/33372 "2017-08-17T11:35:13Z")

</div>

Hello, If you send a SpriteNode off the view and into the great beyond, will Swift eventually release it from memory?

---

## [SpriteKit Swift 3 Tutorial question](https://forums.kodeco.com/t/spritekit-swift-3-tutorial-question/32530)

<div class="topic-metadata">

**Author:** [@covfefe](https://forums.kodeco.com/u/covfefe)\
**Replies:** 1\
**Last updated:** [July 24, 2017, 6:10pm UTC](https://forums.kodeco.com/t/spritekit-swift-3-tutorial-question/32530 "2017-07-24T18:10:11Z")

</div>

At this part: Simply add the following code to the end of didMove(to:): run(SKAction.repeatForever( SKAction.sequence(\[ SKAction.run(addMonster), SKAction.wait(forDuration: 1.0) \]) )) Here you run a sequence of a…

---

## [Is this normal?](https://forums.kodeco.com/t/is-this-normal/32420)

<div class="topic-metadata">

**Author:** [@jerguerrero](https://forums.kodeco.com/u/jerguerrero)\
**Replies:** 1\
**Last updated:** [July 21, 2017, 6:02pm UTC](https://forums.kodeco.com/t/is-this-normal/32420 "2017-07-21T18:02:39Z")

</div>

Hi I’m new to iOS development and I recently bought the book 2D Apple Games. I was wondering if you guys could help me out. Whenever I execute the program it goes into this state where I need to click continue program ex…

---

## [Video Tutorial: Beginning SpriteKit Part 2: Sprites](https://forums.kodeco.com/t/video-tutorial-beginning-spritekit-part-2-sprites/31681)

<div class="topic-metadata">

**Author:** [@kundres](https://forums.kodeco.com/u/kundres)\
**Replies:** 2\
**Last updated:** [July 3, 2017, 8:41pm UTC](https://forums.kodeco.com/t/video-tutorial-beginning-spritekit-part-2-sprites/31681 "2017-07-03T20:41:38Z")

</div>

Hello friends, I came across this site only few days ago because I was searching a website that provides well explained and updated courses. Yesterday I started watching the Beginning SpriteKit course and I didn’t unde…

---

## [Problem with collision detection](https://forums.kodeco.com/t/problem-with-collision-detection/30827)

<div class="topic-metadata">

**Author:** [@rousco](https://forums.kodeco.com/u/rousco)\
**Replies:** 0\
**Last updated:** [June 12, 2017, 2:29pm UTC](https://forums.kodeco.com/t/problem-with-collision-detection/30827 "2017-06-12T14:29:18Z")

</div>

Hello all, I have some Swift source code (mainly based on the MegaJump tutorial) where I want to object to bounce of eachother (see below extract). I can’t manage to get the player bounce of the background, while I did …

---

## [Drop Charge Platform Landing](https://forums.kodeco.com/t/drop-charge-platform-landing/30555)

<div class="topic-metadata">

**Author:** [@darkmatter](https://forums.kodeco.com/u/darkmatter)\
**Replies:** 1\
**Last updated:** [June 6, 2017, 1:27am UTC](https://forums.kodeco.com/t/drop-charge-platform-landing/30555 "2017-06-06T01:27:00Z")

</div>

Hey I am looking for a little clarification on how the platforms have physics bodies but the character is not affected by them when it is flying but can land on them when he is landing. What exactly is going on ? Sorry b…

---

## [filteringMode nearest not working](https://forums.kodeco.com/t/filteringmode-nearest-not-working/30260)

<div class="topic-metadata">

**Author:** [@nehemie](https://forums.kodeco.com/u/nehemie)\
**Replies:** 0\
**Last updated:** [May 30, 2017, 2:11am UTC](https://forums.kodeco.com/t/filteringmode-nearest-not-working/30260 "2017-05-30T02:11:55Z")

</div>

Hi Everyone I used the extension available in the tutorial Beginning Tile Maps of the 2D Apple Games by Tutorial book (page 337) for my own plateform game and the " filteringMode = .nearest " keeps my sprites blurry. h…

---

## [Image designer for ios platform game needed](https://forums.kodeco.com/t/image-designer-for-ios-platform-game-needed/30175)

<div class="topic-metadata">

**Author:** [@mae42](https://forums.kodeco.com/u/mae42)\
**Replies:** 0\
**Last updated:** [May 27, 2017, 6:35pm UTC](https://forums.kodeco.com/t/image-designer-for-ios-platform-game-needed/30175 "2017-05-27T18:35:13Z")

</div>

I’ve been working on an iOS platform game for the past 6 months. The coding is almost all complete however some parts of the game design require having the images first. I need a 2D image designer with the ability to wor…

---

## [Sprite Kit Asset Sizing](https://forums.kodeco.com/t/sprite-kit-asset-sizing/30018)

<div class="topic-metadata">

**Author:** [@darkmatter](https://forums.kodeco.com/u/darkmatter)\
**Replies:** 0\
**Last updated:** [May 23, 2017, 3:15am UTC](https://forums.kodeco.com/t/sprite-kit-asset-sizing/30018 "2017-05-23T03:15:05Z")

</div>

Hey I have a question regarding asset background sizing. In the tutorial book we use a universal asset sizes. My question is the ipad size is 2048 by 1536 this would be the 3x ?? and if i wanted it to fit on an iphone 6…

---

## [Snake Game on SpriteKit](https://forums.kodeco.com/t/snake-game-on-spritekit/29833)

<div class="topic-metadata">

**Author:** [@bankix123](https://forums.kodeco.com/u/bankix123)\
**Replies:** 3\
**Last updated:** [May 20, 2017, 4:07am UTC](https://forums.kodeco.com/t/snake-game-on-spritekit/29833 "2017-05-20T04:07:43Z")

</div>

I’m working on building the classic snake game where the snake eats an apple and grows longer. I’m not using a grid system since i don’t know how to. My question is, how do I make the tails follow the head as they’re app…

---

## [Moving polygon points](https://forums.kodeco.com/t/moving-polygon-points/25994)

<div class="topic-metadata">

**Author:** [@koushanejad74](https://forums.kodeco.com/u/koushanejad74)\
**Replies:** 1\
**Last updated:** [May 3, 2017, 9:50pm UTC](https://forums.kodeco.com/t/moving-polygon-points/25994 "2017-05-03T21:50:25Z")

</div>

Hi All, I’m developing a game using SpriteKit, I want to draw a polygon and let the user change the polygon by touching and dragging its corners, how can I do that? basically I can get which corner has been touched and…

[Previous page](https://forums.kodeco.com/c/general/sprite-kit/22.md?page=1)

[Next page](https://forums.kodeco.com/c/general/sprite-kit/22.md?page=3)
