Git Product home page Git Product logo

mactris's Introduction

MacTris

A simple Tetris clone using SpriteKit

Acknowledgements

Tetriminos

Music

Sound FX

Font

Controller Support

Disable Launchpad on select button:

defaults write com.apple.GameController bluetoothPrefsMenuLongPressAction -integer 0
defaults write com.apple.GameController bluetoothPrefsShareLongPressSystemGestureMode -integer -1

Todo

  1. Make RNG selectable (NES / 7BAG)
  2. Make keyRepeatShiftInitial configurable (NES: 16, Default: 6)

Build

  1. The first build might fail due to generation of the file Secrets.generated.swift.
  2. To supply a secret for archive builds, copy the file Secrets.xcconfig to Secrets.install.xcconfig and change it's content.

DMG

  1. brew install create-dmg
  2. copy MacTris.app into a source directory
  3. create-dmg --volname "MacTris Installer" --volicon source/MacTris.app/Contents/Resources/AppIcon.icns --background InstallerBackground.svg --window-pos 200 120 --window-size 840 400 --icon-size 100 --icon MacTris.app 200 160 --hide-extension MacTris.app --app-drop-link 640 155 "MacTris-Installer.dmg" source/

mactris's People

Contributors

jegge avatar

Stargazers

 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.