34 Commits

Author SHA1 Message Date
6370bb5b09 fix: enhance CHANGELOG extraction to include body and trim empty lines
Some checks failed
Build Release / build (Linux/X11) (pull_request) Successful in 2m40s
Build Release / build (Windows) (pull_request) Failing after 2m41s
Build Release / build (Web) (pull_request) Failing after 2m42s
2026-03-16 22:25:23 +01:00
751a3b1a17 fix: correct formatting for release action parameters in workflow
Some checks failed
Build Release / build (Linux/X11) (pull_request) Failing after 2m27s
Build Release / build (Web) (pull_request) Failing after 2m36s
Build Release / build (Windows) (pull_request) Failing after 2m17s
2026-03-16 22:19:57 +01:00
3aa520203e fix: update release action to include formatted release name and description
Some checks failed
Build Release / build (Web) (pull_request) Failing after 2m30s
Build Release / build (Windows) (pull_request) Failing after 2m42s
Build Release / build (Linux/X11) (pull_request) Failing after 2m51s
2026-03-16 22:15:03 +01:00
4a27ae75d3 test
Some checks failed
Build Release / build (Web) (pull_request) Failing after 2m36s
Build Release / build (Linux/X11) (pull_request) Failing after 2m41s
Build Release / build (Windows) (pull_request) Failing after 2m44s
2026-03-16 22:10:04 +01:00
756281ab0b fix: update server_url reference to use vars in release workflow
Some checks failed
Build Release / build (Linux/X11) (pull_request) Failing after 2m36s
Build Release / build (Web) (pull_request) Failing after 2m41s
Build Release / build (Windows) (pull_request) Failing after 2m42s
2026-03-16 22:07:52 +01:00
651abb6fef fix: correct artifact upload path in release workflow
Some checks failed
Build Release / build (Web) (pull_request) Failing after 2m29s
Build Release / build (Linux/X11) (pull_request) Failing after 2m34s
Build Release / build (Windows) (pull_request) Failing after 2m19s
2026-03-16 22:02:23 +01:00
6b91985c84 fix: update build action to normalize build path and use correct output for uploads
Some checks failed
Build Release / build (Web) (pull_request) Failing after 2m31s
Build Release / build (Linux/X11) (pull_request) Failing after 2m35s
Build Release / build (Windows) (pull_request) Failing after 3m6s
2026-03-16 20:44:29 +01:00
b58012bb90 fix: add EXPORT_DIR parameter to build action configuration 2026-03-16 20:40:49 +01:00
b983f41f75 fix: update build action reference to correct repository
Some checks failed
Build Release / build (Web) (pull_request) Failing after 2m58s
Build Release / build (Linux/X11) (pull_request) Failing after 3m18s
Build Release / build (Windows) (pull_request) Failing after 2m27s
2026-03-16 20:33:16 +01:00
d788285d18 test
Some checks failed
Build Release / build (Web) (pull_request) Failing after 12m36s
Build Release / build (Linux/X11) (pull_request) Failing after 16m5s
Build Release / build (Windows) (pull_request) Failing after 11m21s
2026-03-15 23:21:16 +01:00
4a6703f79a fix: update build action to use specific fork of godot-build-action
Some checks failed
Build Release / build (Linux/X11) (pull_request) Failing after 1m39s
Build Release / build (Web) (pull_request) Failing after 1m33s
Build Release / build (Windows) (pull_request) Failing after 1m33s
2026-03-15 23:00:46 +01:00
560b04bba2 fix: update exclude_filter for Web and Linux presets to exclude .blend files 2026-03-15 22:44:51 +01:00
7522d45bbd fix: add Blender support for Android and Web platforms in project configuration
Some checks failed
Build Release / build (Linux/X11) (pull_request) Failing after 2m10s
Build Release / build (Web) (pull_request) Failing after 2m10s
Build Release / build (Windows) (pull_request) Failing after 2m11s
2026-03-15 22:38:11 +01:00
80c905bcef fix: update export presets to use Windows, Linux, and Web platforms
Some checks failed
Build Release / build (Linux/X11) (pull_request) Failing after 2m11s
Build Release / build (Web) (pull_request) Failing after 2m11s
Build Release / build (Windows) (pull_request) Failing after 2m10s
2026-03-15 22:31:44 +01:00
ba84004adc fix: update export presets for Web, Linux, and Windows platforms with new configurations 2026-03-15 22:31:38 +01:00
966951654a fix: add INSTALL_BLENDER parameter to build action in release workflow
Some checks failed
Build Release / build (Linux/X11) (pull_request) Failing after 2m11s
Build Release / build (Windows Desktop) (pull_request) Failing after 2m11s
Build Release / build (macOS) (pull_request) Failing after 2m10s
2026-03-15 22:28:33 +01:00
905c2d7666 fix: improve version extraction logic in release workflow
Some checks failed
Build Release / build (Linux/X11) (pull_request) Failing after 2m21s
Build Release / build (Windows Desktop) (pull_request) Failing after 2m11s
Build Release / build (macOS) (pull_request) Failing after 2m11s
2026-03-15 22:26:29 +01:00
de51310f94 fix: replace release-drafter with custom version extraction in release workflow
Some checks failed
Build Release / build (Linux/X11) (pull_request) Failing after 1m36s
Build Release / build (Windows Desktop) (pull_request) Failing after 1m37s
Build Release / build (macOS) (pull_request) Failing after 1m37s
2026-03-15 22:22:35 +01:00
82e3ca5182 fix: remove GHE_HOST setup step and use SERVER_URL directly in release workflow
Some checks failed
Build Release / build (Linux/X11) (pull_request) Failing after 1m39s
Build Release / build (Windows Desktop) (pull_request) Failing after 1m38s
Build Release / build (macOS) (pull_request) Failing after 1m38s
2026-03-15 22:20:28 +01:00
d8f6478b18 fix: set GHE_HOST environment variable in release workflow
Some checks failed
Build Release / build (Linux/X11) (pull_request) Failing after 1m38s
Build Release / build (Windows Desktop) (pull_request) Failing after 1m38s
Build Release / build (macOS) (pull_request) Failing after 1m38s
2026-03-15 22:18:11 +01:00
8ae9b00b5a fix: update token usage in release workflow to use GITEA_TOKEN
Some checks failed
Build Release / build (Linux/X11) (pull_request) Failing after 1m39s
Build Release / build (Windows Desktop) (pull_request) Failing after 1m39s
Build Release / build (macOS) (pull_request) Failing after 1m38s
2026-03-15 22:11:47 +01:00
aa4a8e9fb3 fix: update actions/checkout to version 6 and adjust token usage in release workflow
Some checks failed
Build Release / build (Windows Desktop) (pull_request) Has been cancelled
Build Release / build (macOS) (pull_request) Has been cancelled
Build Release / build (Linux/X11) (pull_request) Has been cancelled
2026-03-15 22:10:35 +01:00
ef88e5e91d fix: update GITHUB_TOKEN to use ACTIONS_TOKEN in release workflow
Some checks failed
Build Release / build (Windows Desktop) (pull_request) Has been cancelled
Build Release / build (macOS) (pull_request) Has been cancelled
Build Release / build (Linux/X11) (pull_request) Has been cancelled
2026-03-15 22:06:25 +01:00
075521b991 fix: update godot-build-action to version 1.3.1
Some checks failed
Build Release / build (Linux/X11) (pull_request) Failing after 2m25s
Build Release / build (Windows Desktop) (pull_request) Failing after 1m39s
Build Release / build (macOS) (pull_request) Failing after 1m39s
2026-03-15 22:02:54 +01:00
99b2a8bbe3 Merge pull request 'feat(resource-test)-an-ui-test' (#4) from feat(resource-test)-an-ui-test into main
Some checks failed
Build Release / build (Linux/X11) (push) Failing after 2m9s
Build Release / build (Windows Desktop) (push) Failing after 1m33s
Build Release / build (macOS) (push) Failing after 1m34s
Build Release / build (Linux/X11) (pull_request) Failing after 1m34s
Build Release / build (Windows Desktop) (pull_request) Failing after 1m34s
Build Release / build (macOS) (pull_request) Failing after 1m34s
Reviewed-on: #4
2026-03-15 21:56:10 +01:00
11dd732cd0 chore: added server url as variable
All checks were successful
Coding Quality / Build and analyze (pull_request) Successful in 1m44s
2026-03-15 21:55:34 +01:00
3bbefa9647 feat: first draft of release workflow 2026-03-15 21:51:53 +01:00
e7e628992a feat: added changelog 2026-03-15 21:51:27 +01:00
de01511619 fix: changed name of quit component 2026-03-15 21:14:14 +01:00
aae15b0b50 chore: added exit button to game 2026-03-15 21:12:16 +01:00
80f2860ba1 feat: added release pipline 2026-03-15 21:05:23 +01:00
9c806e5a3e chore: added mouse concept 2026-03-15 20:58:50 +01:00
f2fb6bb2e6 feat: created basic mouse and keyboard movement 2026-03-15 20:58:07 +01:00
0e5093bb30 chore: saved changes in scene 2026-03-08 22:31:04 +01:00
16 changed files with 420 additions and 11 deletions

View File

@@ -0,0 +1,84 @@
name: Build Release
on:
push:
branches: [release]
pull_request:
branches: [release]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
preset: ["Windows", "Linux/X11", "Web"]
steps:
- uses: actions/checkout@v6
- name: Extract version and body from CHANGELOG
id: changelog
run: |
# Extract the latest released version (skip Unreleased)
LATEST=$(grep -E '^## \[[0-9]+\.[0-9]+\.[0-9]+\]' CHANGELOG.md | head -n1 | sed -E 's/^## \[([0-9]+\.[0-9]+\.[0-9]+)\].*/\1/')
if [ -z "$LATEST" ]; then
echo "No released version found in CHANGELOG.md"
exit 1
fi
echo "Released version found: $LATEST"
echo "version=$LATEST" >> $GITHUB_OUTPUT
# Extract the body: lines until the next ## header
BODY=$(awk -v ver="$LATEST" '
$0 ~ "^## \\[" ver "\\]" {found=1; next}
found && $0 ~ "^## \\[" {exit}
found {print}
' CHANGELOG.md)
# Trim leading/trailing empty lines
BODY=$(echo "$BODY" | sed '/^\s*$/d')
# Output body safely for GitHub Actions
echo "body<<EOF" >> $GITHUB_OUTPUT
echo "$BODY" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
# Create Release also creates an Tag
# - name: Create git tag
# uses: alazhar/gitea-action-autotag@v1
# with:
# tag: ${{ steps.changelog.outputs.version }}
- name: Build
id: build
uses: mlm-games/godot-build-action@v1.3.1
with:
EXPORT_PRESET_NAME: ${{ matrix.preset }}
INSTALL_BLENDER: "true"
BLENDER_VERSION: "5.0.0"
VERBOSE_IMPORT: "false"
- name: Normalize build path
id: normalize
run: echo "path=$(realpath ${{ steps.build.outputs.build }})" >> $GITHUB_OUTPUT
- name: Upload builds
uses: actions/upload-artifact@v5
with:
name: godot-${{ matrix.preset }}-v${{ steps.changelog.outputs.version }}
path: ${{ steps.normalize.outputs.path }}
- name: Create Release
uses: akkuman/gitea-release-action@v1
with:
server_url: ${{ vars.SERVER_URL }}
tag_name: "${{ steps.changelog.outputs.version }}"
name: Release ${{ steps.changelog.outputs.version }}
body: ${{ steps.changelog.outputs.description }}
files: |
godot-${{ matrix.preset }}-v${{ steps.changelog.outputs.version }}
draft: false
token: ${{ secrets.GITEA_TOKEN }}

31
CHANGELOG.md Normal file
View File

@@ -0,0 +1,31 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Added
### Changed
### Removed
## [0.0.1] - 2026-03-15
### Added
- First inital release of the Expremerts
- Created Changelog
- Added pipline for sonar
- Added pipline for releases
- Created UI Elements to exit the game
- added four minigames to test
### Fixed
### Changed
### Removed

View File

@@ -1,4 +0,0 @@
extends Camera2D
class_name RecurionCamera

View File

@@ -0,0 +1,40 @@
<mxfile host="Electron" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/28.0.6 Chrome/138.0.7204.100 Electron/37.2.3 Safari/537.36" version="28.0.6">
<diagram name="Seite-1" id="8VUDw9VsU7XZE8zAJI22">
<mxGraphModel dx="575" dy="518" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="U4xH48hkQDtbZK23ePJW-3" value="2D Movement Drag Conept" style="shape=cube;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;darkOpacity=0.05;darkOpacity2=0.1;" vertex="1" parent="1">
<mxGeometry x="10" y="10" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="U4xH48hkQDtbZK23ePJW-4" value="When&lt;br&gt;Left Click + Hold" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" vertex="1" parent="1">
<mxGeometry x="40" y="120" width="80" height="80" as="geometry" />
</mxCell>
<mxCell id="U4xH48hkQDtbZK23ePJW-5" value="Save Mouse Pos" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="160" y="130" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="U4xH48hkQDtbZK23ePJW-6" value="Movement of mouse" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" vertex="1" parent="1">
<mxGeometry x="40" y="250" width="80" height="80" as="geometry" />
</mxCell>
<mxCell id="U4xH48hkQDtbZK23ePJW-7" value="New Mouse pos - old pos = move postions" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="160" y="260" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="U4xH48hkQDtbZK23ePJW-8" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="440" y="210" as="sourcePoint" />
<mxPoint x="600" y="330" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="U4xH48hkQDtbZK23ePJW-10" value="Click&lt;br&gt;PosA" style="shape=callout;whiteSpace=wrap;html=1;perimeter=calloutPerimeter;" vertex="1" parent="1">
<mxGeometry x="380" y="130" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="U4xH48hkQDtbZK23ePJW-11" value="Click Move&lt;br&gt;PosB" style="shape=callout;whiteSpace=wrap;html=1;perimeter=calloutPerimeter;" vertex="1" parent="1">
<mxGeometry x="540" y="250" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="U4xH48hkQDtbZK23ePJW-12" value="Vector: 10x, -5y" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="540" y="130" width="120" height="60" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -0,0 +1,39 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://pyvdyr3pes5o"
valid=false
[deps]
source_file="res://Games/SpaceResources/Planing/Movement 2D.svg"
[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=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

View File

@@ -0,0 +1,52 @@
extends Camera2D
class_name RecurionCamera
@export var movement_speed: float = 1
var mouse_pos_a: Vector2 = Vector2.ZERO
var mouse_pos_b: Vector2 = Vector2.ZERO
func _process(delta: float) -> void:
process_keyboard_input(delta)
process_mouse_input()
func process_keyboard_input(delta: float):
var direction: Vector2 = Vector2.ZERO
if (Input.is_action_pressed("w")):
direction += Vector2.UP
if (Input.is_action_pressed("s")):
direction += Vector2.DOWN
if (Input.is_action_pressed("a")):
direction += Vector2.LEFT
if (Input.is_action_pressed("d")):
direction += Vector2.RIGHT
direction = direction.normalized() * movement_speed
position += direction * delta * 100
func process_mouse_input():
if (Input.is_action_just_pressed("mouse_down")):
mouse_pos_a = get_global_mouse_position()
mouse_pos_b = mouse_pos_a
elif (Input.is_action_pressed("mouse_down")):
mouse_pos_b = get_global_mouse_position()
position = mouse_pos_a - mouse_pos_b + position
elif (Input.is_action_just_released("mouse_down")):
mouse_pos_a = Vector2.ZERO
mouse_pos_b = Vector2.ZERO
mouse_pos_b = mouse_pos_a
func _input(event: InputEvent) -> void:
if (event is InputEventMouseButton):
var zoom_value = Input.get_axis("scroll_down", "scroll_up")
if (zoom.y + zoom_value > 0.0):
zoom += Vector2.ONE * zoom_value

View File

@@ -1,9 +1,16 @@
[gd_scene format=3 uid="uid://cycayd4l7k7s4"]
[ext_resource type="Script" uid="uid://bqslv86lm78ci" path="res://Games/SpaceResources/Assets/RecurionCamera.gd" id="1_002bs"]
[ext_resource type="Script" uid="uid://bqslv86lm78ci" path="res://Games/SpaceResources/Scripts/RecurionCamera.gd" id="1_002bs"]
[ext_resource type="Texture2D" uid="uid://dng410xo7qqfv" path="res://Assets/PixelPlanets/a-moon.png" id="2_qgdyp"]
[node name="Recuration" type="Node2D" unique_id=1741828961]
[node name="RecurionCamera" type="Camera2D" parent="." unique_id=997983592]
script = ExtResource("1_002bs")
movement_speed = 10.0
metadata/_custom_type_script = "uid://bqslv86lm78ci"
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=45756830]
texture_filter = 1
texture_repeat = 1
texture = ExtResource("2_qgdyp")

View File

@@ -1,16 +1,20 @@
[preset.0]
name="Godot Experiments"
name="Web"
platform="Web"
runnable=true
advanced_options=false
runnable=false
dedicated_server=false
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="dist/Experements.html"
exclude_filter="*.blend"
export_path=""
patches=PackedStringArray()
patch_delta_encoding=false
patch_delta_compression_level_zstd=19
patch_delta_min_reduction=0.1
patch_delta_include_filters="*"
patch_delta_exclude_filters=""
encryption_include_filters=""
encryption_exclude_filters=""
seed=0
@@ -42,4 +46,123 @@ progressive_web_app/icon_180x180=""
progressive_web_app/icon_512x512=""
progressive_web_app/background_color=Color(0, 0, 0, 1)
threads/emscripten_pool_size=8
threads/godot_pool_size=4
threads/godot_pool_size=4
[preset.1]
name="Linux/X11"
platform="Linux"
runnable=true
dedicated_server=false
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter="*.blend"
export_path="<null>"
patches=PackedStringArray()
patch_delta_encoding=false
patch_delta_compression_level_zstd=19
patch_delta_min_reduction=0.1
patch_delta_include_filters="*"
patch_delta_exclude_filters=""
encryption_include_filters=""
encryption_exclude_filters=""
seed=0
encrypt_pck=false
encrypt_directory=false
script_export_mode=2
[preset.1.options]
custom_template/debug=""
custom_template/release=""
debug/export_console_wrapper=1
binary_format/embed_pck=false
texture_format/s3tc_bptc=true
texture_format/etc2_astc=false
shader_baker/enabled=false
binary_format/architecture="x86_64"
ssh_remote_deploy/enabled=false
ssh_remote_deploy/host="user@host_ip"
ssh_remote_deploy/port="22"
ssh_remote_deploy/extra_args_ssh=""
ssh_remote_deploy/extra_args_scp=""
ssh_remote_deploy/run_script="#!/usr/bin/env bash
export DISPLAY=:0
unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\"
\"{temp_dir}/{exe_name}\" {cmd_args}"
ssh_remote_deploy/cleanup_script="#!/usr/bin/env bash
pkill -x -f \"{temp_dir}/{exe_name} {cmd_args}\"
rm -rf \"{temp_dir}\""
[preset.2]
name="Windows"
platform="Windows Desktop"
runnable=true
dedicated_server=false
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter="*.blend"
export_path=""
patches=PackedStringArray()
patch_delta_encoding=false
patch_delta_compression_level_zstd=19
patch_delta_min_reduction=0.1
patch_delta_include_filters="*"
patch_delta_exclude_filters=""
encryption_include_filters=""
encryption_exclude_filters=""
seed=0
encrypt_pck=false
encrypt_directory=false
script_export_mode=2
[preset.2.options]
custom_template/debug=""
custom_template/release=""
debug/export_console_wrapper=1
binary_format/embed_pck=false
texture_format/s3tc_bptc=true
texture_format/etc2_astc=false
shader_baker/enabled=false
binary_format/architecture="x86_64"
codesign/enable=false
codesign/timestamp=true
codesign/timestamp_server_url=""
codesign/digest_algorithm=1
codesign/description=""
codesign/custom_options=PackedStringArray()
application/modify_resources=true
application/icon=""
application/console_wrapper_icon=""
application/icon_interpolation=4
application/file_version=""
application/product_version=""
application/company_name=""
application/product_name=""
application/file_description=""
application/copyright=""
application/trademarks=""
application/export_angle=0
application/export_d3d12=0
application/d3d12_agility_sdk_multiarch=true
ssh_remote_deploy/enabled=false
ssh_remote_deploy/host="user@host_ip"
ssh_remote_deploy/port="22"
ssh_remote_deploy/extra_args_ssh=""
ssh_remote_deploy/extra_args_scp=""
ssh_remote_deploy/run_script="Expand-Archive -LiteralPath '{temp_dir}\\{archive_name}' -DestinationPath '{temp_dir}'
$action = New-ScheduledTaskAction -Execute '{temp_dir}\\{exe_name}' -Argument '{cmd_args}'
$trigger = New-ScheduledTaskTrigger -Once -At 00:00
$settings = New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries
$task = New-ScheduledTask -Action $action -Trigger $trigger -Settings $settings
Register-ScheduledTask godot_remote_debug -InputObject $task -Force:$true
Start-ScheduledTask -TaskName godot_remote_debug
while (Get-ScheduledTask -TaskName godot_remote_debug | ? State -eq running) { Start-Sleep -Milliseconds 100 }
Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue"
ssh_remote_deploy/cleanup_script="Stop-ScheduledTask -TaskName godot_remote_debug -ErrorAction:SilentlyContinue
Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue
Remove-Item -Recurse -Force '{temp_dir}'"

View File

@@ -5,6 +5,7 @@
[ext_resource type="PackedScene" uid="uid://jynlgkm41y8d" path="res://Levels/space_move.tscn" id="3_lquwl"]
[ext_resource type="PackedScene" uid="uid://caj5t8q1fii5m" path="res://Levels/pid_test.tscn" id="4_7mycd"]
[ext_resource type="PackedScene" uid="uid://cycayd4l7k7s4" path="res://Levels/Recuration.tscn" id="5_lquwl"]
[ext_resource type="Script" uid="uid://lh1hhx4q8nlu" path="res://quit_game_component.gd" id="6_7mycd"]
[node name="Main" type="Control" unique_id=834120395]
layout_mode = 3
@@ -62,3 +63,11 @@ text = "Recuration"
script = ExtResource("1_ig7tw")
level = ExtResource("5_lquwl")
metadata/_custom_type_script = "uid://bel5yfuiqithe"
[node name="Button5" type="Button" parent="VBoxContainer" unique_id=630288499]
layout_mode = 2
text = "Exit Experements"
[node name="QuitGame" type="Node" parent="VBoxContainer/Button5" unique_id=1111277542]
script = ExtResource("6_7mycd")
metadata/_custom_type_script = "uid://lh1hhx4q8nlu"

View File

@@ -24,6 +24,11 @@ config/icon="res://icon.svg"
BackToMain="*res://back_to_main.gd"
[filesystem]
import/blender/enabled.android=true
import/blender/enabled.web=true
[input]
w={
@@ -85,3 +90,7 @@ mouse_down={
3d/default_angular_damp=0.0
3d/sleep_threshold_linear=0.01
3d/sleep_threshold_angular=0.00872665
[rendering]
environment/defaults/default_clear_color=Color(0, 0, 0, 1)

14
quit_game_component.gd Normal file
View File

@@ -0,0 +1,14 @@
extends Node
class_name QuitGame
@onready var button: Button = get_parent() as Button
func _ready() -> void:
button.pressed.connect(_on_button_pressed)
button.name = button.text
func _on_button_pressed() -> void:
get_tree().quit(0)

View File

@@ -0,0 +1 @@
uid://lh1hhx4q8nlu