Make a 3D game with Swift Playgrounds 4 - Tutorial

  Рет қаралды 16,508

Anyone Can Code

Anyone Can Code

Күн бұрын

Hi everyone! Apple's Worldwide Developers Conference is coming, so is the WWDC Swift Student Challenge! In this tutorial I will show you how to make a 3D game with Swift Playgrounds 4! Additionally I’ll show you how to convert your Playgrounds to a Swift package manager or .swiftpm format.
Download the jackpot 3D model here:
madebyyuma.gumroad.com/l/jack...
If you'd like, you can get the finished Playgrounds file here:
madebyyuma.gumroad.com/l/jack...
Check out the apps I've made and more:
madebyyuma.com
Find out more about Apple WWDC here:
developer.apple.com/wwdc
0:00 Intro
1:17 What we're going to make
2:12 Getting the 3D model
3:16 Setting up the playground
8:00 SwiftUI
16:00 Game logic (SceneKit)
40:08 Spinning reel math
45:05 More coding!
59:35 Running on an iPad
1:01:03 Creating the .swiftpm file
#swiftPlaygrounds4 #SwiftStudentChallenge #WWDC22

Пікірлер: 46
@naimalanayudistira2848
@naimalanayudistira2848 2 жыл бұрын
Keep On Going Yuma!
@AnyoneCanCode
@AnyoneCanCode 2 жыл бұрын
Thank you 😊
@SuiI17363
@SuiI17363 2 жыл бұрын
NICE!THX!
@naimalanayudistira2848
@naimalanayudistira2848 2 жыл бұрын
Nice Yuma THX
@yashrajjadhav9839
@yashrajjadhav9839 2 жыл бұрын
Great bro
@Red-cr8sj
@Red-cr8sj Жыл бұрын
Is there any course you could suggest to make games on swift? I find it hard to find a course
@75kmoney78
@75kmoney78 10 ай бұрын
New to programming apps but im trying my hand at it. Wwbsites are easy this is a bit difficult
@InglesOrEspanol
@InglesOrEspanol 2 жыл бұрын
I subscribed
@King_Masterz
@King_Masterz 2 жыл бұрын
Btw what is the class for in this school?
@only1maxx
@only1maxx 2 жыл бұрын
Hey Yuma! When I was trying to download the 3D model for the game it said I had to put in a fair price. What does that mean? Do I have to pay for the model? Thanks -Max
@AnyoneCanCode
@AnyoneCanCode 2 жыл бұрын
Hi Max, the 3D model is free to download, with an option to pay whatever value you think it’s worth if you want to contribute to my channel!
@only1maxx
@only1maxx 2 жыл бұрын
@@AnyoneCanCode Alright! Thanks so much!
@m28391
@m28391 15 күн бұрын
can you do this on the iPad😅❤
@prabaljitwalia9570
@prabaljitwalia9570 2 жыл бұрын
The gum road download link for the model is not working, it's just showing processing but not sending the file to email address. Can you please share another link, google drive or something like that?
@AnyoneCanCode
@AnyoneCanCode 2 жыл бұрын
Thanks for letting me know! Try it again, it should work!
@servicedreamef9405
@servicedreamef9405 2 жыл бұрын
Hey Yuma, how can I integrate the Game.scn-file correctly into the new Swift Playgrounds 4.1? It just doesnt work out for me. To be shure that I didńt make any stupid typing errors, I bought your code but no difference: Text and money appears, 3D doesnt :-/
@AnyoneCanCode
@AnyoneCanCode 2 жыл бұрын
That’s interesting. I tested the code from Gumroad with Swift Playgrounds 4.1, and it still works for me. Do you see any errors or warnings appear in the console? Otherwise, try printing the value of the scene to check if its value is nil. Make sure the “Enable Results” setting is turned off, as I mentioned in the tutorial. Also, thanks for buying my code, I do appreciate it!
@servicedreamef9405
@servicedreamef9405 2 жыл бұрын
Thanks for your answer, mate! I think it is because I started the project as an App, not as a playground. My fault 😅
@yashrajjadhav9839
@yashrajjadhav9839 2 жыл бұрын
hi I am using ui kit in my project I am not using swift ui , how can I convert it into swiftly ??
@AnyoneCanCode
@AnyoneCanCode 2 жыл бұрын
Unfortunately there is no simple way to convert a UIKit project to SwiftUI. You will need to re-write the code with SwiftUI.
@yashrajjadhav9839
@yashrajjadhav9839 2 жыл бұрын
@@AnyoneCanCode Ok thanks , i will try
@fellowbloxxer
@fellowbloxxer 2 жыл бұрын
you came to my school, nice! -amabelle
@AnyoneCanCode
@AnyoneCanCode 2 жыл бұрын
Hi! Yes, I enjoyed speaking at your school, and I hope you learned a thing or two from it!
@InglesOrEspanol
@InglesOrEspanol 2 жыл бұрын
Same
@poo48
@poo48 2 жыл бұрын
Misb or misj?
@fellowbloxxer
@fellowbloxxer 2 жыл бұрын
@@poo48 misj
@theturkeefleesocool
@theturkeefleesocool 2 жыл бұрын
bro you came to my school!
@AnyoneCanCode
@AnyoneCanCode 2 жыл бұрын
Yes, it was great to speak about coding at your school!
@theturkeefleesocool
@theturkeefleesocool 2 жыл бұрын
@@AnyoneCanCode yessir I can also code but not really that well
@Yowassup5
@Yowassup5 2 жыл бұрын
Hi yuma do you know me im ergi from mentari
@darthrader1068
@darthrader1068 2 жыл бұрын
I was there too i asked a question i'm from misb
@AnyoneCanCode
@AnyoneCanCode 2 жыл бұрын
Hi! Thanks for attending my talk! It was great to answer all your coding questions!
@darthrader1068
@darthrader1068 2 жыл бұрын
@@AnyoneCanCode i was the last three to ask a question
@King_Masterz
@King_Masterz 2 жыл бұрын
I dont know if I can play(0_0)
@King_Masterz
@King_Masterz 2 жыл бұрын
I am G2 A Darren Lim if you remember me?
@dinaaryanti2129
@dinaaryanti2129 2 жыл бұрын
hi
@AnyoneCanCode
@AnyoneCanCode 2 жыл бұрын
Hi 👋
@dinaaryanti2129
@dinaaryanti2129 2 жыл бұрын
Hi
@alikapranowo741
@alikapranowo741 2 жыл бұрын
Ha yuma im from mentari
@Yowassup5
@Yowassup5 2 жыл бұрын
Uhhh
@Yowassup5
@Yowassup5 2 жыл бұрын
Who are you
@Yowassup5
@Yowassup5 2 жыл бұрын
I am from mentari to
@theturkeefleesocool
@theturkeefleesocool 2 жыл бұрын
@@Yowassup5 me to
@theturkeefleesocool
@theturkeefleesocool 2 жыл бұрын
i alika
Make an app with an iPad and Swift Playgrounds 4
26:58
Anyone Can Code
Рет қаралды 33 М.
Tmux has forever changed the way I write code.
13:30
Dreams of Code
Рет қаралды 920 М.
Children deceived dad #comedy
00:19
yuzvikii_family
Рет қаралды 7 МЛН
World’s Deadliest Obstacle Course!
28:25
MrBeast
Рет қаралды 147 МЛН
small vs big hoop #tiktok
00:12
Анастасия Тарасова
Рет қаралды 25 МЛН
The USA Explained in 30 Maps!
16:59
Globe Addict David
Рет қаралды 702 М.
AR tutorial: Make a Web-based AR with Reality Composer!
16:11
Anyone Can Code
Рет қаралды 9 М.
Swift in 100 Seconds
2:25
Fireship
Рет қаралды 735 М.
Build your first SwiftUI app with Swift Playgrounds 4 for iPad
38:21
Make Your First iOS app with SwiftUI (a 5 year anniversary tutorial!)
37:28
visionOS Fundamentals - Watch before you build for Vision Pro
7:44
Ультрабюджетная игровая мышь? 💀
1:00
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 618 М.
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
ЗЕ МАККЕРС
Рет қаралды 142 М.
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 4,6 МЛН