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 Build a Game with Sprite Kit Actions and Animations Shooting Projectiles using SKAction: Part 2

What is the point

What is the point of the yellow position Amit Bijlani, could calculating that position have been avoided by simply giving the projectile a lifespan of say 2 seconds? Meaning after the time ran out, it would be removed.

I know there would be a little more nodes at any one time compared to your method but I don’t think it would have that much of an affect on the FPS.

By doing this newcomers to iOS wouldn’t be put off/ confused by the math. Im not saying I have a problem with it, it reminds me of math class which I enjoyed but it just feels overkill for this game.

Other than that, love the tutorials so far.