Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/src/.godot
/src/android/
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "src/addons/godot-oauth2client"]
path = src/addons/godot-oauth2client
url = https://github.com/OpenMinerva/godot-oauth2client.git
[submodule "src/addons/godot-urlparser"]
path = src/addons/godot-urlparser
url = https://github.com/OpenMinerva/godot-urlparser.git
53 changes: 53 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"psi-header.config": {
"forceToTop": true,
"blankLinesAfter": 1,
"spacesBetweenYears": false,
"license": "MIT",
"company": "OpenMinerva",
"creationDateZero": "asIs",
},
"psi-header.lang-config": [
{
"language": "gdscript",
"begin": "# --- License",
"prefix": "# ",
"lineLength": 80,
"end": "# --- License",
"forceToTop": true,
"blankLinesAfter": 1,
"beforeHeader": [],
"afterHeader": [],
"rootDirFileName": "client",
"modAuthor": "Modified By:",
"modDate": "Last Modified:",
"modDateFormat": "dd/MM/yyyy hh:nn:ss",
"replace": [
"Filename:",
"Project"
],
"ignoreLines": []
}
],
"psi-header.templates": [
{
"language": "gdscript",
"template": [
"File: <<filerelativepath>>",
"Project: <<projectname>>",
"Created Date: <<filecreated('DD MMMM YYYY')>>",
"Copyright (c) <<yeartoyear(fc, now)>> <<company>>",
"License: <<licensename>>",
"Authors: <<author>>",
],
"changeLogCaption": "HISTORY",
"changeLogHeaderLineCount": 2,
"changeLogEntryTemplate": [
"",
"<<dateformat(DD-MM-YYYY)>>\t<<initials>>\t"
],
"changeLogNaturalOrder": false,
"changeLogFooterLineCount": 0
}
],
}
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 OpenMinerva

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
43 changes: 41 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,41 @@
# Prism
VR Social platform with a focus on Education
> [!WARNING]
> This repository is currently pre-alpha, breaking changes happen frequently, there have not been any security audits, and data loss is expected.

<p align="center">
<img height="150" src="https://github.com/openminerva/client/blob/alpha/docs/logos/om-logo-big.webp?raw=true" />
</p>
<p align="center">
<a href="https://discord.gg/Kx6avB52gK">
<img src="https://dcbadge.limes.pink/api/server/https://discord.gg/Kx6avB52gK" alt="Discord" />
</a>
</p>

# Client

Client is the interface used to connect and interact with the virtual world of OpenMinerva.

## Development Quick Start

### 1: Download source code
For cloning this project on Linux:
```bash
# Clone this repository.
git clone --recurse-submodules https://github.com/OpenMinerva/client
```

