Thank god for a straightforward tutorial with good relevant information for regular people who know what coding is before getting into Xcode (even if Xcode itself is new) without an included spoon for those who have never touched a keyboard.
@zanekarl83915 жыл бұрын
Hey @Jared Davidson, the functions have changed a bit since 2015 with "didMoveToView" becoming "didMove" with different parameters and "touchesBegan" disappearing completely in favor of a slew of functions that I assume just split up the functionality of touches began into all the possible peripherals that the user has access to. Is a way you might be able to update the video? Or maybe add an addendum to the dooblydoo explaining how the code would look in 2019? Thanks!
@danwoodbury89248 жыл бұрын
You're a very bright young man. Keep up the good work. Programming is an incredible outlet for various things in life!
@BishalSapkota9 жыл бұрын
Cheers! This helped a lot. And I like how straight up and concise you are.
@VeryBlueBot4 жыл бұрын
dude... this is literally the only clear explanation on YT for Atlases for SpriteKit! thank you wasted so much time on this silly thing.. Crying from happiness now that I saw your video! Thank you, thank you thank you! PS: is there a reason there are no good (other then this one) tutorials for this in 2020??? testing out SpriteKit and kinda wondering if there is a point to invest more time into it.. Trying to do all things to avoid Unity for mobile 2D development :)
@TechEreb8 жыл бұрын
Hi Jared, I'm currently working on a basic side-scroller I'd like to keep building on, at this current point I'm having an issue with animation and I was wondering if you'd be able to help? I've got 3 different game states: start, playing and gameOver controlled by enums. At the moment I'm using repeatActionForever for my animation, which means that when it's gameOver the animation doesn't stop. Is there a way to make the animation stop when it's game over? The only lines I can see is either repeatAction with a count or repeatActionForever. Any help would be greatly apreciated :D
@tjsorensen18928 жыл бұрын
Man you done it again! Love the video, I feel like i search forever and get different answers none of which are in video form and then I finally come across a video like this one and say to myself Dang He makes this so simple I should have known to check with Jared first! I would also like to see how the atlas would work with @2 @3, thanks!
@caspiandamari10463 жыл бұрын
A tip: watch movies at flixzone. I've been using it for watching lots of of movies during the lockdown.
@briggstristan37243 жыл бұрын
@Caspian Damari yea, I've been watching on flixzone for years myself :D
@tiffanylundquist37917 жыл бұрын
Nice. Very helpful for someone learning about textures and sprites. Did you leave out the last image, when you changed the starting index of your loop from 0 to 1. Should the for loop have gone to [].count + 1
@jojomojo88788 жыл бұрын
Hey , I wonder if you can tell me how i can use Texture.Atlas to make a puzzle on the scene. I have a board located in my scene and I want to display all pieces of puzzles on that board but just can't think of how to arrange them on it. Any suggestion will be a treat.
@jeffwaters48187 жыл бұрын
What application did you use to create the images?
@manvsmonstertv8 жыл бұрын
Loved your video, but I have a question. I want to navigate between separate view controllers that feature different animations. How to? thx
@smallcrowd8 жыл бұрын
Can you additionally show how to make this .atlas @2 @3 as well? How to put it in .xsassets? Thanks in advance!
@jofodamofo9 жыл бұрын
I love your videos dude! Keep it up
@Archetapp9 жыл бұрын
JOFO Will do! :)
@timhaiii7307 жыл бұрын
Thanks for your Amazing tutorial Jared, and I have a simple question. At your last part, the UIkit, how to safely unwrap the imageNames[i] instead forcing it to unwrap?
@suki_channel6 жыл бұрын
What will MainGuy = SKSpriteNode(imageNemd: TextureAtlas.textureNames[0] as! String) get? Is it "win_1.png?" or a random image from the set?
@cargogas9 жыл бұрын
great video ,, as any way to append the array with all images without having to type all the images names inside the array??.... thanks
@MaulikSutariya9 жыл бұрын
great tutorials. each of your tutorial is helpful.
@Archetapp9 жыл бұрын
Maulik Sutariya Thanks for watching each tutorial! ;)
@MaulikSutariya9 жыл бұрын
Yes, it's always good, learning something new. Keep it up.
@stephenbrigly12668 жыл бұрын
Great series of videos! Can you do one on adding background music to app?
@helendorman82247 жыл бұрын
Hi Jared, this is my first attempt at an app and I’m using Non-SpriteKit. My code is laid out exactly the same as yours at 11.53, but using my own "......jpg" refs. I’m now trying to make the images fade slowly from one to another. Can you please tell me what code to use and where to put it in the table? Thanks.
@richardmason48738 жыл бұрын
Great video once again! One thing I am struggling with is how to get textures to work with physics. I have set up a flappy clone as shown in your flappy tutorial and I have set up an animated character using this tutorial but I don't know how to get the physics body to match the size of the current texture being drawn, and without all the textures colliding with other objects simultaneously (such as coins). Any help would be much appreciated! Thanks :)
@carolynstampeen19188 жыл бұрын
Great job on this! If I have an image sequence with a lot of images, organized in its own folder, is there a shortcut alternative to manually adding in 40+ items?
@ChessCo.16 жыл бұрын
This doesn't work for me, have they changed the swift code or does this code still work?
@joseantoniorezende17374 жыл бұрын
Good video!
@Beetle-2.71827 жыл бұрын
I think you can use SKAction.animate(with textures: [SKTexture], timePerFrame sec: TimeInterval) and SKAction .repeatForever() to build the animation of your images, then let your sprite run it instead.
@brendanm60008 жыл бұрын
great videos. nice job starting your own company at your age- entrepreneurial knack.
@AliMohamed-jg6bv6 жыл бұрын
hi... thanks for such amazing efforts how to make the animation stop after one full loop/movement? in other words i need to stop an image after a single full 360 degree loop, i don't need to keep it continuously rotating/looping. can u help me plz
@SnowWhiteTan19809 жыл бұрын
Great tutorial! Is there any way to start the animation when you touch the screen when using the "normal" xcode animation?
@waynefilkins83949 жыл бұрын
Can you do this for a normal app? For like a button or image?
@JohnSmith-mo5sq9 жыл бұрын
Dudeeee extremely helpful tutorials! thanks a lot
@sppanday_9 жыл бұрын
thanks for your hard work
@emirsoyeder80823 жыл бұрын
Version of your xcode?
@JimmyGunawanX7 жыл бұрын
Do you have video tutorial extending this to ARKit?
@eliasknudsen66398 жыл бұрын
Hello Jared. Can you help me with applying an explosion animation when something collides. And the collision is at random position every time. Please help me
@shreyaspapinwar27458 жыл бұрын
I have an error unexpectedly found nil while unwrapping an optional value - it's telling me that there is not value in images
@Boosted30v9 жыл бұрын
How do you make an animated image in a project with multiple view controllers? Say I want one VC with animated images and the other VC's to have other animated or static images.
@adeadegoke49257 жыл бұрын
In the 'Non-SpriteKit' tutorial, Jared you do not show when you added the images to the project. I have followed the tutorial, doing exactly what you done, however I am getting this message in the console; 'fatal error: unexpectedly found nil while unwrapping an Optional value'
@Eliasmalaquias1007 жыл бұрын
You'll notice that he has a folder called "supporting files". Make a similar folder and put your images in there. I had the same issue until I figured that out.
@adeadegoke49257 жыл бұрын
Elias Guerra thanks you
@kevinstevenson52934 жыл бұрын
how do I animate a sequence of images and then stop?
@mariaionchenkova11738 жыл бұрын
You are very cool! Thanks!
@borbuh72569 жыл бұрын
I have a problem in simulator when i close app i can't access it anymore.
@thezue6669 жыл бұрын
great video :) thank you Jared
@Archetapp9 жыл бұрын
Thanks for watching! :)
@miguelanjos19 жыл бұрын
tx for the video. It loads but i do get a bad instruction: fatal error: unexpectedly found nil while unwrapping an Optional value (lldb) wud u have an idea what's wrrong? tx again!
@miguelanjos19 жыл бұрын
+Miguel Anjos i added the .jpg for each pic. Now it runs!! tx so much i'll subscrube to get all ur tutorials!
@parkerbray43582 жыл бұрын
great video. Im trying to learn how to create an animation with images in a SpriteKit view skview. If anyone knows where I could find help with that please comment where
@shreyaspapinwar27458 жыл бұрын
Not working for swift 2.1
@Maetschll8 жыл бұрын
Great! implemented on mi next projects :) Thanks
@elbuenrobin9 жыл бұрын
Jared how could I contact u to talk about an app that I want you to develop?
@buie16928 жыл бұрын
Wheres a good resource for finding collections of images like these? Are there tools to convert sprite sheets to collections of images?
@gepettobaba8 жыл бұрын
opengameart.org/
@Youngl3lood36 жыл бұрын
He is good. He gets a sub
@mozkau_gaming9 жыл бұрын
Thanks it helped. Although it took time for me to figure out how to finish your loop:)
@ezay1228 жыл бұрын
I have one error with MainGuy = SKSpriteNode(imageNamed: TextureAtlas.texture....) Invalid Request: requesting subtype without specifying idiom fatal error: Array index out of range Why :(
@VinGazoil7 жыл бұрын
God! Use camelCase for your variable names…
@960Design7 жыл бұрын
the lack of camelCase and using var instead of let for assignments sets off my OCD, but nonetheless an excellent tutorial.
@LaklukLP4 жыл бұрын
I cried multiple times. but great tutorial
@warmachine30717 жыл бұрын
How can i put it on for a certain amount of times, like loops?
@decreer45676 жыл бұрын
a for loop
@TheAssassin749 жыл бұрын
Can you go over multi touch next?
@Archetapp9 жыл бұрын
Soon. :)
@tqdolla8 жыл бұрын
I just need to know how do I learn to do all of this by myself
@J-PBrwck7 жыл бұрын
Thanks so much dude!
@Archetapp7 жыл бұрын
+Jean-Paul Berwick My pleasure dude! :D
@zolev147 жыл бұрын
How do we do this with @2x and @3x
@anhdungle018 жыл бұрын
I love your video :)
@OleRene9 жыл бұрын
Thanks Jared. Great videos! Being Danish, it is a bit hard to follow your speedy speech. Would you please slow down a bit? Or perhaps breathe in between the sentences? Thanks again.
@friesja25718 жыл бұрын
Thanks! This helped.
@Archetapp7 жыл бұрын
Glad I could help! :D
@gargyyyy7 жыл бұрын
Don't forget use Clean function in Xcode :D
@SurendraKumar-si8lw7 жыл бұрын
0:02 haha love that
@OrangeJuice-sb1bh9 жыл бұрын
Can you explain a little more.. I don't understand whats happening, I just see words i don't know what those words mean.
@Archetapp9 жыл бұрын
Orange Juice I'll try to explain a bit more, thanks for the tip! :)
@ZandorSmith9 жыл бұрын
Why not use for imageName in imageNames { Blablabla }
@Archetapp9 жыл бұрын
***** Then you couldn't control how fast the images scroll through. :)
@ZandorSmith9 жыл бұрын
Jared Davidson Wut? That doesn't make sense to me. (I'm talking about the code at 10:50)
@Archetapp9 жыл бұрын
+Zandor Smith oh, sorry! I completely just wrote that comment without looking at the video. You can definitely do it your way, just did it a way that I was familiar with. :)
@jonathansuarez74642 жыл бұрын
I subscribed you!
@notorioustofu34829 жыл бұрын
I keep reading the title "! Animating Images" as "not animating images"
@Archetapp9 жыл бұрын
D. Greg Haha, that would be a boring video. ;)
@DarylNotDead8 жыл бұрын
👍🏻👍🏻👍🏻👍🏻👍🏻👍🏻👍🏻👍🏻👍🏻👍🏻
@barnabuswizardspook7 жыл бұрын
hello, arizona mormon ;)
@Archetapp7 жыл бұрын
+Andrew Burns Not in Arizona, but I am Mormon! ;)
@ArbelFS39 жыл бұрын
Can you do a video series about core graphics? Its a huge subject and no one on youtube made a fully explaining video or video series about this subject, it would be great if you can make one and I am sure it will help a lot of people, (Especially me :D) Core graphics are hard, by the way, this is the only updated and working CG guide I found on the web, even though it is not well explained(in my opinion)... www.raywenderlich.com/90690/modern-core-graphics-with-swift-part-1
@Archetapp9 жыл бұрын
Ten Box I can look into it. :)
@ArbelFS39 жыл бұрын
:D
@Fijiannnn7 жыл бұрын
This does not make my image animate at all.
@alexanderschafer11748 жыл бұрын
Open parenthesieeees CLOSE parenthesieeeeees Dude, we know when or not to write parenthesis or quotation marks -.- Helpful videos anyway
@Archetapp8 жыл бұрын
The way I see it, if people are watching 240p or lower, it's really hard to tell what I'm typing, so I say exactly what I'm typing. :)
@alexanderschafer11748 жыл бұрын
+Jared Davidson (Archetapp) Well, when being in a situation where you can copy your code you will also have the ability to watch the video in a better quality than 240p or lower (who is doing this anyway??). For me (and i bet for much other people) this is just annyoing while wanting to learn the actual lesson ;)
@Archetapp8 жыл бұрын
+Alexander Schäfer I get quite a bit of viewers from India and South Africa, where internet speeds are terrible. I have to watch videos in 360p, and I live in the US... When watching at 240 or even 360p, it's sometimes hard to tell if its a bracket or parenthesis. In my latest videos, I've tried to just say "open close parenthesis." as to tone it down a bit... Hopefully that's good enough. Thanks for the suggestion! :)