clean up mess

This commit is contained in:
adrienmalin
2019-01-01 04:09:52 +01:00
parent 84abafae58
commit 80fb1421bd
37 changed files with 189 additions and 1262 deletions

View File

@ -1,9 +1,8 @@
[gd_scene load_steps=9 format=2]
[gd_scene load_steps=6 format=2]
[ext_resource path="res://Tetrominos/Mino/MinoMesh.tscn" type="PackedScene" id=1]
[ext_resource path="res://Tetrominos/Mino/MinoMesh.tres" type="CubeMesh" id=2]
[ext_resource path="res://Tetrominos/Mino/TrailMaterial.tres" type="Material" id=3]
[ext_resource path="res://Tetrominos/Mino/SpotLight.tscn" type="PackedScene" id=4]
[sub_resource type="SpatialMaterial" id=1]
@ -28,7 +27,7 @@ params_point_size = 1.0
params_billboard_mode = 0
params_grow = false
params_use_alpha_scissor = false
albedo_color = Color( 0.601563, 0.775878, 1, 0.270275 )
albedo_color = Color( 0.601563, 0.775878, 1, 0.520275 )
metallic = 0.68
metallic_specular = 1.0
metallic_texture_channel = 0
@ -56,7 +55,7 @@ uv2_triplanar_sharpness = 1.0
proximity_fade_enable = true
proximity_fade_distance = 1.0
distance_fade_enable = false
_sections_unfolded = [ "Albedo", "Emission", "Metallic", "NormalMap", "Proximity Fade" ]
_sections_unfolded = [ "Emission", "Metallic", "NormalMap", "Proximity Fade" ]
[sub_resource type="GradientTexture" id=2]
@ -73,7 +72,7 @@ flag_rotate_y = false
flag_disable_z = true
spread = 0.0
flatness = 0.0
gravity = Vector3( 0, 0, 0 )
gravity = Vector3( 0, -30, 0 )
initial_velocity = 0.0
initial_velocity_random = 0.0
angular_velocity = 0.0
@ -100,16 +99,7 @@ anim_speed_random = 0.0
anim_offset = 0.0
anim_offset_random = 0.0
anim_loop = false
_sections_unfolded = [ "Color", "Gravity" ]
[sub_resource type="CubeMesh" id=4]
material = ExtResource( 3 )
custom_aabb = AABB( 0, 0, 0, 0, 0, 0 )
size = Vector3( 0.9, 0.9, 0.9 )
subdivide_width = 0
subdivide_height = 0
subdivide_depth = 0
_sections_unfolded = [ "Angular Velocity", "Color", "Gravity", "Initial Velocity" ]
[node name="Mino" type="Spatial"]
@ -117,12 +107,13 @@ _sections_unfolded = [ "Pause", "Transform", "Visibility" ]
[node name="MinoMesh" parent="." index="0" instance=ExtResource( 1 )]
mesh = ExtResource( 2 )
material/0 = null
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 0.5, 1 )
_sections_unfolded = [ "Geometry", "Transform", "material" ]
[node name="Trail" type="Particles" parent="." index="1"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 0.5, 0.5 )
visible = false
layers = 1
material_override = SubResource( 1 )
cast_shadow = 1
@ -132,8 +123,8 @@ lod_min_distance = 0.0
lod_min_hysteresis = 0.0
lod_max_distance = 0.0
lod_max_hysteresis = 0.0
emitting = false
amount = 4
emitting = true
amount = 10
lifetime = 0.1
one_shot = false
preprocess = 0.0
@ -142,17 +133,12 @@ explosiveness = 0.0
randomness = 0.0
fixed_fps = 0
fract_delta = true
visibility_aabb = AABB( -0.5, -0.5, -0.5, 1, 1, 1 )
visibility_aabb = AABB( -4, -4, -4, 8, 8, 8 )
local_coords = false
draw_order = 0
process_material = SubResource( 3 )
draw_passes = 1
draw_pass_1 = SubResource( 4 )
_sections_unfolded = [ "Draw Passes", "Drawing", "Geometry", "LOD", "Process Material", "Time", "Transform" ]
[node name="SpotLight" parent="." index="2" instance=ExtResource( 4 )]
transform = Transform( 1, 0, 0, 0, -4.37114e-008, 1, 0, -1, -4.37114e-008, 0, 0, 1 )
light_energy = 4.0
draw_pass_1 = ExtResource( 2 )
_sections_unfolded = [ "Draw Passes", "Process Material", "Transform" ]

