Its insane to think that some guy sat at home and wrote this code for the first time and was pulling 60k a day from when it went viral
@Archetapp9 жыл бұрын
+Coolnventions Haha, yep! Wish it could've been me, haha. :)
@crimson57329 жыл бұрын
+Coolnventions Im not being sarcastic here, but i honestly dont know how a free game like flappy bird makes money, even when it goes viral. Probably ads but thats all i can think of
@ICEAL9 жыл бұрын
+Crimson it was on the app store for a dollar, it wasn't free. or at least the time i tried to dl it.
@minipanonymous9 жыл бұрын
+Iceal Alarcon it was always free, but when you died ads would display at the top of the game. People clicking them made him money
@gh0stxx7288 жыл бұрын
Am new to Swift and Programming .. and I look for small tutorials that can teach me what things are and how they work .. and you have made it easy to interact with the task to making this game and not too difficult to understand thanks to your brief explanations on things like collisions and physics ..THANK YOU
@Archetapp9 жыл бұрын
After a long wait, here it is! Make Flappy Bird! (Swift 2 in Xcode : SpriteKit) Share! P.S I'm noticing, watching the video right now, that in some parts, the positioning of the video is not working properly, sorry if that makes it a little bit confusing! I don't think its that big of a deal, but if you have any question about any part, feel free to ask! :)
@Robospidera19 жыл бұрын
+Jared Davidson (Archetapp) A question I have is how would you add a background to the game?
@Archetapp9 жыл бұрын
+Elliot Williams I'll go over this in the series, but here's an article that might help. :) www.ioscreator.com/tutorials/add-background-image-in-sprite-kit
@Robospidera19 жыл бұрын
Okay thanks :) I ended up using this 1 from the same site since the 1 you sent me gave me errors.. but heres the url I used. its from 2014. www.ioscreator.com/tutorials/display-background-with-sprite-kit-and-swift
@noobeast62089 жыл бұрын
+Jared Davidson (Archetapp) One question. You know what i love to see you do to improve the video intro (small but useful). When your video starts you can show us a small clip of what we are going to learn/do in the video. IUnderstand what i am saying? i find it hard to explain. If you understand, what is your thoughts about my idea?
@MrSaurabhnanda9 жыл бұрын
i have six button in a view controller and i want that when i click on each button data will display after fetching from server in next view . and data will different for each button
@young95348 жыл бұрын
You are a homie for making this.
@mitchwar20657 жыл бұрын
Great Vid, Could you please make an updated one for Xcode 9 and Swift 4
@yuvrajrandhawa29968 жыл бұрын
Keep up the great videos. Every time I have a problem with my code, your always the person I go to. This tutorial helped me with an app I'm developing. Keeping up loading these fantastic videos. :)
@mb3459 жыл бұрын
Looking forward to the second video. Your videos are really well made. Thank you for taking the time it takes to put them together.
@КулерМалиночив8 жыл бұрын
"How to use Flappy Bird. Very useful skill." Thanks for making my day dude xD And amazing tutorial. When my Macbook will be delivered I will finally program in Swift :)
@RockDavid7 жыл бұрын
I guess a helping hand for those doing this in Swift 3 Ios8, figured i'd be a bit common sense, but for the help its always nice to have. Main.story board is what you use for about the first 13 minutes of the video, no need to hard code anything just yet.
@tiffanygrey62045 жыл бұрын
Can you do an update? The system is different and I’m struggling with making this game
@programmingwithmichael53044 жыл бұрын
watch my vids
@aidansawyer42468 жыл бұрын
+Jared Davidson (Archetapp) i would just like to say that i have been watching for a bout 1 minute and this tutorial already seems great. Its very easy to follow and very "clean" Thanks a lot and keep up the good work
@lampree8 жыл бұрын
Your videos are so fun and easy to follow! Thanks!
@Archetapp8 жыл бұрын
+KyStride Glad you like them! Thanks for watching! :)
@TimeFluidProgramming8 жыл бұрын
+Jared Davidson (Archetapp) Hey. Thanks for the awesome videos. Can you please show me/us how to add sounds. Such as background music, sound when girds tapped, and a dying sound? Thanks.
@JYFilm-gf8yb8 жыл бұрын
Where can I get the pictures?
@adamel-kadi51797 жыл бұрын
I truely wish there was a MEGA THUMBS UP.... Best video on earth.... AMazing job, I subbed and Liked truely amazing dude keep it up...
@LuisGuzman-nm5jd9 жыл бұрын
thank you i am learning a lot from you, i just start programming with apple 6 months ago. I used to do software only with IBM. I really like Xcode
@Archetapp9 жыл бұрын
+Luis Guzman Nice! Thanks for watching, glad I could help. :)
@infantisify8 жыл бұрын
Cool! Best tutorial ever: nice speed of explanation, nice style, nice jokes)
@victorford17368 жыл бұрын
Very helpful Jared. I enjoy your tutorials and hope to produce some great stuff. Thanks for the help!
@Archetapp8 жыл бұрын
+Victor Ford Glad you enjoy them! Thanks for watching! :)
@Hyderium7 ай бұрын
Hey @Jared! first of all thanks so much for the superb tutorial. Following it to create my own game. I am new to spriteKit, so may I ask questions as I proceed? 1. Why did you create walls as SKNode? and why created ghost / ground with SKSpriteNode? Like what's the difference?
@garrettlovetv8 жыл бұрын
Really like the videos but I'm so confused. I took a Udemy course on swift and understand the syntax, but I still have no idea how to do anything. How do you know what to write and where to write it? Also if you haven't already, can you make a video on the file types that we're working with, what they do, when to use them, etc...
@vegetas3107 жыл бұрын
read a book or apple documentation
@fahdfuhaid5739 жыл бұрын
I'm a member at Lynda.com and Pluralsight, and bought some Udemy courses .. Honestly, your tutorials are better than what available on those sites for swift and ios. They are boring most of the time.
@Archetapp9 жыл бұрын
+أبو أسامة Thank you so much! :)
@PugzofSteel7 жыл бұрын
I'm studying structs in visual basic right now. When should I use a struct? Are structs like a mini class?
@slablife8 жыл бұрын
Great video! Sub'd! Side note - I work a few blocks from Temple Square, so it was cool seeing your desktop background.
@kenaramaki8 жыл бұрын
Great video, mate! Thank you!I hope more tutorials like this come up soon!
@torcordeiro8 жыл бұрын
Thank you for these videos I'm really excited to learn how to use flappy bird!
@jagg889 жыл бұрын
Yay flappy bird again! :) I followed yours when you first did it but think I bodged the rest of it when I couldn't follow the udemy you suggested ;)
@Archetapp9 жыл бұрын
+jagg88 Haha, yeah, it;s been a while, and I have learned a lot more about Swift since then. :)
@jagg889 жыл бұрын
+Jared Davidson (Archetapp) if you think about it only a year and a bit! Which is quite impressive that your knowledge has grown that much in a year!
@Archetapp9 жыл бұрын
+jagg88 Videos man, if you want to learn more about programming, start your own channel, haha. Pushes you to learn so much more. :)
@EliasGroesel8 жыл бұрын
Hello Jared, Im trying to program this in Swift3. You know already when there will be an update on these videos? I need some help! But nevertheless, great!!
@SuhailAmeen468 жыл бұрын
great video dude....looking forward to more
@justinbabcock31288 жыл бұрын
I am having a problem when this video hits about 8:38, my top wall and btm wall have errors saying unresolved indentifier 'self' , i think my code looks exactly the same as yours, what am i possibly diong wrong?
@Dave.zmrmnn8 жыл бұрын
+Jared Davidson (Archetapp) One question !! Can u show us how to put a sound when the ghost hits the Ground ?
@lisalarsson52028 жыл бұрын
You are so talented!
@mrheatmichael7 жыл бұрын
After you finish these codes, can you put the app directly on to your own iPhone?
@eduardovaraniespoladore21124 жыл бұрын
Does anybody know any app to create the character, walls and ground, please?
@benedictt32127 жыл бұрын
Just found your channel. Amazing tutorials. Subbed!
@Herman-ge2ux9 жыл бұрын
Keep on the super work! Please make a Egg CAR clone.
@jeremymelloul9939 жыл бұрын
Hello Jared, here is my question (sorry for my bad english i'm french :p) I wanted to know how did you master swift at this point !? you know a lot of thing and i'm really impressed. where did you learn swift, how to use spriteKit, please help me :) if you have any advice, please give me it
@unlockingmusic66914 жыл бұрын
Hi Archetapp, congratulations on your videos. I have a question: I am unable to open a file with XCode. The problem it presents to me is "Unexpected closing of XCode" when I try to open the file. What do you think it can be due to? Thanks again for all your videos, keep it up.
@shahoftrading7 жыл бұрын
When will this be updated in Swift 3? I cant wait to try this out!
@BrianBecker9 жыл бұрын
Thanks! How's the social media? And ps good luck on your upcoming test!
@Archetapp9 жыл бұрын
+Brian B Thanks! Haven't had too much time to work on it, but I'll be sure to work more on it during Winter Break. :)
@krisdundurs66728 жыл бұрын
Great vids mate, keep up the good work!
@marian_tsx8 жыл бұрын
this tutorial is amazing Jared, ty.. keep it going!
@jaspervisser1818 жыл бұрын
Hi. I got stuck at the very beginning. My wall is in the middle, and to the right in the simulator. I thought maybe the problem goes away when I keep coding, but now I'm at like 5:50 and when I added the red ghost, I see him right in the top corner... What am I doing wrong? I am using the newest xCode. My code: override func didMove(to view: SKView) { Ground = SKSpriteNode(imageNamed: "Ground") Ground.setScale(0.5) Ground.position = CGPoint(x: self.frame.width / 2, y: 0 + Ground.frame.height / 2) self.addChild(Ground) Ghost = SKSpriteNode(imageNamed: "Ghost") Ghost.size = CGSize(width: 60, height: 70) Ghost.position = CGPoint(x: self.frame.width / 2 - Ghost.frame.width, y: self.frame.height / 2) self.addChild(Ghost) }
@zachellis58488 жыл бұрын
Jared love your videos so informative and easy to follow one thing I'm looking to add is audio for background and whenever a coin is collected for my flappy bird clone. I have the code for background but can you help with the coin Thank you
@TheTrexTeam17 жыл бұрын
I can't make sense of the pixels on the .sks, I can't make stuff snap into place, I can't get the coordinate system, which for you started on the bottom, but for me on the .sks starts in the middle. You didn't delete the "Hello, world" either. Can I do this on a regular Single View Application, with the .storyboard,because this SpriteKit thing has too many windows and gravity and swift files and .sks files, which I don't need? It's taken me hours to find all this stuff out, and now I can't use it. All I'm doing is this: Plotting 3 images for my corners of a triangle with set coordinates Choosing a known starting point, which will then make another point halfway in between the it and a randomly chosen corner And then using the new point as the start and doing it again All I need to know is how to systematically add images to set locations, like addChild. From there I'll use a for-x to do it quickly.
@HurricaneForceGaming8 жыл бұрын
None of this looks the same in the new Xcode 8.2 with Swift 3
@RockDavid7 жыл бұрын
Yeah, i've gone though this, and just finished first video...just about 90% of the code i did on the main.storyboard -> how much easier it has gotten for sure.
@danielrhondeau39218 жыл бұрын
Hey Jared, I came across this video and saw the temple in the background. Are you in Utah? I have an app idea and wanna talk. Just lemme know thanks g
@jerziekspicer-rippy33848 жыл бұрын
i cant find the images that you used
@praveenkumarguda40296 жыл бұрын
Hello @Jared Davidson thanks for your videos i'm doing one project which is similar to this for my exams. In my project player will jump over obstacle coming on his way but the problem is when i tried to jump over that obstacle but its not allowing me can you help me please.
@kristinakacmarova48137 жыл бұрын
What did you use to make the images? (Ghost, walls and ground?)
@ojassethi37229 жыл бұрын
Awesome tutorial! Please make the part 2 quick! ;)
@ojassethi37229 жыл бұрын
Please tell about how would you remove the nodes and fps thing in the next video :) Thanks a ton!
@gregorious65078 жыл бұрын
+Ojas Sethi To remove the fps, go to the view controller and you should see skView.showFPS = true. You can change it to false
@F17A8 жыл бұрын
do i have to have a dev account or member or whatever its name is?
@ojassethi37229 жыл бұрын
I have a question +Jared Davison. How would you remove the nodes and fps thin gat the bottom of the screen?
@ojassethi37228 жыл бұрын
Thank you very much!
@homestar528 жыл бұрын
Does the ghost get resized when running on a bigger screen like an iPad? (idk if the scene scale mode affects it)
@ots11668 жыл бұрын
what is the 0x1
@moyerr8 жыл бұрын
0x is the prefix for a hexadecimal integer literal. 1 is to say that we want the hex value 1 (which is the same as the decimal 1, or the binary 0001)
@yizhenshi72798 жыл бұрын
I was trying to add the ground, however the ground picture is in the middle of right side. and just have half of them been showed up. i had the exactly same (well i think those r same, i just doing exactly what you did). Do you know why? BTW, i just download those image in your Xcode files. Would that case this problem? And this video is AWESOME!!!
@jaspervisser1818 жыл бұрын
I got exactly the same
@MrCreeper20k8 жыл бұрын
I encountered the same problem and I think its because the coordinate system of the scene changed in recent updates. The origin (0,0), isn't in the bottom right anymore, its in the middle. So to set the ground to line up with the left, you can do something like Ground.position = CGPoint( x: self.frame.width / -2 Alternatively, you could just make the ground as wide as the screen and in the middle of the screen by putting its x-position at 0 and changing its size like so: Ground.size = CGSize(width: self.frame.width , height: Ground.frame.height)
@benjaminsides80268 жыл бұрын
Another alternative is to move the the origin point back to the bottom in the GameScene.sks file.
@olliebrown5888 жыл бұрын
can you explain how to do this? Thanks
@lukaspga8 жыл бұрын
Well, when I try to open the GameScene.sks file, xCode crashes =/ Googled it and seems like an old bug that haven`t solution. Theres a way to edit these ski files without xCode?
@rahulshivade53029 жыл бұрын
Hi can you please make a tutorial on CIFilters using swift
@samuelengstrom58639 жыл бұрын
when does the part 2 come ? :) Thank you you are the best :)
@uryu2518 жыл бұрын
how come i dont have the gamescene.swift tab?
@carolynstampeen19188 жыл бұрын
How did you know/decide to set the Physics Categories with " UInt32 = 0x1"? Nicely done, as expected. :)
@thejasonreal7 жыл бұрын
How do we reduce the force of gravity? or slow the rate of the Ghost falling?
@Shotbyrothepro8 жыл бұрын
how do i change the back ground color, how do i make it to where when my object hits the "wall" the game returns back to start screen. how do i add sound , how do i add start button ,score table etc..
@sofalofa95417 жыл бұрын
What version of xcode did you use?
@WhiteGloveBox8 жыл бұрын
Can you make a tutorial on how to design the assets and then exporting and importing them to a project? Thanks man
@jollyjuhi84978 жыл бұрын
Hello I wrote the same code as u wrote but my ghost will be disappeared after writing the code of affectedbyGravity and dynamic so please help me for this
@ChrisTurnbull239 жыл бұрын
Why is my ghost rotating when i click? I probably typed something in wrong but i don't know. Can't wait for part 3 of the series
@janwarrensimpadua8157 жыл бұрын
Is it the same using swift 3?
@miroslawkosciolko8 жыл бұрын
Great job !!! Please more ambitious lessons :)
@icecubez85819 жыл бұрын
Hi, Jared.i really like your demo on the flappy bird using Xcode 7 I would greatly appreciate it if you make a game like candy crush with swift xcode7 thanks a lot in advance
@Robospidera19 жыл бұрын
In the next part can you also show us how to add a score to the flappy bird in swift... I haven't been able to figure it out yet.
@Archetapp9 жыл бұрын
+Elliot Williams Plan on doing that. Maybe not the next part, but we'll see. :)
@byteappple9 жыл бұрын
Hey Jared! I have a quick question: Can you explain me how do the struct "PhysicsCategory" contents work? The -> static let ghost: UInt32 = 0x1
@candicenevarez20757 жыл бұрын
I know you said swift 3 is a little different but I can not get the ground image to be on the bottom.
@chabz87649 жыл бұрын
It says that the GameScene has no member 'width'. What should I do?
@Zainanjum1008 жыл бұрын
unable to click on app after putting jump coordinates but in the video u can tap on app and your ghost jump
@mmck1747 жыл бұрын
hey, were do you download flappy bird user tools
@rhubahb7 жыл бұрын
How did you get those objects?
@Ayoub-by3gx8 жыл бұрын
Hi do i need experience in swift programming to folow this tutorial ? (I have experience with android and c++ )
@souravvashisht96588 жыл бұрын
My ghost is going down it don't stops on ground. What can I do for this kind of problem..
@alextanasescu16495 жыл бұрын
if i wanted to make it landscape mode instead of portrait mode how would i do that?
@samuelengstrom58639 жыл бұрын
I really appreciate you Thx! But make longer episodes of an especially app like a training app or a homework app or something like that :) So we can follow and learn many things that we can use in our programming :) Thank you again Best Regards Samuel
@raheelqamar15188 жыл бұрын
Every single time when I open the simulator after adding a new variable, it shows an X. How do I fix that?
@ZakariaBoualaid8 жыл бұрын
+Raheel Qamar That means you made a mistake while putting the name of an image in your code, it should match the images you imported into your project. xCode turns the not found images to X.
@valbonarexha16077 жыл бұрын
the images are not in the description
@AppleiMac20072 жыл бұрын
In newer Versions of Xcode are the zero Position at center
@Natalie-li9zu8 жыл бұрын
Ur pure awesomeness! Keep it up!
@latisimus47518 жыл бұрын
Greetings, having an issue with calling the function we created "createWalls" in the didMoveToView. get an error called "Value of type 'GameScene' has no member 'createWalls' Its most likely do to the new Swift updates that have happened over the 6 months... Anyway to fix it Also says: 2016-07-05 14:47:03.481 FlappyClone[489:95532] : calling -display has no effect.
@SupremeChief18 жыл бұрын
Hey, I ran the simulator just like u mentioned at 8:59 and it appears black to me. I wrote down every single code
@PranshuRanakoti8 жыл бұрын
Nice tutorial man! but i am facing a problem, when i run it, the simulator opens up a quite big screen and i can't fit everything on my screen in the simulator and i have to scroll it down again and again!
@missodessaTV8 жыл бұрын
+!11UM!N47! when you open the simulator app there's a bar at the very top of your computer screen click "window" then select scale and change the size to 50% or something lower that will fit your screen. It also depends on what iphone/ipad model you're running the simulator on they all have different screen sizes.
@PranshuRanakoti8 жыл бұрын
thanks i found another way of doing it in the view controller of the pp, there is an option for screen size in inches and we can scale it to our needs :)
@chatzi098 жыл бұрын
Hey, I cant get the ground to show, theses just a massive black bar on the bottom of the display. 3:32 Ground = SKSpriteNode(imageNamed: "Ground") Ground.setScale(0.5) Ground.position = CGPoint(x: self.frame.width / 2, y: 0 + Ground.frame.height / 2) self.addChild(Ground)
@Alenajellybeans7 жыл бұрын
You said the ghost needed to be 200x200 but in the video it says 147x200 ?
@lucasdaje33728 жыл бұрын
mas que un maestro un mentor, thanks.
@gonesurfin84058 жыл бұрын
Not sure if this is just me, but when I run my app in the simulator with 1phone 7 as the hardware, the ground and my ghost appear smaller than yours do. Hallllp :( >.
@purelego8 жыл бұрын
how do you change direction of the gravity?
@anthonymikinka8 жыл бұрын
Hey Jared Im have a problem here with identifying self here is my code. As well as the full colors aren't showing up either with the self.frame.height and .width Any help would be nice! Thanks func createWalls(){ let wallPair = SKNode() let topWall = SKSpriteNode(imageNamed: "Wall") let btmWall = SKSpriteNode(imageNamed: "Wall") topWall.position = CGPoint(x: self.frame.width / 2, y: self.frame.height / 2) btmWall.position = CGPoint(x: self.frame.width / 2, y: self.frame.height / 2) topWall.setScale(0.5) btmWall.setScale(0.5) wallPair.addChild(topWall) wallPair.addChild(btmWall) self.addChild(wallPair)
@TheHasanboy8 жыл бұрын
+Anthony Mikinka (xXKillStreakzXx) I have a problem, too. When I start the simulator, it shows nothing and in the log there is a notification: CUICatalog: Invalid Request: requesting subtype without specifying idom
@clearydavid509 жыл бұрын
What is the "?" for after physicsBody? What does it do?
@aladdin_mck8 жыл бұрын
for the ghost picture you said to use a 200 x 200 pixel but the video said 147 x 200... Confused as to which one should actually be used.
@torcordeiro8 жыл бұрын
I tried both and they both worked
@اسماءابراهيم-ت3ط7 жыл бұрын
I can't fond rectangleofSize in my SKphysicsBody please help 😟😟
@jamesreal37133 жыл бұрын
How to you create your own image?
@scrapmechanictv38748 жыл бұрын
for me it says Expected Declaration what do i do ?/? please i need help