-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert major scenes into the tscn format.
Closes #31.
- Loading branch information
Showing
16 changed files
with
1,571 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
[gd_scene load_steps=2 format=1] | ||
|
||
[ext_resource path="res://scripts/camera.gd" type="Script" id=1] | ||
|
||
[node name="camera" type="Spatial"] | ||
|
||
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) | ||
script/script = ExtResource( 1 ) | ||
__meta__ = { "__editor_plugin_screen__":"Script" } | ||
|
||
[node name="Camera" type="Camera" parent="."] | ||
|
||
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) | ||
projection = 0 | ||
fov = 60.0 | ||
near = 0.1 | ||
far = 100.0 | ||
keep_aspect = 1 | ||
current = true | ||
visible_layers = 1048575 | ||
environment = null | ||
h_offset = 0.0 | ||
v_offset = 0.0 | ||
|
||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
[gd_scene load_steps=5 format=1] | ||
|
||
[ext_resource path="res://assets/images/black.png" type="Texture" id=1] | ||
[ext_resource path="res://scripts/fade_resize.gd" type="Script" id=2] | ||
|
||
[sub_resource type="Animation" id=1] | ||
|
||
resource/name = "FadeIn" | ||
length = 2.0 | ||
loop = false | ||
step = 0.1 | ||
tracks/0/type = "value" | ||
tracks/0/path = NodePath(".:visibility/opacity") | ||
tracks/0/interp = 2 | ||
tracks/0/keys = { "cont":true, "times":FloatArray( 0, 2 ), "transitions":FloatArray( 1, 1 ), "values":[ 1.0, 0.0 ] } | ||
|
||
[sub_resource type="Animation" id=2] | ||
|
||
resource/name = "idle" | ||
length = 1.0 | ||
loop = false | ||
step = 0.1 | ||
tracks/0/type = "value" | ||
tracks/0/path = NodePath(".:visibility/opacity") | ||
tracks/0/interp = 1 | ||
tracks/0/keys = { "cont":true, "times":FloatArray( 0 ), "transitions":FloatArray( 1 ), "values":[ 1.0 ] } | ||
|
||
[node name="fade" type="Sprite"] | ||
|
||
transform/scale = Vector2( 100, 100 ) | ||
texture = ExtResource( 1 ) | ||
script/script = ExtResource( 2 ) | ||
__meta__ = { "__editor_plugin_screen__":"2D" } | ||
|
||
[node name="animation" type="AnimationPlayer" parent="."] | ||
|
||
playback/process_mode = 0 | ||
playback/default_blend_time = 0.0 | ||
root/root = NodePath("..") | ||
anims/FadeIn = SubResource( 1 ) | ||
anims/idle = SubResource( 2 ) | ||
playback/active = true | ||
playback/speed = 1.0 | ||
blend_times = [ ] | ||
autoplay = "" | ||
|
||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
[gd_scene load_steps=2 format=1] | ||
|
||
[ext_resource path="res://scripts/hud.gd" type="Script" id=1] | ||
|
||
[node name="hud" type="Node2D"] | ||
|
||
script/script = ExtResource( 1 ) | ||
__meta__ = { "__editor_plugin_screen__":"Script" } | ||
|
||
[node name="score" type="Label" parent="."] | ||
|
||
focus/ignore_mouse = true | ||
focus/stop_mouse = true | ||
size_flags/horizontal = 2 | ||
margin/left = 14.0 | ||
margin/top = 15.0 | ||
margin/right = 99.0 | ||
margin/bottom = 32.0 | ||
custom_constants/shadow_offset_x = 1 | ||
custom_constants/shadow_offset_y = 1 | ||
text = "Score: " | ||
percent_visible = 1.0 | ||
lines_skipped = 0 | ||
max_lines_visible = -1 | ||
|
||
[node name="time" type="Label" parent="."] | ||
|
||
focus/ignore_mouse = true | ||
focus/stop_mouse = true | ||
size_flags/horizontal = 2 | ||
margin/left = 14.0 | ||
margin/top = 36.0 | ||
margin/right = 99.0 | ||
margin/bottom = 53.0 | ||
custom_constants/shadow_offset_x = 1 | ||
custom_constants/shadow_offset_y = 1 | ||
text = "Time: " | ||
percent_visible = 1.0 | ||
lines_skipped = 0 | ||
max_lines_visible = -1 | ||
|
||
[node name="rings" type="Label" parent="."] | ||
|
||
focus/ignore_mouse = true | ||
focus/stop_mouse = true | ||
size_flags/horizontal = 2 | ||
margin/left = 15.0 | ||
margin/top = 60.0 | ||
margin/right = 100.0 | ||
margin/bottom = 77.0 | ||
custom_constants/shadow_offset_x = 1 | ||
custom_constants/shadow_offset_y = 1 | ||
text = "Rings: " | ||
percent_visible = 1.0 | ||
lines_skipped = 0 | ||
max_lines_visible = -1 | ||
|
||
|
Binary file not shown.
Oops, something went wrong.