GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - iplanetcn/CherrystudiosGameKit

BranchesTags
Open more actions menu

Latest commit

 

History

18 Commits
18 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.swiftpm/xcode
.swiftpm/xcode
 
 
Sources/CherrystudiosGameKit
Sources/CherrystudiosGameKit
 
 
Tests/CherrystudiosGameKitTests
Tests/CherrystudiosGameKitTests
 
 
.gitignore
.gitignore
 
 
Package.swift
Package.swift
 
 
README.CN.md
README.CN.md
 
 
README.md
README.md
 
 

Repository files navigation

CherrystudiosGameKit

Build Status English | 简体中文

A Swift package providing helpful game development utilities and extensions for SpriteKit and CoreGraphics.

Features

  • CGVector extensions for common vector operations:

    • Vector math (add, subtract, multiply, divide)
    • Normalization and magnitude control
    • Angle calculations
    • Distance calculations
    • Vector creation from points and angles
  • CGFloat extensions:

    • Random number generation between 0 and 1
    • Conversion between degrees and radians
    • Clamping values between minimum and maximum
    • Linear interpolation (lerp) between values
    • Rounding to decimal places
    • Trigonometric helper functions
  • CGPoint extensions:

    • Distance calculations
    • Angle calculations
    • Point creation from angle and distance
    • Linear interpolation between points
  • SKNode extensions:

    • Easy positioning and rotation
    • Animation helpers
    • Node hierarchy utilities
  • SKAction extensions:

    • Common animation presets
    • Action sequence builders
    • Timing function helpers

Requirements

  • macOS 12.0+
  • Swift 5.7+

Installation

Swift Package Manager

Add the following dependency to your Package.swift file:

    .package(url: "https://github.com/iplanetcn/CherryStudiosGameKit.git", from: "v1.2.0"),

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.