AndyDentFree / SpriteKittenly

Exploring cute and sometimes scratchy corners of SpriteKit with Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SpriteKittenly

Exploring cute and sometimes scratchy corners of SpriteKit with Swift.

Main motivation finding ways to do things for touch feedback and rendering in Touchgram which was initially ported from C++ and the Cocos2D-X game framework. Touchgram lets you compose multi-page interactive messages within Apple iMessage.

See specific README in each project directory

Feedback and Graphic Effects

  • SKScribbles multiple approaches tried with sample images to show smoothness of different drawings, also see the closely-related...
  • streakios which wraps someone else's work and draws a decaying streak, like I was using in Cocos2D-X
  • ThrobsAndBobs different ways to have shapes that throb and animation along paths
  • FramesAndBackgrounds Exploring tiling backgrounds and using shaders to frame an image.
  • SKShaderToy Little testbed with text entry to edit a GLSL shader & see it recompiled and in action.

Text oriented

  • StyledTextOverSK long discussion of how to combine SpriteKit with styled text. I went with an SKLabelNode using NSAttributedString in Touchgram because of the performance issues this sample shows.
  • FontThraSKing simple use of different fonts, picking them and displaying in SpriteKit, mostly created to get understanding of a crash

General

  • SkinSuit Embedding SpriteKit within SwiftUI, exploring two different approaches.
  • LottieSprite - unfinished exploration, don't bother

About

Exploring cute and sometimes scratchy corners of SpriteKit with Swift

License:MIT License


Languages

Language:Swift 97.1%Language:GLSL 2.4%Language:Rich Text Format 0.5%