Post

Replies

Boosts

Views

Activity

How do I access Nodes created in .sks file from a .swift file?
Hi, I am a new learning app developer, so I'm sorry if this question is silly, but I have a .sks file that contains several TileMapNodes, and I want to add an edge physics body so that my player character sprite cannot leave the screen. Is there any way for me to access the Nodes I have already created from my GameScene.swift file so I can add a physics body to those Nodes? If not, are there any suggestions for accomplishing what I want to do?
2
0
887
Jun ’20