Skip to content

classicvalues/skcomponents-kit

 
 

Repository files navigation

skcomponents-kit Awesome

Language Framework License

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. 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 SKSpriteNodes. 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

🔖 Licence

The project is availabe under GNU GENERAL PUBLIC LICENSE

About

⚗️ Collection of SpriteKit components for intermediate/advanced use cases.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%