Tag Info

New answers tagged


You can rotate the entire _buttonLayer if you make it a SKSpriteNode a subclass of SKNode. You will have access to the default anchorPoint property that is already set in the middle of the SKSpriteNode object. (0.5,0.5) is the center. You will want to set its color property to clearColor so you have the same appearance as you would with using a SKNode. You ...


I used an A* search algorithm. If your game is rendering tiles, then use this to determine if the tiles are solid or not. It creates a path of "passable" tiles for the enemy to follow the player around walls, in the shortest distance. It could easily be adapted for detecting if the surrounding tiles are solid or not (see through or not). Basically, you need ...

Top 50 recent answers are included