Let's Make Pong! (Pt. 1 : Swift 3 in Xcode : SpriteKit)

preview_player
Показать описание
Today we make one of the first games ever made: Pong. It's a great project especially for beginners or those just getting started with SpriteKit. Enjoy!

~Social Stuff~
Snapchat - archetapp

Рекомендации по теме
Комментарии
Автор

You can tell that this is a great tutorial because I was able to follow along perfectly 6 years after it was first posted. Cheers!

AetherSummers
Автор

7 years old and still a great tutorial. Everything was crystal clear. Thank-you. Instead of UIKit, I used the SwiftUI project template with SpriteView. Works well with the tutorial.

falsanomo
Автор

Great tutorial, Jared: fast, complete (start-to-finish), with good commentary along the way. I'm sure that SpriteKit has a ton of detail, and you've helped us newbies with a simple introduction. Thanks.

slprescott
Автор

Thanks for the tutorial Jared. I like how you explain the why and how of objects that you're creating. I found it very helpful.

relee
Автор

excellent tutorial... There are several changes needed if you are using Swift 4 and Xcode 9, the least intuitive one was the fact I needed to define the border as: border.categoryBitMask = 1

Right now at the end of part 1, my ball tends to get stuck in an endless loop when it gets trapped behind a paddle (either at the very top or very bottom) -- I'll continue with part 2 before I tackle that...

This is my first experience with SpriteKit, I was writing a conventional UIKit-based app when it occurred to me that a behavior I desired for a screen object was something that SpriteKit would give me for less effort than programing it from scratch... This tutorial is an excellent hands-on introduction. Thank you!

vicweast
Автор

Great tutorial and intro to SpriteKit. Still works - kinda - in 2022 with Xcode 13.3. Had to make a few mods - the "self.frame" used to create the border in GameScene.swift required an inset because the ball would move off the screen before bouncing back in.

karlostj
Автор

Hi Jared, I have followed you exactly on the part #1 but my pong ball doesn’t bounce back.

As i launch simulator the ball start going on top right and it just goes in the corner and just stuck there it doesn’t bounce back, help me.

ssprajapat
Автор

This is the best Xcode tutorial I've ever seen

gamerunreleased
Автор

if this doesnt work for you and it says build failed (around 13:14) then go to where the error is and delete " sceneNode.entities = scene.entities
sceneNode.graphs = scene.graphs"

it worked for me

KnotSnappy
Автор

Hello first time xcode user.Im having trouble finding the options for color sprite (its not in the bottom right corner) How do I find/enable it?

ltymedia
Автор

Nice way to start spritekit, doesn't overwhelm you with other things I would I want to do in the future

JackyTran
Автор

hey i have a question so when i got assistant editor it says no assistant editor

lifewithjaedon
Автор

Let me know what you guys would like to see in the future with this Pong series! Project files are on GitHub (link in description). :)

Archetapp
Автор

It's been a long time since I watched your videos and I can see that you have become a lot better than just a year ago!

steinnes
Автор

Great tutoria!
Just one question, the ball moves but when it hit my bar or the enemy the ball sticks to the bars. What is the problem?
Using Xcode 9

Beshnak
Автор

Thanks for the tutorial but I cant find color sprite. I'm using Xcode 12

tarikvideoeditor
Автор

Xcode crashes right after I try to go onto GameScene.sks. At 1:44.

I think I'll use another tutorial. :(

notalive
Автор

This is the type of tutorial that I love to watch! Great work Jared :)

NathanSchafer
Автор

how do i run the game inside of a black box like you did in the video? i can only find iPhone simulators.

wzards
Автор

At 13:00 when u made a build, I did the same, but it said fatal error: unexpectedly found nil while unwrapping an optimal value

Techmo
visit shbcf.ru