Different default screen size

This commit is contained in:
Alessandro Proto 2023-02-27 19:30:41 +01:00
parent 67d3ea6154
commit 341ed38897
3 changed files with 4 additions and 4 deletions

View file

@ -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()

View file

@ -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; }

View file

@ -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 ";