Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/npryce/codea-controllers
A small library of composable multi-touch controllers for Codea that implement various game control mechanisms
https://github.com/npryce/codea-controllers
Last synced: 29 days ago
JSON representation
A small library of composable multi-touch controllers for Codea that implement various game control mechanisms
- Host: GitHub
- URL: https://github.com/npryce/codea-controllers
- Owner: npryce
- Created: 2011-11-03T23:33:41.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2012-09-02T21:04:27.000Z (about 12 years ago)
- Last Synced: 2023-04-13T19:42:44.979Z (over 1 year ago)
- Language: Lua
- Homepage:
- Size: 309 KB
- Stars: 26
- Watchers: 6
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
A small library of composable multi-touch controllers for Codea that implement
various game control mechanisms.A controller translates touch events into higher level callbacks to control
game objects.The library includes an analogue joystick and slider with central dead-zone,
a catapult style interaction for launching projectiles, and tap interpreters
that can be used as fire or jump buttons.Controllers can be composed. A single statement can define a complex control
scheme, such as used in a dual-stick shooter, or a shared-screen multiplayer
game, or a shared-screen multiplayer dual-stick shooter!Example Codea programs that use the library can be seen at:
* http://www.youtube.com/watch?v=aKetPVT7FO0
* http://youtu.be/B3ARwy1M5Jo?t=48sUnfortunately, because Apple restrict what apps on iOS can do, you can no
longer download the code directly into Codea. You'll have to copy and paste
from the GitHub code browser.