GameDev on an iPad With Swift Playgrounds: A Proof of Concept

Поделиться
HTML-код
  • Опубликовано: 6 ноя 2024

Комментарии • 47

  • @K5RTO
    @K5RTO 2 года назад +4

    Had to put you back on normal speed by reducing playback speed to .75. ahhhh Much Better. You're inspiring me to give Playgrounds a shot. ✌♥

    • @John-Dav
      @John-Dav  2 года назад +1

      Haha yeah I’ve started to stick with 1x speed for the upload. I got some feedback that it was too fast 😂
      Woohoo I hope if more people use playgrounds Apple will be motivated to make it even better.

    • @eaglemedia19
      @eaglemedia19 Год назад

      Terrible Audio...

  • @2712nokia
    @2712nokia 2 года назад +5

    As a beginner coder I appreciated this video so much! It was a perfect link to the Playground tutorials and induced a small transition to Xcode :) I would love to see more videos in that style because that down to earth approach, starting from scratch and having an audible explanation in this jungle of abbreviations is so important to me personally! I simply loved it :)

    • @John-Dav
      @John-Dav  2 года назад +3

      So happy you enjoyed the video. Definitely more to come. :)

  • @AM_Travels
    @AM_Travels 2 года назад +2

    Thank you so much, its been so hard to find a video this good on using the iPad App. I really appreciate this as I know how much time you must have put into making this video!

    • @John-Dav
      @John-Dav  2 года назад +2

      Awesome so happy you got something out of my video! I think swift playgrounds is very niche right now I’m hoping apple brings more to it at WWDC in June.

    • @AM_Travels
      @AM_Travels 2 года назад +1

      Hey, would you be able to send the final piece of code from the GameView? It’d be a great help. Thank you so much!

    • @John-Dav
      @John-Dav  2 года назад +1

      You can find the most recent build of the game here - github.com/john-davenport/ShapeGame

  • @arnoczkyzoltan6158
    @arnoczkyzoltan6158 12 дней назад

    We really like it, so keep it up :)

  • @h46it_G
    @h46it_G 2 года назад +4

    Great video! Pretty interesting as I’m very new to programming. Thank you! I hope you see more iPad videos!

    • @John-Dav
      @John-Dav  2 года назад +1

      Glad you enjoyed the video! I'm very interested to see where Apple takes Swift Playgrounds in the future and I'll definitely have more iPad content on the channel. Thanks for stopping by. :)

  • @hyperPad
    @hyperPad 2 месяца назад

    Ohhh try us out!! We transform iPad's into the BEST game dev tool!

  • @eirisarca6717
    @eirisarca6717 2 года назад +1

    I’m loving this series! 🙌

    • @John-Dav
      @John-Dav  2 года назад

      Woohoo! That makes my day. I’m working on some new content soon. :)

  • @snogezr
    @snogezr 2 года назад +5

    John, Swift and SwiftUI have been “hobbies” of mine for several years. Your 35 minute video should be compulsory viewing for anyone who has taken the time to follow the “Learn to Code” series for Swift Playgrounds. Your proof of concept is exactly what I needed to make the leap from simple Playground apps to Game Development. Your “build a game from scratch” technique demonstrates programming in real life. Write initial code, fix syntax errors, initialize necessary variables, add functions, add more code… until your vision is complete. Source code that works has always been my best teacher. I use the full documentation as a reference to understand specific lines of code. Not to teach me HOW TO CODE. Please create more videos in this style. I will view all of your videos, and be looking for new ones. Is the source code for this app stored anywhere ?

    • @John-Dav
      @John-Dav  2 года назад +1

      I’m so happy you enjoyed the video and my style! I am definitely going to do more videos like this one in the future. They’re a lot of work though so it’s tough to do them regularly.
      I don’t have a place for the source yet - but I am probably going to set up a GitHub profile to start sharing these so people can look through them more closely. Will update in a future video when that happens. :)

  • @gregr209
    @gregr209 2 года назад +2

    Very helpful and I am a beginner. Please do more just using the iPad.

    • @John-Dav
      @John-Dav  2 года назад

      Awesome happy you enjoyed the video! I’m definitely gonna be doing more iPad content. :)

  • @jdcrunchman999
    @jdcrunchman999 2 года назад

    This is just what I’m looking for. I didn’t even know I can now write code on my iPad.

    • @John-Dav
      @John-Dav  2 года назад

      Awesome! Happy you found my little channel and got something out of the video. It is pretty amazing how far these tablets have come, someday I'd have to expect Apple will put something that is much closer to Xcode on the iPad, I just hope it's done in a way that is still fast and easy to use like Swift Playgrounds.

  • @cevnzllc5651
    @cevnzllc5651 2 года назад +1

    My macbook is no longer an option for me to learn coding so I an only use playgrounds at the moment. I have just done some of their lessons and working on 100 days of swift!

  • @kellyrodgers9326
    @kellyrodgers9326 Год назад

    Cool. Thanks!

  • @TiffanyNg100
    @TiffanyNg100 Год назад

    Is it possible to add Rive animation for on swift playground for game?

  • @pierremarais7669
    @pierremarais7669 2 года назад

    Nice game/video, thanks

  • @kcguitar9307
    @kcguitar9307 2 года назад +1

    hey john, i don’t have a mac as of now but i wanna learn swift and create stuff with swift playgrounds on my iPad but most swift tutorials are xcode related…i know other languages so swift playgrounds lessons didn’t really help because it’s just concept based. what do you recommend i do to start learning?

    • @John-Dav
      @John-Dav  2 года назад

      With Swift Playgrounds 4 being so new it might be difficult to find tutorials that specifically use it on RUclips, but the good news is that you should be able to find SwiftUI tutorials done in Xcode that will still work inside Swift Playgrounds. If you want to venture outside the SwiftUI framework within Swift Playgrounds, then it does become a bit tricker and you'd have to really dig deep with searching for answers and a lot of trial and error.

  • @elmomertens
    @elmomertens 2 года назад +2

    With Canvas view they introduced at WWDC 2021, you might actually be able to write a bit more serious game on Playgrounds too!

    • @John-Dav
      @John-Dav  2 года назад +2

      Yeah - actually looking at working SpriteKit into Playgrounds on iPad by using a SpriteView. I think it's possible to create something fairly complex here, but I'm not sure exactly how practical it is as a solution. We'll see though - hopefully next week I'll have another video up detailing what I've learned. :)

  • @MochaPawZ44
    @MochaPawZ44 2 года назад

    FINALLY! A GOOD ONE

    • @John-Dav
      @John-Dav  2 года назад

      Thanks I think 🤣

  • @warendewis6535
    @warendewis6535 Год назад

    What does expected decoration mean

  • @citooi
    @citooi 2 года назад

    Hi this is so cool! I was wondering if I am on the right track. I’m learning swift on codecsdemy and once I finish the course then I learn swift ui. These are like 2 different languages right? Swift ui is for apps and swift is general purpose. Is this right? It’s very hard for me to understand the differences and how to “master” swift

    • @John-Dav
      @John-Dav  2 года назад

      SwiftUI is a framework so no it’s not two different languages, but there is some SwiftUI specific syntax that you’ll have to learn. Happy coding! :)

  • @JoeDoe1
    @JoeDoe1 2 года назад

    What’s the point of being able to import SpriteKit framework among other frameworks in Playgrounds projects, if you can’t really do anything with them?

    • @John-Dav
      @John-Dav  2 года назад

      I guess it’s really there for experimenting and testing ideas. Playgrounds (unfortunately) still needs work especially on the game development side of things. But this is a good first step and I’m having fun exploring what can be done- even if it’s relatively limited.

  • @JavierNegrete31
    @JavierNegrete31 2 года назад

    Awesome video! Can we build iMessage sticker apps with this iPad app?

    • @John-Dav
      @John-Dav  2 года назад

      Unfortunately I believe you’re still going to need Xcode to make an iMessage sticker app, but to be honest I’m not to familiar with creating the iMessage apps so there might be some way to do it that I’m not aware of.

  • @aiyushg1769
    @aiyushg1769 2 года назад

    With swift playground on iPad there are a number of playgrounds that you can choose from, how can I get these on Swift Playgrounds on Mac?

    • @John-Dav
      @John-Dav  2 года назад

      If you mean how do you use the learning apps that come built into Swift Playgrounds on your Mac? You can download Swift Playgrounds through the Mac App Store and use it like you would on the iPad. If you want to know how to transfer playgrounds you create to your Mac I made a video about that a little bit ago here - ruclips.net/video/-s4VtfPH4vU/видео.html

  • @teamkahlich1814
    @teamkahlich1814 2 года назад

    Has anyone figured out how to get this to cooperate in landscape mode? Works perfect in portrait and I was able to add a reset button, but landscape mode cuts off half the game :(

    • @John-Dav
      @John-Dav  2 года назад

      Yeah this game was designed to be played in portrait mode. However in swift playgrounds one glaring limitation is the inability to set the app to display in portrait mode. I’m really not sure the logic behind this from Apple’s stance because in Xcode you can define an app to be exclusively portrait or landscape and then it won’t rotate when the device is rotated. Maybe there’s a solution out there though that I haven’t found yet.

    • @teamkahlich1814
      @teamkahlich1814 2 года назад

      @@John-Dav yea nothing like artificial iPad M1 limitations lol. Either way thank you for the video and response. Subbed for sure

  • @MJmusic9
    @MJmusic9 5 месяцев назад

    真的很酷的视频

  • @eaglemedia19
    @eaglemedia19 Год назад

    What happened to Your Audio (speed)? It's terrible... It nerves...

    • @John-Dav
      @John-Dav  Год назад

      Yeah looking back it was a poor choice to speed it up. I've learned my mistake lol.

  • @Idkyall92919
    @Idkyall92919 Год назад

    2:04