-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support for Godot Scene, Godot Resource, #566
Bump copyright year to 2021; update Regexp::Common version number in header comments.
- Loading branch information
Showing
7 changed files
with
155 additions
and
7 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
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
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
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,46 @@ | ||
; https://github.com/zacryol/spindle-of-serendipity/raw/develop/godot/game/GamePanel.tscn | ||
[gd_scene load_steps=19 format=2] | ||
|
||
[ext_resource path="res://game/components/PlayersPanel.tscn" type="PackedScene" id=1] | ||
[ext_resource path="res://game/components/Keyboard.tscn" type="PackedScene" id=2] | ||
[ext_resource path="res://game/components/EntryDisplay.tscn" type="PackedScene" id=3] | ||
[ext_resource path="res://game/components/Spindle.tscn" type="PackedScene" id=4] | ||
[ext_resource path="res://game/GamePanel.gd" type="Script" id=5] | ||
[ext_resource path="res://GameTheme.theme" type="Theme" id=6] | ||
[ext_resource path="res://game/VScreen.tscn" type="PackedScene" id=7] | ||
[ext_resource path="res://Xolonium-Bold.otf" type="DynamicFontData" id=8] | ||
[ext_resource path="res://game/RoundSign.gd" type="Script" id=9] | ||
[ext_resource path="res://tex/star_04.png" type="Texture" id=10] | ||
|
||
[sub_resource type="StyleBoxFlat" id=1] | ||
bg_color = Color( 0.0862745, 0.0862745, 0.101961, 0.631373 ) | ||
corner_radius_top_left = 25 | ||
corner_radius_top_right = 25 | ||
corner_radius_bottom_right = 25 | ||
corner_radius_bottom_left = 25 | ||
shadow_color = Color( 0.0862745, 0.0862745, 0.101961, 0.74902 ) | ||
shadow_size = 50 | ||
|
||
; [sub_resource type="DynamicFont" id=2] | ||
; size = 100 | ||
; outline_size = 5 | ||
; outline_color = Color( 0, 0, 0, 1 ) | ||
; use_mipmaps = true | ||
; use_filter = true | ||
; font_data = ExtResource( 8 ) | ||
|
||
[sub_resource type="Animation" id=3] | ||
resource_name = "In" | ||
length = 0.2 | ||
tracks/0/type = "value" | ||
tracks/0/path = NodePath("Main:rect_position") | ||
tracks/0/interp = 1 | ||
tracks/0/loop_wrap = true | ||
tracks/0/imported = false | ||
tracks/0/enabled = true | ||
tracks/0/keys = { | ||
"times": PoolRealArray( 0, 0.2 ), | ||
"transitions": PoolRealArray( 1, 0.329877 ), | ||
"update": 0, | ||
"values": [ Vector2( 1280, 0 ), Vector2( 0, 0 ) ] | ||
} |
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,30 @@ | ||
; https://github.com/godotengine/tps-demo/raw/master/door/model/door.tres | ||
[gd_resource type="SpatialMaterial" load_steps=5 format=2] | ||
|
||
[ext_resource path="res://door/textures/door_orm.png" type="Texture" id=1] | ||
[ext_resource path="res://door/textures/door_emission.png" type="Texture" id=2] | ||
[ext_resource path="res://door/textures/door_normal.png" type="Texture" id=3] | ||
[ext_resource path="res://door/textures/door_albedo.png" type="Texture" id=4] | ||
|
||
[resource] | ||
resource_name = "door" | ||
albedo_texture = ExtResource( 4 ) | ||
; metallic = 1.0 | ||
; metallic_texture = ExtResource( 1 ) | ||
; metallic_texture_channel = 2 | ||
; roughness_texture = ExtResource( 1 ) | ||
; roughness_texture_channel = 1 | ||
; emission_enabled = true | ||
; emission = Color( 0, 0, 0, 1 ) | ||
emission_energy = 3.0 | ||
emission_operator = 0 | ||
emission_on_uv2 = false | ||
emission_texture = ExtResource( 2 ) | ||
normal_enabled = true | ||
normal_scale = 1.0 | ||
normal_texture = ExtResource( 3 ) | ||
ao_enabled = true | ||
ao_light_affect = 0.0 | ||
ao_texture = ExtResource( 1 ) | ||
ao_on_uv2 = false | ||
ao_texture_channel = 0 |
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,21 @@ | ||
--- | ||
# github.com/AlDanial/cloc | ||
header : | ||
cloc_url : github.com/AlDanial/cloc | ||
cloc_version : 1.89 | ||
elapsed_seconds : 0.00651192665100098 | ||
n_files : 1 | ||
n_lines : 46 | ||
files_per_second : 153.564383260718 | ||
lines_per_second : 7063.96162999304 | ||
report_file : ../outputs/GamePanel.tscn | ||
'Godot Scene' : | ||
nFiles: 1 | ||
blank: 4 | ||
comment: 8 | ||
code: 34 | ||
SUM: | ||
blank: 4 | ||
comment: 8 | ||
code: 34 | ||
nFiles: 1 |
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,21 @@ | ||
--- | ||
# github.com/AlDanial/cloc | ||
header : | ||
cloc_url : github.com/AlDanial/cloc | ||
cloc_version : 1.89 | ||
elapsed_seconds : 0.00702595710754395 | ||
n_files : 1 | ||
n_lines : 30 | ||
files_per_second : 142.329363059486 | ||
lines_per_second : 4269.88089178459 | ||
report_file : ../outputs/door.tres.yaml | ||
'Godot Resource' : | ||
nFiles: 1 | ||
blank: 2 | ||
comment: 8 | ||
code: 20 | ||
SUM: | ||
blank: 2 | ||
comment: 8 | ||
code: 20 | ||
nFiles: 1 |