https://github.com/mlabbe/ctfsrc
Pico-8 Capture the Flag Source Code
https://github.com/mlabbe/ctfsrc
Last synced: about 1 year ago
JSON representation
Pico-8 Capture the Flag Source Code
- Host: GitHub
- URL: https://github.com/mlabbe/ctfsrc
- Owner: mlabbe
- License: apache-2.0
- Created: 2019-01-05T20:39:06.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-05T20:44:29.000Z (over 7 years ago)
- Last Synced: 2025-03-22T07:24:12.566Z (over 1 year ago)
- Language: Lua
- Size: 24.4 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Frogtoss Capture the Flag #

This is the source code to the Pico-8 Cartridge "Frogtoss Capture the Flag". Pico-8 is a fantasy console that places extreme limitations on what can be done. A fully shipped and playable version is available:
- [In your browser](https://www.lexaloffle.com/bbs/?tid=32798)
- [As a downloadable executable with gamepad support](https://frogtoss.itch.io/capture-the-flag])
I am sharing the source code to Capture the Flag here under a public domain license so people can learn from it.
It contains an AABB and particle force-based physics engine with a second order euler integrator that runs at 60 fps on the restricted hardware. This is used to simulate every physical entity in the game; only tuning values were necessary. This may be a novel approach amongst Pico-8 cartridges.
## Table of Contents ##
- ctf.p8: the cart in original release format
- ctfsrc.lua: the source code in ctf.p8 in easy browsing format