Skip to content

Commit

Permalink
Added more standart devices from 8/16Bit era (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
THWLF authored Feb 5, 2021
1 parent 1612346 commit 45be4ee
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions src/UI/Dialogs/CreateNewImage.gd
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,53 @@ class Template:

var aspect_ratio := 1.0
var templates := [
# Basic
Template.new(Vector2(16, 16)),
Template.new(Vector2(32, 32)),
Template.new(Vector2(64, 64)),
Template.new(Vector2(128, 128)),

# Nintendo
Template.new(Vector2(160, 144), "GB"),
Template.new(Vector2(240, 160), "GBA"),
Template.new(Vector2(256, 224), "NES (NTSC)"),
Template.new(Vector2(256, 240), "NES (PAL)"),
Template.new(Vector2(512, 448), "SNES (NTSC)"),
Template.new(Vector2(512, 480), "SNES (PAL)"),
Template.new(Vector2(646, 486), "N64 (NTSC)"),
Template.new(Vector2(786, 576), "N64 (PAL)"),

# Sega
Template.new(Vector2(256, 192), "SMS (NTSC)"),
Template.new(Vector2(256, 224), "SMS (PAL)"),
Template.new(Vector2(160, 144), "GG"),
Template.new(Vector2(320, 224), "MD (NTSC)"),
Template.new(Vector2(320, 240), "MD (PAL)"),

# NEC
Template.new(Vector2(256, 239), "PC Engine"), #256×224 to 512×242 (mostly 256×239)

# DOS
Template.new(Vector2(320, 200), "DOS EGA"),
Template.new(Vector2(320, 200), "DOS VGA"),
Template.new(Vector2(620, 480), "DOS SVGA"),
Template.new(Vector2(640, 200), "DOS CGA (2-Colour)"),
Template.new(Vector2(320, 200), "DOS CGA (4-Colour)"),
Template.new(Vector2(160, 240), "DOS CGA (Composite)"),
Template.new(Vector2(160, 240), "Tandy"),

# Commodore
Template.new(Vector2(320, 200), "Amiga OCS LowRes (NTSC)"),
Template.new(Vector2(320, 256), "Amiga OCS LowRes (PAL)"),
Template.new(Vector2(640, 200), "Amiga OCS HiRes (NTSC)"),
Template.new(Vector2(640, 256), "Amiga OCS HiRes (PAL)"),
Template.new(Vector2(1280, 200), "Amiga ECS Super-HiRes (NTSC)"),
Template.new(Vector2(1280, 256), "Amiga ECS SuperHiRes (PAL)"),
Template.new(Vector2(640, 480), "Amiga ECS Multiscan"),
Template.new(Vector2(320, 200), "C64"),

# Sinclair
Template.new(Vector2(256, 192), "ZX Spectrum"),
]

onready var templates_options = find_node("TemplatesOptions")
Expand Down

0 comments on commit 45be4ee

Please sign in to comment.