Find Jobs
Hire Freelancers

Demo Example Swift Code

$10-30 USD

Completed
Posted over 8 years ago

$10-30 USD

Paid on delivery
I am learning to program an app using Swift and would like help with some specific requirements. And would like some example code written. iPhone 6 Demo App Using SpriteKit What I would like to do is to attach two SKSpriteNodes together. Node 1 square 150x150 Node 2 square 50x50 I would like the two nodes to be independent within the GameScene, I would like to be able to drag and drop each node within the scene, but if I drag node 2 over Node 1 (top left corner) and release my finger, Node 2 anchors to Node 1 in the top left corner. Now when I move Node 2, Node 1 moves with it. There needs to be physics applied to the scene and when the touch event ends the Nodes fall to the bottom of the scene. If I press node 2 again, the anchoring is removed and the 2 Nodes are independent again, both affected by physics. I would like the same to happen for each corner of Node 1. I would like to be able add additional Nodes to the scene with the same functionality. There fore each Node will have its own class. I hope that makes sense. I would require the code to be heavily commented so I can learn how it works.
Project ID: 8972076

About the project

3 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
I'd be happy to create this demo for you. Don't have any clarifying questions at this point, but I'm sure some would come up during development.
$77 USD in 1 day
5.0 (6 reviews)
3.4
3.4

About the client

Flag of UNITED KINGDOM
London, United Kingdom
5.0
1
Payment method verified
Member since Nov 18, 2014

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.