-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add hold cue to pushups Add VAL Winter Games workout
- Loading branch information
Showing
28 changed files
with
472 additions
and
42 deletions.
There are no files selected for viewing
Binary file not shown.
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
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,8 @@ | ||
[gd_scene load_steps=2 format=2] | ||
|
||
[ext_resource path="res://scripts/AchievementDisplay.gd" type="Script" id=1] | ||
|
||
[node name="AchievementDisplay" type="Spatial"] | ||
script = ExtResource( 1 ) | ||
|
||
[node name="Anchor" type="Spatial" parent="."] |
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,50 @@ | ||
[gd_scene load_steps=3 format=2] | ||
|
||
[ext_resource path="res://themes/vrworkout_theme.theme" type="Theme" id=1] | ||
[ext_resource path="res://scripts/NumberEntry.gd" type="Script" id=2] | ||
|
||
[node name="NumberEntry" type="Node2D"] | ||
script = ExtResource( 2 ) | ||
|
||
[node name="ColorRect" type="ColorRect" parent="."] | ||
margin_right = 168.0 | ||
margin_bottom = 315.0 | ||
color = Color( 0, 0, 0, 1 ) | ||
__meta__ = { | ||
"_edit_use_anchors_": false | ||
} | ||
|
||
[node name="Plus" type="Button" parent="."] | ||
margin_right = 64.0 | ||
margin_bottom = 92.0 | ||
theme = ExtResource( 1 ) | ||
text = "+" | ||
__meta__ = { | ||
"_edit_use_anchors_": false | ||
} | ||
|
||
[node name="Minus" type="Button" parent="."] | ||
margin_top = 164.0 | ||
margin_right = 64.0 | ||
margin_bottom = 256.0 | ||
theme = ExtResource( 1 ) | ||
text = "-" | ||
__meta__ = { | ||
"_edit_use_anchors_": false | ||
} | ||
|
||
[node name="RichTextLabel" type="RichTextLabel" parent="."] | ||
margin_left = 11.0 | ||
margin_top = 114.0 | ||
margin_right = 51.0 | ||
margin_bottom = 142.0 | ||
theme = ExtResource( 1 ) | ||
bbcode_enabled = true | ||
bbcode_text = "[center]20[/center]" | ||
text = "20" | ||
__meta__ = { | ||
"_edit_use_anchors_": false | ||
} | ||
|
||
[connection signal="pressed" from="Plus" to="." method="_on_Plus_pressed"] | ||
[connection signal="pressed" from="Minus" to="." method="_on_Minus_pressed"] |
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=9 format=2] | ||
|
||
[ext_resource path="res://scenes/NumberEntry.tscn" type="PackedScene" id=1] | ||
[ext_resource path="res://scripts/TouchableViewport.gd" type="Script" id=2] | ||
[ext_resource path="res://scripts/NumberEntryWidget.gd" type="Script" id=3] | ||
[ext_resource path="res://scripts/ConnectPadInput.gd" type="Script" id=4] | ||
|
||
[sub_resource type="PlaneMesh" id=1] | ||
size = Vector2( 1, 4 ) | ||
|
||
[sub_resource type="ViewportTexture" id=2] | ||
flags = 12 | ||
viewport_path = NodePath("Viewport") | ||
|
||
[sub_resource type="SpatialMaterial" id=3] | ||
resource_local_to_scene = true | ||
flags_unshaded = true | ||
albedo_texture = SubResource( 2 ) | ||
|
||
[sub_resource type="BoxShape" id=4] | ||
margin = 0.001 | ||
extents = Vector3( 0.5, 0.1, 2 ) | ||
|
||
[node name="Spatial" type="Spatial"] | ||
script = ExtResource( 3 ) | ||
|
||
[node name="Viewport" type="Viewport" parent="."] | ||
size = Vector2( 64, 256 ) | ||
msaa = 6 | ||
render_target_v_flip = true | ||
script = ExtResource( 2 ) | ||
|
||
[node name="NumberEntry" parent="Viewport" instance=ExtResource( 1 )] | ||
|
||
[node name="ConnectPadInput" type="StaticBody" parent="."] | ||
script = ExtResource( 4 ) | ||
|
||
[node name="tl_marker" type="Spatial" parent="ConnectPadInput"] | ||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0, -2 ) | ||
|
||
[node name="bl_marker" type="Spatial" parent="ConnectPadInput"] | ||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0, 2 ) | ||
|
||
[node name="tr_marker" type="Spatial" parent="ConnectPadInput"] | ||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 0, -2 ) | ||
|
||
[node name="MeshInstance" type="MeshInstance" parent="ConnectPadInput"] | ||
mesh = SubResource( 1 ) | ||
material/0 = SubResource( 3 ) | ||
|
||
[node name="CollisionShape" type="CollisionShape" parent="ConnectPadInput"] | ||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.096831, 0 ) | ||
shape = SubResource( 4 ) | ||
|
||
[connection signal="value_changed" from="Viewport/NumberEntry" to="." method="_on_NumberEntry_value_changed"] | ||
[connection signal="view_changed" from="Viewport/NumberEntry" to="." method="_on_NumberEntry_view_changed"] | ||
[connection signal="interface_release" from="ConnectPadInput" to="Viewport" method="_on_ConnectPadInput_interface_release"] | ||
[connection signal="interface_touch" from="ConnectPadInput" to="Viewport" method="_on_ConnectPadInput_interface_touch"] |
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,42 @@ | ||
[gd_scene load_steps=6 format=2] | ||
|
||
[ext_resource path="res://themes/vrworkout_theme.theme" type="Theme" id=1] | ||
[ext_resource path="res://scripts/SimpleText.gd" type="Script" id=2] | ||
|
||
[sub_resource type="PlaneMesh" id=1] | ||
size = Vector2( 4, 2 ) | ||
|
||
[sub_resource type="ViewportTexture" id=2] | ||
flags = 12 | ||
viewport_path = NodePath("Viewport") | ||
|
||
[sub_resource type="SpatialMaterial" id=3] | ||
resource_local_to_scene = true | ||
flags_unshaded = true | ||
albedo_texture = SubResource( 2 ) | ||
|
||
[node name="Spatial" type="Spatial"] | ||
script = ExtResource( 2 ) | ||
|
||
[node name="Viewport" type="Viewport" parent="."] | ||
size = Vector2( 256, 128 ) | ||
msaa = 6 | ||
render_target_v_flip = true | ||
render_target_update_mode = 3 | ||
|
||
[node name="ColorRect" type="ColorRect" parent="Viewport"] | ||
margin_right = 256.0 | ||
margin_bottom = 128.0 | ||
color = Color( 0, 0, 0, 1 ) | ||
|
||
[node name="RichTextLabel" type="RichTextLabel" parent="Viewport"] | ||
margin_right = 256.0 | ||
margin_bottom = 512.0 | ||
theme = ExtResource( 1 ) | ||
bbcode_enabled = true | ||
bbcode_text = "Default Text" | ||
text = "Default Text" | ||
|
||
[node name="MeshInstance" type="MeshInstance" parent="."] | ||
mesh = SubResource( 1 ) | ||
material/0 = SubResource( 3 ) |
Oops, something went wrong.