Skip to content

Commit

Permalink
added experimental webxr support
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrodreamer committed Sep 7, 2023
1 parent 9dddeed commit cebc3eb
Show file tree
Hide file tree
Showing 14 changed files with 234 additions and 84 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[editor_states]

Anim={
"visible": true
"visible": false
}
2D={
"grid_offset": Vector2(0, 0),
Expand Down Expand Up @@ -172,4 +172,4 @@ Anim={
"zfar": 4000.01,
"znear": 0.05
}
selected_nodes=Array[NodePath]([NodePath("/root/@EditorNode@17005/@Control@6/@Panel@7/@VBoxContainer@15/@HSplitContainer@18/@HSplitContainer@26/@HSplitContainer@34/@VBoxContainer@35/@VSplitContainer@37/@VSplitContainer@63/@VBoxContainer@64/@PanelContainer@111/MainScreen/@CanvasItemEditor@9417/@VSplitContainer@9242/@HSplitContainer@9244/@HSplitContainer@9246/@Control@9247/@SubViewportContainer@9248/@SubViewport@9249/settings_Panel/ScrollContainer/VBox/left_saber_offset/rotz"), NodePath("/root/@EditorNode@17005/@Control@6/@Panel@7/@VBoxContainer@15/@HSplitContainer@18/@HSplitContainer@26/@HSplitContainer@34/@VBoxContainer@35/@VSplitContainer@37/@VSplitContainer@63/@VBoxContainer@64/@PanelContainer@111/MainScreen/@CanvasItemEditor@9417/@VSplitContainer@9242/@HSplitContainer@9244/@HSplitContainer@9246/@Control@9247/@SubViewportContainer@9248/@SubViewport@9249/settings_Panel/ScrollContainer/VBox/left_saber_offset/rotx"), NodePath("/root/@EditorNode@17005/@Control@6/@Panel@7/@VBoxContainer@15/@HSplitContainer@18/@HSplitContainer@26/@HSplitContainer@34/@VBoxContainer@35/@VSplitContainer@37/@VSplitContainer@63/@VBoxContainer@64/@PanelContainer@111/MainScreen/@CanvasItemEditor@9417/@VSplitContainer@9242/@HSplitContainer@9244/@HSplitContainer@9246/@Control@9247/@SubViewportContainer@9248/@SubViewport@9249/settings_Panel/ScrollContainer/VBox/left_saber_offset/roty")])
selected_nodes=Array[NodePath]([NodePath("/root/@EditorNode@17005/@Control@6/@Panel@7/@VBoxContainer@15/@HSplitContainer@18/@HSplitContainer@26/@HSplitContainer@34/@VBoxContainer@35/@VSplitContainer@37/@VSplitContainer@63/@VBoxContainer@64/@PanelContainer@111/MainScreen/@CanvasItemEditor@9417/@VSplitContainer@9242/@HSplitContainer@9244/@HSplitContainer@9246/@Control@9247/@SubViewportContainer@9248/@SubViewport@9249/GameMain")])
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[editor_states]

Anim={
"visible": true
"visible": false
}
2D={
"grid_offset": Vector2(0, 0),
Expand Down Expand Up @@ -172,4 +172,4 @@ Anim={
"zfar": 4000.01,
"znear": 0.05
}
selected_nodes=Array[NodePath]([NodePath("/root/@EditorNode@17005/@Control@6/@Panel@7/@VBoxContainer@15/@HSplitContainer@18/@HSplitContainer@26/@HSplitContainer@34/@VBoxContainer@35/@VSplitContainer@37/@VSplitContainer@63/@VBoxContainer@64/@PanelContainer@111/MainScreen/@CanvasItemEditor@9417/@VSplitContainer@9242/@HSplitContainer@9244/@HSplitContainer@9246/@Control@9247/@SubViewportContainer@9248/@SubViewport@9249/settings_Panel/ScrollContainer/VBox/left_saber_offset/rotz"), NodePath("/root/@EditorNode@17005/@Control@6/@Panel@7/@VBoxContainer@15/@HSplitContainer@18/@HSplitContainer@26/@HSplitContainer@34/@VBoxContainer@35/@VSplitContainer@37/@VSplitContainer@63/@VBoxContainer@64/@PanelContainer@111/MainScreen/@CanvasItemEditor@9417/@VSplitContainer@9242/@HSplitContainer@9244/@HSplitContainer@9246/@Control@9247/@SubViewportContainer@9248/@SubViewport@9249/settings_Panel/ScrollContainer/VBox/left_saber_offset/rotx"), NodePath("/root/@EditorNode@17005/@Control@6/@Panel@7/@VBoxContainer@15/@HSplitContainer@18/@HSplitContainer@26/@HSplitContainer@34/@VBoxContainer@35/@VSplitContainer@37/@VSplitContainer@63/@VBoxContainer@64/@PanelContainer@111/MainScreen/@CanvasItemEditor@9417/@VSplitContainer@9242/@HSplitContainer@9244/@HSplitContainer@9246/@Control@9247/@SubViewportContainer@9248/@SubViewport@9249/settings_Panel/ScrollContainer/VBox/left_saber_offset/roty")])
selected_nodes=Array[NodePath]([NodePath("/root/@EditorNode@17005/@Control@6/@Panel@7/@VBoxContainer@15/@HSplitContainer@18/@HSplitContainer@26/@HSplitContainer@34/@VBoxContainer@35/@VSplitContainer@37/@VSplitContainer@63/@VBoxContainer@64/@PanelContainer@111/MainScreen/@CanvasItemEditor@9417/@VSplitContainer@9242/@HSplitContainer@9244/@HSplitContainer@9246/@Control@9247/@SubViewportContainer@9248/@SubViewport@9249/GameMain")])
16 changes: 8 additions & 8 deletions .godot/editor/editor_layout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,26 @@ dock_filesystem_split=0
dock_filesystem_display_mode=0
dock_filesystem_file_sort=0
dock_filesystem_file_list_display_mode=1
dock_filesystem_selected_paths=PackedStringArray("res://game/LightSaber.tscn")
dock_filesystem_uncollapsed_paths=PackedStringArray("Favorites", "res://", "res://OQ_Toolkit/OQ_UI2D/", "res://OQ_Toolkit/OQ_ARVRController/models3d/OculusQuest2/", "res://game/", "res://game/sabers/default/", "res://addons/")
dock_filesystem_selected_paths=PackedStringArray("res://game/scripts/webxr/")
dock_filesystem_uncollapsed_paths=PackedStringArray("Favorites", "res://", "res://OQ_Toolkit/OQ_UI2D/", "res://OQ_Toolkit/OQ_ARVRController/models3d/OculusQuest2/", "res://game/", "res://game/scripts/", "res://game/sabers/default/", "res://addons/")
dock_3="Scene,Import"
dock_4="FileSystem"
dock_5="Inspector,Node,History"

[EditorNode]

open_scenes=PackedStringArray("res://GameMain.tscn", "res://game/settings_Panel.tscn", "res://game/BeepSaber_Game.tscn", "res://game/LightSaber.tscn")
current_scene="res://game/LightSaber.tscn"
open_scenes=PackedStringArray("res://GameMain.tscn", "res://game/settings_Panel.tscn", "res://game/BeepSaber_Game.tscn", "res://game/LightSaber.tscn", "res://game/scripts/webxr/webxr_initializer.tscn")
current_scene="res://GameMain.tscn"
center_split_offset=-321
selected_default_debugger_tab_idx=0
selected_main_editor_idx=2
selected_bottom_panel_item=0
selected_bottom_panel_item=1

[ScriptEditor]

open_scripts=["res://game/scripts/BackgroundImgLoader.gd", "res://game/ui/BeatSageUI/BeatSageRequest/BeatSageRequest.gd", "res://game/ui/BeatSageUI/BeatSageUI.gd", "res://game/ui/BeatSaverPanel/BeatSaverPanel.gd", "res://game/BeepCube.gd", "res://game/BeepCube_SliceParticles.gd", "res://game/BeepSaberMainMenu.gd", "res://game/BeepSaber_Game.gd", "res://game/sabers/default/default_saber.gd", "res://game/event_driver.gd", "res://OQ_Toolkit/OQ_ARVROrigin/scripts/Feature_Climbing.gd", "res://OQ_Toolkit/OQ_ARVROrigin/scripts/Feature_Falling.gd", "res://OQ_Toolkit/OQ_ARVROrigin/scripts/Feature_MixedRealityCapture.gd", "res://OQ_Toolkit/OQ_ARVROrigin/scripts/Feature_PlayerCollision.gd", "res://OQ_Toolkit/OQ_ARVRCamera/scripts/Feature_StereoPanorama.gd", "res://OQ_Toolkit/OQ_ARVROrigin/scripts/Feature_VRRecorder.gd", "res://OQ_Toolkit/OQ_ARVROrigin/scripts/Feature_VRSimulator.gd", "res://game/floor.gd", "res://GameMain.gd", "res://OQ_Toolkit/OQ_UI2D/scripts/helper_UIArea.gd", "res://game/LightSaber.gd", "res://OQ_Toolkit/OQ_ARVROrigin/scripts/Locomotion_Stick.gd", "res://OQ_Toolkit/OQ_ARVROrigin/scripts/Locomotion_Teleport.gd", "res://OQ_Toolkit/OQ_ARVROrigin/scripts/Locomotion_WalkInPlace.gd", "res://OQ_Toolkit/OQ_ARVRCamera/scripts/OQ_ARVRCamera.gd", "res://OQ_Toolkit/OQ_ARVRController/scripts/OQ_ARVRController.gd", "res://OQ_Toolkit/OQ_ARVROrigin/scripts/OQ_ARVROrigin.gd", "res://OQ_Toolkit/OQ_Interactables/scripts/OQ_ButtonPressable.gd", "res://OQ_Toolkit/OQ_Helpers/scripts/OQ_SplashScreen.gd", "res://OQ_Toolkit/OQ_UI2D/scripts/OQ_UI2DCanvas.gd", "res://OQ_Toolkit/OQ_UI2D/scripts/OQ_UI2DKeyboard.gd", "res://OQ_Toolkit/OQ_UI2D/scripts/OQ_UI2DLabel.gd", "res://OQ_Toolkit/OQ_UI2D/scripts/OQ_UI2DLabel_IPD.gd", "res://OQ_Toolkit/OQ_UI2D/scripts/OQ_UI2DLogWindow.gd", "res://OQ_Toolkit/OQ_UI2D/scripts/OQ_UI2DNotificationWindow.gd", "res://OQ_Toolkit/OQ_UI2D/scripts/OQ_UI2DVRSettings.gd", "res://OQ_Toolkit/OQ_Helpers/scripts/OQ_VisibilityToggle.gd", "res://game/sabers/particles/particles_saber.gd", "res://game/Pause_Panel.gd", "res://game/PercentIndicator.gd", "res://addons/stopwatch/plugin.cfg", "res://game/points_label.gd", "res://README.md", "res://game/scripts/ScenePool/ScenePool.gd", "res://game/settings_Panel.gd", "res://game/sabers/default/tail.gd", "res://OQ_Toolkit/OQ_UI2D/controls/VirtualKeyboard.gd", "res://OQ_Toolkit/vr_autoload.gd", "res://game/vr_slider.gd", "res://game/ui/YouTubeUI/YouTubeUI.gd"]
selected_script="res://game/LightSaber.gd"
open_help=["AudioStreamPlayer", "BaseButton", "Button", "CPUParticles3D", "GPUParticles3D", "ImmediateMesh", "OpenXRInterface", "OS", "PrimitiveMesh", "RenderingServer", "RibbonTrailMesh", "TubeTrailMesh", "XRController3D", "XRInterface", "XRServer"]
open_scripts=["res://game/scripts/BackgroundImgLoader.gd", "res://game/ui/BeatSageUI/BeatSageRequest/BeatSageRequest.gd", "res://game/ui/BeatSageUI/BeatSageUI.gd", "res://game/ui/BeatSaverPanel/BeatSaverPanel.gd", "res://game/BeepCube.gd", "res://game/BeepCube_SliceParticles.gd", "res://game/BeepSaberMainMenu.gd", "res://game/BeepSaber_Game.gd", "res://game/sabers/default/default_saber.gd", "res://game/event_driver.gd", "res://OQ_Toolkit/OQ_ARVROrigin/scripts/Feature_Climbing.gd", "res://OQ_Toolkit/OQ_ARVROrigin/scripts/Feature_Falling.gd", "res://OQ_Toolkit/OQ_ARVROrigin/scripts/Feature_MixedRealityCapture.gd", "res://OQ_Toolkit/OQ_ARVROrigin/scripts/Feature_PlayerCollision.gd", "res://OQ_Toolkit/OQ_ARVRCamera/scripts/Feature_StereoPanorama.gd", "res://OQ_Toolkit/OQ_ARVROrigin/scripts/Feature_VRRecorder.gd", "res://OQ_Toolkit/OQ_ARVROrigin/scripts/Feature_VRSimulator.gd", "res://game/floor.gd", "res://GameMain.gd", "res://OQ_Toolkit/OQ_UI2D/scripts/helper_UIArea.gd", "res://game/LightSaber.gd", "res://OQ_Toolkit/OQ_ARVROrigin/scripts/Locomotion_Stick.gd", "res://OQ_Toolkit/OQ_ARVROrigin/scripts/Locomotion_Teleport.gd", "res://OQ_Toolkit/OQ_ARVROrigin/scripts/Locomotion_WalkInPlace.gd", "res://OQ_Toolkit/OQ_ARVRCamera/scripts/OQ_ARVRCamera.gd", "res://OQ_Toolkit/OQ_ARVRController/scripts/OQ_ARVRController.gd", "res://OQ_Toolkit/OQ_ARVROrigin/scripts/OQ_ARVROrigin.gd", "res://OQ_Toolkit/OQ_Interactables/scripts/OQ_ButtonPressable.gd", "res://OQ_Toolkit/OQ_Helpers/scripts/OQ_SplashScreen.gd", "res://OQ_Toolkit/OQ_UI2D/scripts/OQ_UI2DCanvas.gd", "res://OQ_Toolkit/OQ_UI2D/scripts/OQ_UI2DKeyboard.gd", "res://OQ_Toolkit/OQ_UI2D/scripts/OQ_UI2DLabel.gd", "res://OQ_Toolkit/OQ_UI2D/scripts/OQ_UI2DLabel_IPD.gd", "res://OQ_Toolkit/OQ_UI2D/scripts/OQ_UI2DLogWindow.gd", "res://OQ_Toolkit/OQ_UI2D/scripts/OQ_UI2DNotificationWindow.gd", "res://OQ_Toolkit/OQ_UI2D/scripts/OQ_UI2DVRSettings.gd", "res://OQ_Toolkit/OQ_Helpers/scripts/OQ_VisibilityToggle.gd", "res://game/sabers/particles/particles_saber.gd", "res://game/Pause_Panel.gd", "res://game/PercentIndicator.gd", "res://addons/stopwatch/plugin.cfg", "res://game/points_label.gd", "res://README.md", "res://game/scripts/ScenePool/ScenePool.gd", "res://game/settings_Panel.gd", "res://game/sabers/default/tail.gd", "res://OQ_Toolkit/OQ_UI2D/controls/VirtualKeyboard.gd", "res://OQ_Toolkit/vr_autoload.gd", "res://game/vr_slider.gd", "res://game/scripts/webxr/webxr_initializer.gd", "res://game/ui/YouTubeUI/YouTubeUI.gd"]
selected_script="res://OQ_Toolkit/vr_autoload.gd"
open_help=["@GDScript", "AudioStreamPlayer", "BaseButton", "Button", "CPUParticles3D", "GPUParticles3D", "ImmediateMesh", "OpenXRInterface", "OS", "PackedScene", "PrimitiveMesh", "RenderingServer", "RibbonTrailMesh", "TubeTrailMesh", "XRController3D", "XRInterface", "XRServer"]
script_split_offset=357
list_split_offset=0

Expand Down
Loading

0 comments on commit cebc3eb

Please sign in to comment.