BabySortingToyGame - Build a little game for babies to sort shapes in the correct location. This is made in SwiftUI using drag gestures.

Overview

Baby Sorting Toy Game

This is a demo to build a little mini-game "for babies". It's inspired in this kind of games:

A game to sort shapes in the correct location.


How do I started?

In this link you will find a twitter thread explaining the initial thoughts detecting events during dragging.


Video with the full implementation

It was made in SwiftUI using drag gestures and other resources. Check out the video clicking on the image for more details. 👇🏻 Baby Toy SwiftUI


The basics

But you maybe need to review how a basic drag gesture works in SwiftUI. You can click on the image with a full explanation. 👇🏻 Drag Gestures in SwiftUI


Requirements

  • Xcode 13.2.1 or higher
  • iOS 15.0 or higher
  • Swift 5.5 or higher

Contact

Check out Swift && Tips in Youtube for more about Swift and SwiftUI, and my Twitter @swiftandtips for daily updates & content.

You might also like...
ShooterGame - An iOS App that is a shooter game. Made with SpriteKit and Swift

Shooter Game This project was created based on the challenge of Day 66 of the 10

The one and only open source 4X MMO mid-core strategy game for iOS. Similar to Game of War and Mobile Strike

4X MMO Strategy Game for iOS I have spent 4 years of my life and a significant amount of money into completing this game and I hope you enjoy it. For

🦁 🃏 📱 An animal matching puzzle card game– built with turn-based game engine boardgame.io and React-Native + React-Native-Web
🦁 🃏 📱 An animal matching puzzle card game– built with turn-based game engine boardgame.io and React-Native + React-Native-Web

Matchimals.fun an animal matching puzzle card game 🦁 🃏 🍎 Download for iOS from the App Store 🤖 Download for Android from the Google Play Store 🖥

Switshot is a game media manager helps you transfer your game media from Nintendo Switch to your phone, and manage your media just few taps.
Switshot is a game media manager helps you transfer your game media from Nintendo Switch to your phone, and manage your media just few taps.

Switshot is a game media manager helps you transfer your game media from Nintendo Switch to your phone, and manage your media just few taps.

Gravity Switch - A dynamic game that integrates swiping and tapping to create a fun interactive game

GravitySwitch Gravity Switch is a dynamic game that integrates swiping and tappi

FlagGuess-Game - A game to collect points by guessing flags
FlagGuess-Game - A game to collect points by guessing flags

Flag Guess Game A game to collect points by guessing flags! Wrong Choice

CardGameEngine - Prototyping a game engine for the Bang card game
CardGameEngine - Prototyping a game engine for the Bang card game

CardGameEngine Prototyping a game engine for the Bang card game. Features Engine is open source Powerful scripting language using JSON Card design is

This is a clone project of Wordle. The app is made using SwiftUI
This is a clone project of Wordle. The app is made using SwiftUI

Wordle This is a clone project of Wordle. The app is made using SwiftUI. You can

The iOS version of 2048, made using SpriteKit

2048 This is a derivative and the iOS version of the game 2048. In the very unlikely case that you don't know what it is, you can check it out here. M

Owner
Pedro Rojas
iOS Software Engineering Manager, creator of Swift && Tips, podcaster🎙 at Let Swift Podcast, enthusiast of Apple ecosystem.
Pedro Rojas
This is a game in which the player has to match cards with the correct pair.

This is a game in which the player has to match cards with the correct pair. When they are paired, a funny record of a Peruvian influencer is played. Made with Swift and SwiftUI.

Augusto Galindo Ali 6 Jun 21, 2022
A little arcade game that uses SwiftUI as a game engine.

SwiftUI Game A little arcade game that uses SwiftUI as a game engine :) Just copy the code into the Blank playgroundbook in Swift Playgrounds app on i

Roman Gaditskiy 10 Sep 30, 2022
An iOS "one-tap" shapes game

FityIt - The shapes game About How long can you survive in FityIt? Focus is key to achieving a high score! Tap left or right to spin the octagon and m

Txai Wieser 89 Dec 30, 2022
Little Go. An iOS application that lets you play the game of Go on the iPhone or iPad.

Introduction Little Go is a free and open source iOS application that lets you play the game of Go on the iPhone or iPad. You can play against another

Patrick Näf 121 Nov 26, 2022
PokéMon like game on iOS with Location Based Service.

iPokeMon (iOS Client: Master) Description About Project iPokeMon is a project that try to implement the PokéMon game on iOS with Location Based Servic

Kaijie Yu 434 Dec 24, 2022
The Classic game TicTacToe made using SwiftUI and MVVM architecture

The Classic game TicTacToe made using SwiftUI and MVVM architecture

Mehrdad 0 Oct 20, 2022
Word Scramble is a game that requires you to build as many new words as possible using the letters from a root word

Word Scramble is a game that requires you to build as many new words as possible using the letters from a root word.

Jack Cotton-Brown 1 Mar 5, 2022
IOS Spin Game - A simple spin game using SwiftUI

IOS_Spin_Game A simple spin game using Swift UI.

Md. Masum Musfique 4 Mar 23, 2022
Spare Parts is a 2D physics game that lets you build silly contraptions and machines.

Spare Parts Spare Parts is a 2D physics game that lets you build silly contraptions and machines. The goal for this project is: 100% of the code is op

Adam Wulf 14 Feb 9, 2022
iPhone and iPod Touch version of Skeleton Key: is an addictive and unique puzzle game in which you shift keys around the board unlocking treasure chests. Made with cocos2d-iphone.

Skeleton Key (iOS) Skeleton Key is an addictive and unique puzzle game in which you shift keys around the board unlocking treasure chests. It's availa

null 117 Jun 6, 2022