Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding a scene that prevents the hickup the user experiences the firs…
…t time he/she uses certain functions
- Loading branch information
1 parent
8e1c96d
commit 32e7ba3
Showing
13 changed files
with
136 additions
and
138 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
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,34 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="StreamTexture" | ||
path="res://.import/icon.png-fb3b2ecb55ac1327d82f6710eba4f8b4.stex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://addons/vr-common/images/icon.png" | ||
dest_files=[ "res://.import/icon.png-fb3b2ecb55ac1327d82f6710eba4f8b4.stex" ] | ||
|
||
[params] | ||
|
||
compress/mode=0 | ||
compress/lossy_quality=0.7 | ||
compress/hdr_mode=0 | ||
compress/bptc_ldr=0 | ||
compress/normal_map=0 | ||
flags/repeat=0 | ||
flags/filter=true | ||
flags/mipmaps=false | ||
flags/anisotropic=false | ||
flags/srgb=2 | ||
process/fix_alpha_border=true | ||
process/premult_alpha=false | ||
process/HDR_as_SRGB=false | ||
process/invert_color=false | ||
stream=false | ||
size_limit=0 | ||
detect_3d=true | ||
svg/scale=1.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
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,7 @@ | ||
[gd_resource type="SpatialMaterial" format=2] | ||
|
||
[resource] | ||
flags_transparent = true | ||
albedo_color = Color( 0.0337219, 0.241112, 0.863281, 0.497255 ) | ||
roughness = 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,7 @@ | ||
[gd_resource type="SpatialMaterial" format=2] | ||
|
||
[resource] | ||
flags_unshaded = true | ||
params_diffuse_mode = 1 | ||
albedo_color = Color( 1, 0.15625, 0.15625, 0.740314 ) | ||
|
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,12 @@ | ||
[gd_resource type="SpatialMaterial" load_steps=2 format=2] | ||
|
||
[ext_resource path="res://addons/vr-common/images/teleport_target.png" type="Texture" id=1] | ||
|
||
[resource] | ||
flags_transparent = true | ||
flags_unshaded = true | ||
params_diffuse_mode = 1 | ||
params_cull_mode = 2 | ||
albedo_color = Color( 0.176471, 0.313726, 0.862745, 1 ) | ||
albedo_texture = ExtResource( 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
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,10 @@ | ||
extends Spatial | ||
|
||
var countdown = 2 | ||
|
||
# Called every frame. 'delta' is the elapsed time since the previous frame. | ||
func _process(delta): | ||
countdown = countdown - 1 | ||
if countdown == 0: | ||
visible = false | ||
set_process(false) |
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,34 @@ | ||
[gd_scene load_steps=7 format=2] | ||
|
||
[ext_resource path="res://addons/vr-common/misc/VR_Common_Shader_Cache.gd" type="Script" id=1] | ||
[ext_resource path="res://addons/vr-common/materials/teleport.tres" type="Material" id=2] | ||
[ext_resource path="res://addons/vr-common/materials/target.tres" type="Material" id=3] | ||
[ext_resource path="res://addons/vr-common/materials/capule.tres" type="Material" id=4] | ||
[ext_resource path="res://addons/vr-common/materials/pointer.tres" type="Material" id=5] | ||
|
||
[sub_resource type="PlaneMesh" id=2] | ||
size = Vector2( 0.001, 0.001 ) | ||
|
||
[node name="vr_common_shader_cache" type="Spatial"] | ||
script = ExtResource( 1 ) | ||
|
||
[node name="teleport" type="MeshInstance" parent="."] | ||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2 ) | ||
mesh = SubResource( 2 ) | ||
material/0 = ExtResource( 2 ) | ||
|
||
[node name="target" type="MeshInstance" parent="."] | ||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2 ) | ||
mesh = SubResource( 2 ) | ||
material/0 = ExtResource( 3 ) | ||
|
||
[node name="capsule" type="MeshInstance" parent="."] | ||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2 ) | ||
mesh = SubResource( 2 ) | ||
material/0 = ExtResource( 4 ) | ||
|
||
[node name="pointer" type="MeshInstance" parent="."] | ||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2 ) | ||
mesh = SubResource( 2 ) | ||
material/0 = ExtResource( 5 ) | ||
|