### 2: Import project into Godot.
2.a: Open your copy of the [Godot Engine](https://godotengine.org/).

2.b: Click on "Import" near the top of the application window.

2.c: Navigate to the location where the source code was downloaded to.

2.d: Navigate to the subdirectory `/src`.

2.e: Select `project.godot` to import this project.

### 3: Open
Double click on the added entry.

## Contributing
See [CONTRIBUTING.md](https://github.com/OpenMinerva/client/blob/alpha/CONTRIBUTING.md) for guidelines, and information.
Binary file added docs/logos/om-logo-big.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/addons/godot-oauth2client
Submodule godot-oauth2client added at a83573
1 change: 1 addition & 0 deletions src/addons/godot-urlparser
Submodule godot-urlparser added at 506325
4 changes: 4 additions & 0 deletions src/openminerva_darkpanel.tres
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[gd_resource type="StyleBoxFlat" format=3 uid="uid://cxx1q037xaswi"]

[resource]
bg_color = Color(0.0625, 0.0625, 0.0625, 1)
19 changes: 19 additions & 0 deletions src/openminerva_default.tres
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[gd_resource type="Theme" format=3 uid="uid://bg2nbganyysst"]

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_31r6k"]
bg_color = Color(0, 0, 0, 0.78431374)

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_f2aq3"]
bg_color = Color(0.14117648, 0.39215687, 0.5686275, 1)

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_fbptr"]
bg_color = Color(0.02, 0.02, 0.02, 1)

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_fq2hb"]
bg_color = Color(0.01773237, 0.0177324, 0.017732374, 0.8)

[resource]
Button/styles/normal = SubResource("StyleBoxFlat_31r6k")
Button/styles/pressed = SubResource("StyleBoxFlat_f2aq3")
Panel/styles/normal = SubResource("StyleBoxFlat_fbptr")
Panel/styles/panel = SubResource("StyleBoxFlat_fq2hb")
107 changes: 107 additions & 0 deletions src/project.godot
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters

config_version=5

[animation]

compatibility/default_parent_skeleton_in_mesh_instance_3d=true

[application]

config/name="OpenMinerva Client"
run/main_scene="uid://cxk6c0uipjjpo"
config/features=PackedStringArray("4.6", "Forward Plus")
run/max_fps=144
boot_splash/stretch_mode=0
boot_splash/image="uid://dpdryj57noc4c"
config/icon="res://resources/icons/logos/logo.webp"
config/macos_native_icon="res://resources/icons/logos/logo.icns"
config/windows_native_icon="res://resources/icons/logos/logo.ico"
boot_splash/minimum_display_time=1500

[autoload]

LaunchArguments="*uid://c45jrfmrjtnyn"
GlobalLogger="*uid://dgmfafi41y1nk"
FileManager="*uid://d2s50p717g3n"
SettingsManager="*uid://bj4giyk05v042"
AccountServers="*uid://bpysjoq7n0ytu"
Random="*uid://1js68qt8w0mv"
GlobalAccount="*uid://dtlb70kxvbtvn"
Events="*uid://c656spc3ppdlw"
SessionQuery="*uid://dbrabs53sf0x5"
Enum="*uid://dgpvcem71xdbn"
Bootstrap="*uid://cvj10vdw6hlqw"
NetworkCompression="*uid://b2iq75uom64x2"
HTTP="*uid://d3cnfdwjxopsx"
OAuth2Client="*uid://c4b880pwgfrty"
UrlParser="*uid://budprjmmpally"

[display]

window/size/viewport_width=1920
window/size/viewport_height=1080
window/stretch/mode="canvas_items"
window/stretch/aspect="expand"

[editor_plugins]

enabled=PackedStringArray("res://addons/godot-oauth2client/plugin.cfg", "res://addons/godot-urlparser/plugin.cfg")

[input]

jump={
"deadzone": 0.2,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":32,"key_label":0,"unicode":32,"location":0,"echo":false,"script":null)
]
}
forward={
"deadzone": 0.2,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":119,"location":0,"echo":false,"script":null)
]
}
backward={
"deadzone": 0.2,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"location":0,"echo":false,"script":null)
]
}
left={
"deadzone": 0.2,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":97,"location":0,"echo":false,"script":null)
]
}
right={
"deadzone": 0.2,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"location":0,"echo":false,"script":null)
]
}
context={
"deadzone": 0.2,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":67,"key_label":0,"unicode":99,"location":0,"echo":false,"script":null)
]
}
escape={
"deadzone": 0.2,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194305,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
]
}
sprint={
"deadzone": 0.2,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194325,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
]
}

[physics]

3d/run_on_separate_thread=true
3d/physics_engine="Jolt Physics"

[rendering]

textures/default_filters/use_nearest_mipmap_filter=true
42 changes: 42 additions & 0 deletions src/resources/icons/account.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions src/resources/icons/account.svg.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://coqi7w7inqyv1"
path="res://.godot/imported/account.svg-4dd6f4e3bd6806ac9bb3535ef447dd9a.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://resources/icons/account.svg"
dest_files=["res://.godot/imported/account.svg-4dd6f4e3bd6806ac9bb3535ef447dd9a.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=5.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false
1 change: 1 addition & 0 deletions src/resources/icons/apps.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading