Swift Playgrounds Detect Matches and Increase Player Score - Bug Smasher Part 7

35 Просмотры
Издатель
Have you watched this entire series? Leave a like so more people can find it!

We're completing the drag and drop functionality in this video by hooking everything we did in the previous video up into ContentView.

Project Intro - https://youtube.com/shorts/d-EzV_hiNc0
Part 1 - Setting Up The Project - https://youtube.com/shorts/UAYa_RhX2cQ
Part 2 - Creating A Simple UI With Swift Playgrounds - https://youtube.com/shorts/YLStuS1q9Mo
Part 3 - Creating Custom Views in SwiftUI - https://youtube.com/shorts/WrdfXGuCe7w
Part 4 - Hooking Up Custom Views In Swift Playgrounds https://youtube.com/shorts/VJJ9c334ihU
Part 5 - Creating Draggable Images in Swift Playgrounds https://youtube.com/shorts/TUBiNeTTnnk
Part 6 - Detecting Matches Part One - https://youtube.com/shorts/gY5n7ssNW4M
Part 7 - This video!

In the next video I'm going to be adding a dynamic hover effect that will change color depending on if you're hovering over a match or not. It's pretty cool and brings a bit of polish to the game.

Swift Playgrounds is clearly not the best tool for the job here, but as you can see it's not impossible to build something that resembles a game and if you've got an iPad laying around and want to learn to code this is an option open to you.

#swiftplaygrounds #swiftui #iOS #gamedev #indiedev

//Things I've Made
ZER0ED: https://apps.apple.com/us/app/zer0ed/id1526004843
Shapes&Numbers: https://apps.apple.com/us/app/shapes-numbers/id1623506538
My Website: https://www.johndav.com
Категория
Язык программирования Swift
Комментариев нет.