This commit is contained in:
Page Asgardius 2023-09-11 09:34:36 -07:00
parent a7d5c69c7c
commit 0255b299ee
8 changed files with 297 additions and 8 deletions

View file

@ -8,7 +8,7 @@ custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="./The Red Robot Radio.aab"
export_path="./The Red Robot Radio.apk"
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
@ -18,8 +18,8 @@ encrypt_directory=false
custom_template/debug=""
custom_template/release=""
gradle_build/use_gradle_build=true
gradle_build/export_format=1
gradle_build/use_gradle_build=false
gradle_build/export_format=0
gradle_build/min_sdk=""
gradle_build/target_sdk=""
architectures/armeabi-v7a=true
@ -210,7 +210,7 @@ custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="linux x86_64/The Red Robot Radio.x86_64"
export_path="./The Red Robot Radio.x86_64"
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
@ -221,7 +221,7 @@ encrypt_directory=false
custom_template/debug=""
custom_template/release=""
debug/export_console_wrapper=1
binary_format/embed_pck=false
binary_format/embed_pck=true
texture_format/bptc=true
texture_format/s3tc=true
texture_format/etc=false
@ -239,3 +239,65 @@ unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\"
ssh_remote_deploy/cleanup_script="#!/usr/bin/env bash
kill $(pgrep -x -f \"{temp_dir}/{exe_name} {cmd_args}\")
rm -rf \"{temp_dir}\""
[preset.2]
name="Windows Desktop"
platform="Windows Desktop"
runnable=true
dedicated_server=false
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="./The Red Robot Radio.exe"
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
encrypt_directory=false
[preset.2.options]
custom_template/debug=""
custom_template/release=""
debug/export_console_wrapper=1
binary_format/embed_pck=true
texture_format/bptc=true
texture_format/s3tc=true
texture_format/etc=false
texture_format/etc2=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=""
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
$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

@ -1,4 +1,4 @@
[gd_scene load_steps=15 format=3 uid="uid://mtl88mcwaqk0"]
[gd_scene load_steps=21 format=3 uid="uid://mtl88mcwaqk0"]
[ext_resource type="Script" path="res://levels/galaxy.gd" id="1_3c4wu"]
[ext_resource type="Texture2D" uid="uid://8lioamk650y7" path="res://sprites/css.png" id="2_3g4h6"]
@ -14,6 +14,16 @@
[ext_resource type="Script" path="res://levels/ast1.gd" id="12_g6l6s"]
[ext_resource type="Script" path="res://levels/ast2.gd" id="13_s46s0"]
[ext_resource type="Script" path="res://levels/ast3.gd" id="14_cu7w4"]
[ext_resource type="Script" path="res://levels/wall1.gd" id="15_jbm4l"]
[ext_resource type="Script" path="res://levels/wall2.gd" id="16_dnhp8"]
[ext_resource type="Script" path="res://levels/wall3.gd" id="17_jrw7x"]
[ext_resource type="Script" path="res://levels/wall4.gd" id="18_fasi1"]
[sub_resource type="Gradient" id="Gradient_raqpb"]
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 1)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_4c28c"]
gradient = SubResource("Gradient_raqpb")
[node name="galaxy" type="Node2D"]
script = ExtResource("1_3c4wu")
@ -136,3 +146,27 @@ script = ExtResource("9_diat7")
position = Vector2(640, 360)
scale = Vector2(0.3, 0.3)
texture = ExtResource("9_favs7")
[node name="wall1" type="Sprite2D" parent="."]
position = Vector2(357.5, 483.5)
scale = Vector2(0.332031, 2539)
texture = SubResource("GradientTexture1D_4c28c")
script = ExtResource("15_jbm4l")
[node name="wall2" type="Sprite2D" parent="."]
position = Vector2(4288, 485.75)
scale = Vector2(0.332031, 2534.5)
texture = SubResource("GradientTexture1D_4c28c")
script = ExtResource("16_dnhp8")
[node name="wall3" type="Sprite2D" parent="."]
position = Vector2(2325.5, -725.5)
scale = Vector2(15.707, 111)
texture = SubResource("GradientTexture1D_4c28c")
script = ExtResource("17_jrw7x")
[node name="wall4" type="Sprite2D" parent="."]
position = Vector2(2325.5, 1692.5)
scale = Vector2(15.707, 111)
texture = SubResource("GradientTexture1D_4c28c")
script = ExtResource("18_fasi1")

