Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Single view or sprite kit game

What template should i use if im trying to make a mobile game kind of "the line" game or kind of "arrows", or "dont touch the spikes"

1 Answer

While using UIKit to make a game is possible, you'll hit wall very quickly when it comes to performance. If you're going to make a graphics intensive game or want access to a physics engine/collisions then SpriteKit is the best way to go.

Great answer! But i have a question: can i use SKActions in single view?

No, SKActions can only be used in a SKScene.

Ok, thank you but another question, is there any comand like the SKAction of fade? Or any option for using something like SKActions in the UIView?

Sure, just use the -alpha @property on UIView in an animation block.

ok thanks