15
Tetrominos/Mino/Mino0.gd Normal file
View File

@ -0,0 +1,15 @@
extends MeshInstance
# class member variables go here, for example:
# var a = 2
# var b = "textvar"
func _ready():
# Called when the node is added to the scene for the first time.
# Initialization here
pass
#func _process(delta):
# # Called every frame. Delta is time since last frame.
# # Update game logic here.
# pass

File diff suppressed because one or more lines are too long

View File

@ -23,16 +23,16 @@ params_point_size = 1.0
params_billboard_mode = 0
params_grow = false
params_use_alpha_scissor = false
albedo_color = Color( 0.601563, 0.775878, 1, 0.162157 )
metallic = 0.4
albedo_color = Color( 0.601563, 0.775878, 1, 1 )
metallic = 0.68
metallic_specular = 1.0
metallic_texture_channel = 0
roughness = 0.46
roughness_texture_channel = 0
emission_enabled = true
emission = Color( 0.755859, 1, 0.914169, 1 )
emission_energy = 0.7
emission_operator = 0
emission = Color( 0.71875, 0.897827, 1, 1 )
emission_energy = 0.3
emission_operator = 1
emission_on_uv2 = false
normal_enabled = false
rim_enabled = false
@ -55,5 +55,5 @@ uv2_triplanar_sharpness = 1.0
proximity_fade_enable = true
proximity_fade_distance = 1.0
distance_fade_enable = false
_sections_unfolded = [ "Albedo", "Emission", "NormalMap", "Proximity Fade" ]
_sections_unfolded = [ "Emission", "NormalMap", "Proximity Fade", "Roughness" ]

View File

@ -1,12 +1,9 @@
[gd_resource type="CubeMesh" load_steps=2 format=2]
[ext_resource path="res://Tetrominos/Mino/MinoMaterial.tres" type="Material" id=1]
[gd_resource type="CubeMesh" format=2]
[resource]
material = ExtResource( 1 )
custom_aabb = AABB( 0, 0, 0, 0, 0, 0 )
size = Vector3( 0.9, 0.9, 0.9 )
size = Vector3( 0.9, 0.9, 1.9 )
subdivide_width = 0
subdivide_height = 0
subdivide_depth = 0

View File

@ -3,7 +3,6 @@
[ext_resource path="res://Tetrominos/Mino/MinoMaterial.tres" type="Material" id=1]
[sub_resource type="CubeMesh" id=1]
custom_aabb = AABB( 0, 0, 0, 0, 0, 0 )
@ -12,7 +11,7 @@ subdivide_width = 0
subdivide_height = 0
subdivide_depth = 0
[node name="Mino" type="MeshInstance" index="0"]
[node name="Mino" type="MeshInstance"]
layers = 1
material_override = null

View File

@ -23,7 +23,7 @@ params_point_size = 1.0
params_billboard_mode = 0
params_grow = false
params_use_alpha_scissor = false
albedo_color = Color( 0.601563, 0.775878, 1, 0.0196078 )
albedo_color = Color( 0.601563, 0.775878, 1, 0.520275 )
metallic = 0.68
metallic_specular = 1.0
metallic_texture_channel = 0
@ -51,5 +51,5 @@ uv2_triplanar_sharpness = 1.0
proximity_fade_enable = true
proximity_fade_distance = 1.0
distance_fade_enable = false
_sections_unfolded = [ "Albedo", "Emission", "Proximity Fade" ]
_sections_unfolded = [ "Proximity Fade" ]