Skip to content

graphics.res.wren

clsource edited this page Dec 31, 2020 · 4 revisions

Screen Resolutions

A collection of different screen resolutions.

  • Example:
import "domepunk/graphics/res" for Snes
System.print(Snes.size)

Holds width and height

API

  • Signature: width:Num
  • Signature: height:Num

Based on the Arduboy specs (128 x 64)

https://arduboy.com/faq/

  • Since: 1.0.0

API

  • Signature: size:Resolution
  • Signature: width:Num
  • Signature: height:Num

Based on the Nokia 3310 specs (88 x 48)

https://itch.io/jam/nokiajam3

  • Since: 1.0.0

API

  • Signature: size:Resolution
  • Signature: width:Num
  • Signature: height:Num
  • Signature: size:Resolution
  • Signature: width:Num
  • Signature: height:Num

Based on the TIC-80 specs (240 x 136)

https://github.com/nesbox/TIC-80/wiki#specification

  • Since: 1.0.0

API

  • Signature: size:Resolution
  • Signature: width:Num
  • Signature: height:Num

Based on the Pico8 specs (128 x 128)

https://pico-8.fandom.com/wiki/Pico8

  • Since: 1.0.0

API

  • Signature: size:Resolution
  • Signature: width:Num
  • Signature: height:Num

Based on the NES specs (256 x 240)

https://en.wikipedia.org/wiki/Nintendo_Entertainment_System

  • Since: 1.0.0

API

  • Signature: size:Resolution
  • Signature: width:Num
  • Signature: height:Num

Based on the SNES specs (256 x 224) or (512 x 448)

https://en.wikipedia.org/wiki/Super_Nintendo_Entertainment_System

  • Since: 1.0.0

API

  • Signature: size:Resolution

512 x 448

  • Signature: size:Resolution
  • Signature: width:Num
  • Signature: height:Num

Based on the Gameboy specs (160 x 144)

https://en.wikipedia.org/wiki/Game_Boy

  • Since: 1.0.0

API

  • Signature: size:Resolution
  • Signature: width:Num
  • Signature: height:Num

Based on the Gameboy Advance specs (240 x 160)

https://en.wikipedia.org/wiki/Game_Boy_Advance

  • Since: 1.0.0

API

  • Signature: size:Resolution
  • Signature: width:Num
  • Signature: height:Num

Based on the Playstation Portable specs (480 x 272)

https://en.wikipedia.org/wiki/PlayStation_Portable

  • Since: 1.0.0

API

  • Signature: size:Resolution
  • Signature: width:Num
  • Signature: height:Num

Based on the Commondore 64 specs (320 x 200) or (160 x 200)

https://en.wikipedia.org/wiki/Commodore_64

  • Since: 1.0.0

API

  • Signature: size:Resolution

Multicolor mode (160 x 200)

  • Signature: size:Resolution
  • Signature: width:Num
  • Signature: height:Num

Based on the Atari 2600 specs (160 x 192)

https://en.wikipedia.org/wiki/Atari_2600_hardware

  • Since: 1.0.0

API

  • Signature: size:Resolution
  • Signature: width:Num
  • Signature: height:Num

Based on the Apple II specs (280 x 192)

https://en.wikipedia.org/wiki/Apple_II_graphics

  • Since: 1.0.0

API

  • Signature: size:Resolution
  • Signature: width:Num
  • Signature: height:Num
Clone this wiki locally