40
levels/wall1.gd Normal file
View file

@ -0,0 +1,40 @@
extends Sprite2D
var origpos
#var origmpos
# Called when the node enters the scene tree for the first time.
#var velocity = Input.get_vector("move_left", "move_right", "move_forward", "move_back")
func _ready():
origpos = self.position
#origmpos = get_viewport().get_mouse_position()
#pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
var xm = 0
var ym = 0
var velocity = Vector2.ZERO
if Input.get_joy_axis(0,JOY_AXIS_LEFT_X) > 0.2 || Input.get_joy_axis(0,JOY_AXIS_LEFT_Y) > 0.2 || Input.get_joy_axis(0,JOY_AXIS_LEFT_X) < -0.2 || Input.get_joy_axis(0,JOY_AXIS_LEFT_Y) < -0.2:
velocity = (Vector2.RIGHT.rotated(rotation) * -50000 * delta * Input.get_joy_axis(0,JOY_AXIS_LEFT_X))-Vector2.UP.rotated(rotation) * -50000 *delta * Input.get_joy_axis(0,JOY_AXIS_LEFT_Y)
elif Input.is_mouse_button_pressed(MOUSE_BUTTON_LEFT):
#var mousepos = get_viewport().get_mouse_position() - origmpos
self.position = Vector2(origpos.x+(Global.mousepos.x*5), origpos.y+(Global.mousepos.y*5))
else:
if Input.is_action_pressed("ui_left"):
xm = -1
if Input.is_action_pressed("ui_right"):
xm = 1
if Input.is_action_pressed("ui_up"):
ym = -1
if Input.is_action_pressed("ui_down"):
ym = 1
velocity = (Vector2.RIGHT.rotated(rotation) * -50000 * xm * delta)-Vector2.UP.rotated(rotation) * -50000 * ym * delta
origpos = self.position
#origmpos = get_viewport().get_mouse_position()
#if Input.get_joy_axis(0,JOY_AXIS_LEFT_Y) != 0:
# velocity = Vector2.UP.rotated(rotation) * -400 * Input.get_joy_axis(0,JOY_AXIS_LEFT_Y)
position += velocity * delta
if position.x > 496:
Global.live = 2
#pass

40
levels/wall2.gd Normal file
View file

@ -0,0 +1,40 @@
extends Sprite2D
var origpos
#var origmpos
# Called when the node enters the scene tree for the first time.
#var velocity = Input.get_vector("move_left", "move_right", "move_forward", "move_back")
func _ready():
origpos = self.position
#origmpos = get_viewport().get_mouse_position()
#pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
var xm = 0
var ym = 0
var velocity = Vector2.ZERO
if Input.get_joy_axis(0,JOY_AXIS_LEFT_X) > 0.2 || Input.get_joy_axis(0,JOY_AXIS_LEFT_Y) > 0.2 || Input.get_joy_axis(0,JOY_AXIS_LEFT_X) < -0.2 || Input.get_joy_axis(0,JOY_AXIS_LEFT_Y) < -0.2:
velocity = (Vector2.RIGHT.rotated(rotation) * -50000 * delta * Input.get_joy_axis(0,JOY_AXIS_LEFT_X))-Vector2.UP.rotated(rotation) * -50000 *delta * Input.get_joy_axis(0,JOY_AXIS_LEFT_Y)
elif Input.is_mouse_button_pressed(MOUSE_BUTTON_LEFT):
#var mousepos = get_viewport().get_mouse_position() - origmpos
self.position = Vector2(origpos.x+(Global.mousepos.x*5), origpos.y+(Global.mousepos.y*5))
else:
if Input.is_action_pressed("ui_left"):
xm = -1
if Input.is_action_pressed("ui_right"):
xm = 1
if Input.is_action_pressed("ui_up"):
ym = -1
if Input.is_action_pressed("ui_down"):
ym = 1
velocity = (Vector2.RIGHT.rotated(rotation) * -50000 * xm * delta)-Vector2.UP.rotated(rotation) * -50000 * ym * delta
origpos = self.position
#origmpos = get_viewport().get_mouse_position()
#if Input.get_joy_axis(0,JOY_AXIS_LEFT_Y) != 0:
# velocity = Vector2.UP.rotated(rotation) * -400 * Input.get_joy_axis(0,JOY_AXIS_LEFT_Y)
position += velocity * delta
if position.x < 782:
Global.live = 2
#pass

