Skip to content

Rabbid76/quadplay

 
 

Repository files navigation

quadplay✜ is a fantasy console by CasualEffects for creating and playing retro-style video games on any device.

Platforms

Create and play games on any laptop, desktop, tablet, or phone. Or, build your own programmable arcade machine from a Raspberry Pi, Tegra, or old computer. Here are some of the many supported quadplay platforms:

Games

Full

These full games are included, with source code. Click to play:

Examples

These short example programs demonstrate specific quadplay features and programming techniques.

Features

  • Create games on Windows, macOS, Linux
  • Play your games in any modern web browser on a laptop, desktop, tablet, phone, Raspberry Pi 4, or Jetson Nano
  • 60 fps @ 384 x 224 pixels = 12:7 aspect ≈ 16:9.3
  • 4096 sRGB (4:4:4) colors
  • Four players with virtual controls for D-pad and eight buttons
  • Local and safe online multiplayer
  • Supports Xbox, Playstation, SNES, Stadia, Switch, 8bitdo, touch screen, and other controllers
  • Hundreds of built-in sprites, sounds, and fonts
  • Program in PyxlScript, a friendly Python-like language
  • Order-independent, 4-bit alpha transparency
  • Native 2.5D graphics with z-order
  • 9.4 MB of total sprite memory
  • Up to 64 sprite and font sheets of up to 1024x1024
  • Optional 384 x 224, 320 x 180, 192 x 112, 128 x 128, and 64 x 64 screen modes
  • Free and open source

Online play is powered by EvenNode and PeerJS.

Join the Quadplay Revolution

You can use an external editor (like VSCode) or simply work entirely within the provided the browser-based development environment.

To get started, you'll need Windows, macOS, Linux, or Raspberry Pi OS and the following freely-available software.

Required:

  • This SDK, which includes the IDE and assets
  • Python 3.10
  • A modern web browser such as Chrome, Edge, Brave, Safari, or Firefox

Optional:

See the manual for a getting started guide, the change log, road map, and notes.

License

The quadplay✜ runtime, compiler, and emulator are licensed as LGPL3.

You can create closed-source games with it and distribute your games however you want, including commercially.

If you modify the runtime library, compiler, or emulator, then you must redistribute those changes under the LGPL3.

Portions of the IDE are under different, less-restrictive open source licenses (BSD, MIT, and public domain).

Quadplay automatically adds asset and library licenses to your game's credits screen. You don't have to do any work to satisfy attribution clauses from open source or Creative Commons licenses.

All sounds, sprites, and games distributed with quadplay✜ are Creative Commons licensed. The copyright and license on each of those is in a JSON file next to the asset.

© 2020-2021 Morgan McGuire

Packages

No packages published

Languages

  • JavaScript 76.7%
  • Python 9.8%
  • HTML 4.7%
  • Emacs Lisp 3.3%
  • Vim Script 2.7%
  • CSS 2.4%
  • Other 0.4%