Using these as guides: SpriteKit pinch to zoom camera SpriteKit- How to zoom-in and zoom-out of an SKScene? I've implemented the following function ...
Using these as guides: SpriteKit pinch to zoom camera SpriteKit- How to zoom-in and zoom-out of an SKScene? I've implemented the following function ...
I have a SpriteKit platformer that uses a tile map for a background. The background in question is positioned 1 screen-height above the main content ( ...
I have a camerNode position issue. I have included the code below + an attempt of resolving this with no progress. Essentially in my GameScene I have ...
I have a camera node that is scaled at 1. When I run the game, I want it to scale it down (i.e. zoom out) but keep the "floor" at the bottom. How woul ...
as background lets assume I have a map- literally a road map being rendered inside my SKScene. Roads are represented by SKShapenodes with path set to ...
I am trying to recycle same SKSpriteNode to make continuous background. I created SKSpriteNode as bg0, bg1, bg2 and positioned them properly when pres ...
I am working on a game where my player moves when buttons are pressed, so I made the buttons children of the camera. However when my camera moves, the ...
I am trying to make a game on swift SpriteKit (an RPG more specifically). I am having an issue with making the camera follow my character. So far all ...
I'm working with Swift 4 using SpriteKit with an SKTileMapNode and an SKCameraNode. I want to be able to pan/pinch/zoom on the tile map node using the ...
I have a camera node that follows the player but when the player moves my hud moves offscreen. After doing some research I found that they won't move ...
I'm experiencing this lag or stutter in my game, and I'm thinking it could be due to the way I have the camera follow my player. Here is the code: ...
So, in my project, I have a main menu screen with no SKCameraNode. The banner ads work perfectly fine and nothing happens to them until I click the pl ...
I'm making a game with a camera setup that could be compared to the one in Agar.io. It can go up, down, left and right. However, in Agar.io you're lim ...
I have a SpriteKit game with a ball that can be thrown and dragged. When it is thrown, the SKCamera follows it. What I want is shown in the picture be ...
If anyone here has played Agar.io before, you'll probably be familiar with the way the camera moves. It slides toward your mouse depending on the dist ...
I'm currently working on a SpriteKit game with a tile editor. And I have a map like the following shown with a GameScene scene (.sks). For now, it l ...
There are already a few questions out there regarding how to make a button in SpriteKit such as Swift Spritekit Adding Button Programaticly and Settin ...
Context: there is a cursor (like your mouse) SKSpriteNode cam is a SKCameraNode and is a child to the cursor (i.e. wherever your cursor goes, so ...
Suppose: you have an SKSpriteNode, node, off doing its own thing you have implemented an SKCameraNode, cam, to dictate what the player can see ...
I've been working on adding zooming functionality to my project via an SKCameraNode and a pinch recognizer. My camera node is overlooking the mainMap ...