40
levels/wall3.gd Normal file
View file

@ -0,0 +1,40 @@
extends Sprite2D
var origpos
#var origmpos
# Called when the node enters the scene tree for the first time.
#var velocity = Input.get_vector("move_left", "move_right", "move_forward", "move_back")
func _ready():
origpos = self.position
#origmpos = get_viewport().get_mouse_position()
#pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
var xm = 0
var ym = 0
var velocity = Vector2.ZERO
if Input.get_joy_axis(0,JOY_AXIS_LEFT_X) > 0.2 || Input.get_joy_axis(0,JOY_AXIS_LEFT_Y) > 0.2 || Input.get_joy_axis(0,JOY_AXIS_LEFT_X) < -0.2 || Input.get_joy_axis(0,JOY_AXIS_LEFT_Y) < -0.2:
velocity = (Vector2.RIGHT.rotated(rotation) * -50000 * delta * Input.get_joy_axis(0,JOY_AXIS_LEFT_X))-Vector2.UP.rotated(rotation) * -50000 *delta * Input.get_joy_axis(0,JOY_AXIS_LEFT_Y)
elif Input.is_mouse_button_pressed(MOUSE_BUTTON_LEFT):
#var mousepos = get_viewport().get_mouse_position() - origmpos
self.position = Vector2(origpos.x+(Global.mousepos.x*5), origpos.y+(Global.mousepos.y*5))
else:
if Input.is_action_pressed("ui_left"):
xm = -1
if Input.is_action_pressed("ui_right"):
xm = 1
if Input.is_action_pressed("ui_up"):
ym = -1
if Input.is_action_pressed("ui_down"):
ym = 1
velocity = (Vector2.RIGHT.rotated(rotation) * -50000 * xm * delta)-Vector2.UP.rotated(rotation) * -50000 * ym * delta
origpos = self.position
#origmpos = get_viewport().get_mouse_position()
#if Input.get_joy_axis(0,JOY_AXIS_LEFT_Y) != 0:
# velocity = Vector2.UP.rotated(rotation) * -400 * Input.get_joy_axis(0,JOY_AXIS_LEFT_Y)
position += velocity * delta
if position.y > 270:
Global.live = 2
#pass

40
levels/wall4.gd Normal file
View file

