Last active
June 24, 2019 21:57
-
-
Save PedroFarina/c4b4c28a54a0f02398c219aabc905214 to your computer and use it in GitHub Desktop.
Types of nodes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SpriteKit | |
var nodeGenerico = SKNode() | |
var nodeComTexto = SKLabelNode() | |
var nodeComImagem = SKSpriteNode(imageNamed:"imagem.jpg") | |
var nodeRetangular = SKShapeNode(rect: CGRect(x: 0, y: 0, width: 20, height: 10)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment