post premiere state
This commit is contained in:
parent
ac57fe3089
commit
be0075051a
@ -100,6 +100,10 @@ public partial class MainScript : Node2D
|
||||
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");
|
||||
|
||||
foreach (Node child in projection.GetChildren())
|
||||
|
||||
@ -95,8 +95,10 @@ public partial class Projection : Window
|
||||
star.Sprite.Rotation += (float)(((2*3.14159265)*(activeRot / 365)) * delta);
|
||||
star.Sprite.Position = activePos * this.GetSize();
|
||||
star.Sprite.Scale = Vector2.One * activeScale;
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
BIN
StarSkyPresenter.pck
Normal file
BIN
StarSkyPresenter.pck
Normal file
Binary file not shown.
4
StarSkyPresenter.sh
Executable file
4
StarSkyPresenter.sh
Executable 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
BIN
StarSkyPresenter.x86_64
Executable file
Binary file not shown.
@ -2,8 +2,8 @@ stars:
|
||||
- id: star-1
|
||||
x: 0.1
|
||||
y: 0.1
|
||||
scale: 5
|
||||
rot: 5
|
||||
scale: 7
|
||||
rot: 0
|
||||
image: nice-star-1.png
|
||||
background: background-01.jpg
|
||||
frameRate: 30
|
||||
@ -60,6 +60,9 @@ offset_bottom = 8.0
|
||||
text = "Load Config"
|
||||
|
||||
[node name="Projection" type="Window" parent="."]
|
||||
msaa_2d = 3
|
||||
screen_space_aa = 2
|
||||
use_taa = true
|
||||
oversampling_override = 1.0
|
||||
position = Vector2i(0, 36)
|
||||
size = Vector2i(1920, 1080)
|
||||
|
||||
@ -22,3 +22,9 @@ window/subwindows/embed_subwindows=false
|
||||
[dotnet]
|
||||
|
||||
project/assembly_name="StarSkyPresenter"
|
||||
|
||||
[rendering]
|
||||
|
||||
anti_aliasing/quality/msaa_2d=3
|
||||
anti_aliasing/quality/screen_space_aa=2
|
||||
anti_aliasing/quality/use_taa=true
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
- stars:
|
||||
star-1:
|
||||
x: 1.1
|
||||
x: 0.75
|
||||
y: 1.1
|
||||
transition:
|
||||
t: 5
|
||||
@ -11,7 +11,7 @@
|
||||
- stars:
|
||||
star-1:
|
||||
x: 0.5
|
||||
y: 0.5
|
||||
y: 0.8
|
||||
transition:
|
||||
t: 5
|
||||
fade_in: false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user