@ -0,0 +1,40 @@
extends Sprite2D
var origpos
#var origmpos
# Called when the node enters the scene tree for the first time.
#var velocity = Input.get_vector("move_left", "move_right", "move_forward", "move_back")
func _ready():
origpos = self.position
#origmpos = get_viewport().get_mouse_position()
#pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
var xm = 0
var ym = 0
var velocity = Vector2.ZERO
if Input.get_joy_axis(0,JOY_AXIS_LEFT_X) > 0.2 || Input.get_joy_axis(0,JOY_AXIS_LEFT_Y) > 0.2 || Input.get_joy_axis(0,JOY_AXIS_LEFT_X) < -0.2 || Input.get_joy_axis(0,JOY_AXIS_LEFT_Y) < -0.2:
velocity = (Vector2.RIGHT.rotated(rotation) * -50000 * delta * Input.get_joy_axis(0,JOY_AXIS_LEFT_X))-Vector2.UP.rotated(rotation) * -50000 *delta * Input.get_joy_axis(0,JOY_AXIS_LEFT_Y)
elif Input.is_mouse_button_pressed(MOUSE_BUTTON_LEFT):
#var mousepos = get_viewport().get_mouse_position() - origmpos
self.position = Vector2(origpos.x+(Global.mousepos.x*5), origpos.y+(Global.mousepos.y*5))
else:
if Input.is_action_pressed("ui_left"):
xm = -1
if Input.is_action_pressed("ui_right"):
xm = 1
if Input.is_action_pressed("ui_up"):
ym = -1
if Input.is_action_pressed("ui_down"):
ym = 1
velocity = (Vector2.RIGHT.rotated(rotation) * -50000 * xm * delta)-Vector2.UP.rotated(rotation) * -50000 * ym * delta
origpos = self.position
#origmpos = get_viewport().get_mouse_position()
#if Input.get_joy_axis(0,JOY_AXIS_LEFT_Y) != 0:
# velocity = Vector2.UP.rotated(rotation) * -400 * Input.get_joy_axis(0,JOY_AXIS_LEFT_Y)
position += velocity * delta
if position.y < 468:
Global.live = 2
#pass

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=15 format=3 uid="uid://b82huqhu88xt6"]
[gd_scene load_steps=21 format=3 uid="uid://b82huqhu88xt6"]
[ext_resource type="Script" path="res://levels/wormhole.gd" id="1_n4a5i"]
[ext_resource type="Texture2D" uid="uid://8lioamk650y7" path="res://sprites/css.png" id="2_y6cio"]
@ -14,6 +14,16 @@
[ext_resource type="Script" path="res://levels/ast1.gd" id="12_s1o5o"]
[ext_resource type="Script" path="res://levels/ast2.gd" id="13_xw0he"]
[ext_resource type="Script" path="res://levels/ast3.gd" id="14_xcrsk"]
[ext_resource type="Script" path="res://levels/wall1.gd" id="15_yx2oo"]
[ext_resource type="Script" path="res://levels/wall2.gd" id="16_el0w3"]
[ext_resource type="Script" path="res://levels/wall3.gd" id="17_pl58r"]
[ext_resource type="Script" path="res://levels/wall4.gd" id="18_ptooy"]
[sub_resource type="Gradient" id="Gradient_3wb6i"]
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 1)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_8jpuy"]
gradient = SubResource("Gradient_3wb6i")
[node name="wormhole" type="Node2D"]
script = ExtResource("1_n4a5i")
@ -136,3 +146,27 @@ script = ExtResource("9_cr36o")
position = Vector2(640, 360)
scale = Vector2(0.3, 0.3)
texture = ExtResource("10_shrek")
[node name="wall1" type="Sprite2D" parent="."]
position = Vector2(338.5, 688.5)
scale = Vector2(0.332031, 2539)
texture = SubResource("GradientTexture1D_8jpuy")
script = ExtResource("15_yx2oo")
[node name="wall2" type="Sprite2D" parent="."]
position = Vector2(4269, 690.75)
scale = Vector2(0.332031, 2534.5)
texture = SubResource("GradientTexture1D_8jpuy")
script = ExtResource("16_el0w3")
[node name="wall3" type="Sprite2D" parent="."]
position = Vector2(2306.5, -520.5)
scale = Vector2(15.707, 111)
texture = SubResource("GradientTexture1D_8jpuy")
script = ExtResource("17_pl58r")
[node name="wall4" type="Sprite2D" parent="."]
position = Vector2(2306.5, 1897.5)
scale = Vector2(15.707, 111)
texture = SubResource("GradientTexture1D_8jpuy")
script = ExtResource("18_ptooy")

View file

@ -23,7 +23,6 @@ Global="*res://global.gd"
window/size/viewport_width=1280
window/size/viewport_height=720
window/size/mode=3
window/stretch/mode="viewport"
[rendering]