mirror of
https://github.com/Ale32bit/Capy64.git
synced 2025-01-18 18:46:43 +00:00
Different default screen size
This commit is contained in:
parent
67d3ea6154
commit
341ed38897
3 changed files with 4 additions and 4 deletions
|
@ -34,7 +34,7 @@ term.setForeground(fg)
|
||||||
term.setBackground(bg)
|
term.setBackground(bg)
|
||||||
term.clear()
|
term.clear()
|
||||||
|
|
||||||
term.setSize(51, 19)
|
term.setSize(53, 20)
|
||||||
gpu.setScale(2)
|
gpu.setScale(2)
|
||||||
|
|
||||||
local w, h = term.getSize()
|
local w, h = term.getSize()
|
||||||
|
|
|
@ -58,8 +58,8 @@ public class Capy64 : Game, IGame
|
||||||
public Capy64 Game => this;
|
public Capy64 Game => this;
|
||||||
public IList<IComponent> NativePlugins { get; private set; }
|
public IList<IComponent> NativePlugins { get; private set; }
|
||||||
public IList<IComponent> Plugins { get; private set; }
|
public IList<IComponent> Plugins { get; private set; }
|
||||||
public int Width { get; set; } = 400;
|
public int Width { get; set; } = 320;
|
||||||
public int Height { get; set; } = 300;
|
public int Height { get; set; } = 240;
|
||||||
public float Scale { get; set; } = 2f;
|
public float Scale { get; set; } = 2f;
|
||||||
public Drawing Drawing { get; private set; }
|
public Drawing Drawing { get; private set; }
|
||||||
public Audio Audio { get; private set; }
|
public Audio Audio { get; private set; }
|
||||||
|
|
|
@ -28,7 +28,7 @@ public class PanicScreen
|
||||||
Term.ForegroundColor = ForegroundColor;
|
Term.ForegroundColor = ForegroundColor;
|
||||||
Term.BackgroundColor = BackgroundColor;
|
Term.BackgroundColor = BackgroundColor;
|
||||||
Term.SetCursorBlink(false);
|
Term.SetCursorBlink(false);
|
||||||
Term.SetSize(51, 19);
|
Term.SetSize(53, 20);
|
||||||
Term.Clear();
|
Term.Clear();
|
||||||
|
|
||||||
var title = " Capy64 ";
|
var title = " Capy64 ";
|
||||||
|
|
Loading…
Reference in a new issue