How can I make the light stop shining basically though the wall? I know that it’s because the SKLightNode is illuminating the background and this background is one single node, but how can I prevent it?
Defining Physicsd in Scene Builder
In the tutorial the settings for “Allows Rotation”, “Affected By Gravity” etc are all set in the Physics Definition section of the Attribute Inspector http://www.raywenderlich.com /wp-content/uploads/2015/10/SKSE-image9.png (sry, i can only put 1 image in the post)
sadly, my Attribute Inspector looks rather different and my Physics Definition section lacks everything except the Body Type dropdown:
how do i get my Attributes Inspector to look like the one in the tutorial?
Hi, thanks for a nice tutorial! I join the ioswarrior question, how to avoid light shine through the walls?
And I have an additional problem: after you lose or win level, music won’t play again. How I’m able to fix it?
upd: Music muted because of transition. If you run music when transition is finished, everything will be okay.
I am getting the same problem just with slightly different numbers. Has anybody managed to solve this issue yet, or know what to do? For me, this happened when i was nearing the end of the level & the character was not in contact with anything at the time.
validateIndexBuffer:130: failed assertion `indexBufferOffset(12) + (indexCount(480) * 2) must be <= [indexBuffer length] (960.