post premiere state

This commit is contained in:
Linus Vogel 2025-12-14 18:39:02 +01:00
parent ac57fe3089
commit be0075051a
9 changed files with 23 additions and 4 deletions

View File

@ -100,6 +100,10 @@ public partial class MainScript : Node2D
this._stars.Add(star_config.id, star); this._stars.Add(star_config.id, star);
} }
var viewport = GetNode<Window>("/root/Projection").GetViewport();
viewport.ScreenSpaceAA = Viewport.ScreenSpaceAAEnum.Smaa;
viewport.SetMsaa2D(Viewport.Msaa.Msaa4X);
var _background = projection.GetNode<Node>("Background"); var _background = projection.GetNode<Node>("Background");
foreach (Node child in projection.GetChildren()) foreach (Node child in projection.GetChildren())

View File

@ -95,8 +95,10 @@ public partial class Projection : Window
star.Sprite.Rotation += (float)(((2*3.14159265)*(activeRot / 365)) * delta); star.Sprite.Rotation += (float)(((2*3.14159265)*(activeRot / 365)) * delta);
star.Sprite.Position = activePos * this.GetSize(); star.Sprite.Position = activePos * this.GetSize();
star.Sprite.Scale = Vector2.One * activeScale; star.Sprite.Scale = Vector2.One * activeScale;
} }
} }
} }

BIN
StarSkyPresenter.pck Normal file

Binary file not shown.

4
StarSkyPresenter.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
printf '\033c\033]0;%s\a' StarSkyPresenter
base_path="$(dirname "$(realpath "$0")")"
"$base_path/StarSkyPresenter.x86_64" "$@"

BIN
StarSkyPresenter.x86_64 Executable file

Binary file not shown.

View File

@ -2,8 +2,8 @@ stars:
- id: star-1 - id: star-1
x: 0.1 x: 0.1
y: 0.1 y: 0.1
scale: 5 scale: 7
rot: 5 rot: 0
image: nice-star-1.png image: nice-star-1.png
background: background-01.jpg background: background-01.jpg
frameRate: 30 frameRate: 30

View File

@ -60,6 +60,9 @@ offset_bottom = 8.0
text = "Load Config" text = "Load Config"
[node name="Projection" type="Window" parent="."] [node name="Projection" type="Window" parent="."]
msaa_2d = 3
screen_space_aa = 2
use_taa = true
oversampling_override = 1.0 oversampling_override = 1.0
position = Vector2i(0, 36) position = Vector2i(0, 36)
size = Vector2i(1920, 1080) size = Vector2i(1920, 1080)

View File

@ -22,3 +22,9 @@ window/subwindows/embed_subwindows=false
[dotnet] [dotnet]
project/assembly_name="StarSkyPresenter" project/assembly_name="StarSkyPresenter"
[rendering]
anti_aliasing/quality/msaa_2d=3
anti_aliasing/quality/screen_space_aa=2
anti_aliasing/quality/use_taa=true

View File

@ -1,6 +1,6 @@
- stars: - stars:
star-1: star-1:
x: 1.1 x: 0.75
y: 1.1 y: 1.1
transition: transition:
t: 5 t: 5
@ -11,7 +11,7 @@
- stars: - stars:
star-1: star-1:
x: 0.5 x: 0.5
y: 0.5 y: 0.8
transition: transition:
t: 5 t: 5
fade_in: false fade_in: false