Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
458 views
in Technique[技术] by (71.8m points)

swift - 如何子类化SKnode以创建具有多个独立“通道”的场景?(How to subclass SKnode to create a scene with multiple independent 'lanes'?)

I am building a 2d game with four lanes and each lane should have its own identical coordinates system and logic

(我正在构建一个具有四个车道的2d游戏,每个车道应具有自己相同的坐标系和逻辑)

What is the proper way to subclass SKNode and add it to the SKScene?

(子类化SKNode并将其添加到SKScene的正确方法是什么?)

The lane spacing and height will adapt to screen dimensions

(车道的间距和高度将适应屏幕尺寸)

  ask by Ddefin Orsstt translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...