From b84ca6f05b04d69700a1d4a9a6bc0909eeb661ba Mon Sep 17 00:00:00 2001 From: Page Asgardius Date: Sat, 2 Dec 2023 15:03:18 -0700 Subject: [PATCH] New Release --- bootclick.tscn | 2 +- levels/ast1.gd | 4 ++-- title.tscn | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bootclick.tscn b/bootclick.tscn index db20a82..db48d8b 100644 --- a/bootclick.tscn +++ b/bootclick.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=4 format=3 uid="uid://do3hxlilrn3pv"] +[gd_scene load_steps=4 format=3 uid="uid://bmjerqt775lgi"] [ext_resource type="Script" path="res://bootclick.gd" id="1_52bti"] [ext_resource type="Script" path="res://fps.gd" id="2_gnh1w"] diff --git a/levels/ast1.gd b/levels/ast1.gd index 072e1af..ec8fd54 100644 --- a/levels/ast1.gd +++ b/levels/ast1.gd @@ -24,6 +24,8 @@ func _process(delta): Global.xm = Input.get_joy_axis(0,JOY_AXIS_LEFT_X) Global.ym = Input.get_joy_axis(0,JOY_AXIS_LEFT_Y) else: + Global.xm = Input.get_last_mouse_velocity().x / 100 + Global.ym = Input.get_last_mouse_velocity().y / 100 if Input.is_action_pressed("ui_left") || Input.is_key_pressed(KEY_A): Global.xm = -1 if Input.is_action_pressed("ui_right") || Input.is_key_pressed(KEY_D): @@ -32,8 +34,6 @@ func _process(delta): Global.ym = -1 if Input.is_action_pressed("ui_down") || Input.is_key_pressed(KEY_S): Global.ym = 1 - Global.xm = Input.get_last_mouse_velocity().x / 100 - Global.ym = Input.get_last_mouse_velocity().y / 100 velocity = (Vector2.RIGHT.rotated(rotation) * -100 * Global.xm * delta)-Vector2.UP.rotated(rotation) * -100 * Global.ym * delta ctime = Time.get_ticks_msec() elif !Global.sk && Global.live == null: diff --git a/title.tscn b/title.tscn index b417795..e45b447 100644 --- a/title.tscn +++ b/title.tscn @@ -76,7 +76,7 @@ offset_left = 36.0 offset_top = 653.0 offset_right = 76.0 offset_bottom = 676.0 -text = "R0.1.0-beta 2020-2023 Page Asgardius GNU General Public License 3 +text = "R0.1.1-beta 2020-2023 Page Asgardius GNU General Public License 3 2016-2023 Asgardius Virtualx Project" [connection signal="finished" from="nebula" to="nebula" method="_on_finished"]