New Release
This commit is contained in:
parent
16aab0d966
commit
b84ca6f05b
3 changed files with 4 additions and 4 deletions
|
@ -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://bootclick.gd" id="1_52bti"]
|
||||||
[ext_resource type="Script" path="res://fps.gd" id="2_gnh1w"]
|
[ext_resource type="Script" path="res://fps.gd" id="2_gnh1w"]
|
||||||
|
|
|
@ -24,6 +24,8 @@ func _process(delta):
|
||||||
Global.xm = Input.get_joy_axis(0,JOY_AXIS_LEFT_X)
|
Global.xm = Input.get_joy_axis(0,JOY_AXIS_LEFT_X)
|
||||||
Global.ym = Input.get_joy_axis(0,JOY_AXIS_LEFT_Y)
|
Global.ym = Input.get_joy_axis(0,JOY_AXIS_LEFT_Y)
|
||||||
else:
|
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):
|
if Input.is_action_pressed("ui_left") || Input.is_key_pressed(KEY_A):
|
||||||
Global.xm = -1
|
Global.xm = -1
|
||||||
if Input.is_action_pressed("ui_right") || Input.is_key_pressed(KEY_D):
|
if Input.is_action_pressed("ui_right") || Input.is_key_pressed(KEY_D):
|
||||||
|
@ -32,8 +34,6 @@ func _process(delta):
|
||||||
Global.ym = -1
|
Global.ym = -1
|
||||||
if Input.is_action_pressed("ui_down") || Input.is_key_pressed(KEY_S):
|
if Input.is_action_pressed("ui_down") || Input.is_key_pressed(KEY_S):
|
||||||
Global.ym = 1
|
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
|
velocity = (Vector2.RIGHT.rotated(rotation) * -100 * Global.xm * delta)-Vector2.UP.rotated(rotation) * -100 * Global.ym * delta
|
||||||
ctime = Time.get_ticks_msec()
|
ctime = Time.get_ticks_msec()
|
||||||
elif !Global.sk && Global.live == null:
|
elif !Global.sk && Global.live == null:
|
||||||
|
|
|
@ -76,7 +76,7 @@ offset_left = 36.0
|
||||||
offset_top = 653.0
|
offset_top = 653.0
|
||||||
offset_right = 76.0
|
offset_right = 76.0
|
||||||
offset_bottom = 676.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"
|
2016-2023 Asgardius Virtualx Project"
|
||||||
|
|
||||||
[connection signal="finished" from="nebula" to="nebula" method="_on_finished"]
|
[connection signal="finished" from="nebula" to="nebula" method="_on_finished"]
|
||||||
|
|
Loading…
Reference in a new issue