https://github.com/eleev/skcomponents-kit
⚗️ Collection of SpriteKit components for intermediate/advanced use cases.
https://github.com/eleev/skcomponents-kit
chain components destruction ios joystick macos physics rope sknode skspritenode spritekit swift
Last synced: about 1 year ago
JSON representation
⚗️ Collection of SpriteKit components for intermediate/advanced use cases.
- Host: GitHub
- URL: https://github.com/eleev/skcomponents-kit
- Owner: eleev
- License: gpl-3.0
- Created: 2018-04-03T18:23:08.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-07-04T16:43:12.000Z (almost 5 years ago)
- Last Synced: 2025-04-01T00:51:09.336Z (about 1 year ago)
- Topics: chain, components, destruction, ios, joystick, macos, physics, rope, sknode, skspritenode, spritekit, swift
- Language: Swift
- Homepage:
- Size: 527 KB
- Stars: 41
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# skcomponents-kit [](https://github.com/sindresorhus/awesome)
[]()
[]()
[]()
**Last Update: 04/July/2021.**

### If you like the project, please give it a star ⭐ It will show the creator your appreciation and help others to discover the repo.
# ✍️ About
This repository contains a collection of various `SpriteKit` nodes and components for intermediate/advanced use cases.
# ⚠️ Caution
- Please note that you have to be very careful if you are going to use the repo in commercial projects - **do not use** graphics assets. The assets were taken from the `Web` and [icons8.com](https://icons8.com). However **I strongly recommend to double check it**.
# 🏗 Installation
## Cocoapods
Will be added in the next update.
## Manual
You can always handpick the component from the sources and manually add it to your project.
# 🕹 Joystick Node
Joystick node component. Controlls `movement` or/and `orientation` of attached node. Implemented using `POP` design. In order to use you need to conform to `Controllable2D` protocol composition typealias. Or you can conform to either `MovableProtocol` or `OrientationProtocol`.
## Demo

# ⛓ Rope Node
Rope/Chain node component. Can also be used to simulate bridges, platforms and gameplay elemnts.
## ToDo
- [ ] Ability to slice the rope into pieces
## Demo

# 💣 Destructible Node
Adds an ability to visualize explosions for `SKSpriteNode`s. The physics shape is recalculated when sprite is re-rendered. The effect is fairly simple, however it can be used for games like `Worms` in order to add more dynamic gameplay when using projectiles and bombs.
## ToDo
- [ ] Proper resizing - right now the texture is reset back to the original size when hit tested
- [ ] Ability to slice the node when it is sliced into more than one pieces
## Demo

# 👨💻 Author
[Astemir Eleev](https://github.com/jVirus)
# 🔖 Licence
The project is availabe under [GNU GENERAL PUBLIC LICENSE](https://github.com/jVirus/skcomponents-kit/blob/master/LICENSE)