GithubHelp home page GithubHelp logo

classicvalues / skcomponents-kit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eleev/skcomponents-kit

0.0 1.0 0.0 758 KB

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

License: GNU General Public License v3.0

Swift 100.00%

skcomponents-kit's Introduction

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

skcomponents-kit's People

Contributors

eleev avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.