Some changes due bugs

This commit is contained in:
Rafał Mikrut 2020-11-11 19:24:42 +01:00
parent 9c553f415f
commit b2cdd5d5d0
3 changed files with 5 additions and 7 deletions

View File

@ -79,8 +79,6 @@ func _ready() -> void:
var _r2 = qq() var _r2 = qq()
var _rr = qqr("WRT") var _rr = qqr("WRT")
call("qqr","QWT") call("qqr","QWT")
var func_ref = funcref(self,"qqr")
func_ref.call_func("QWQW")
if 36235: if 36235:
pass pass

View File

@ -22,8 +22,8 @@ func _process(delta):
func _on_Area2D_area_entered(area): func _on_Area2D_area_entered(area):
move_vector = -move_vector pass#move_vector = -move_vector
func _on_Area2D_body_entered(body): func _on_Area2D_body_entered(body):
move_vector = Vector2(move_vector.x, -move_vector.y) pass#move_vector = Vector2(move_vector.x, -move_vector.y)

View File

@ -1,11 +1,11 @@
[gd_scene load_steps=3 format=2] [gd_scene load_steps=3 format=2]
[ext_resource path="res://Rendering/Lights2D/Light2D.gd" type="Script" id=1] [ext_resource path="res://Rendering/Lights2D/Light2D.gd" type="Script" id=1]
[ext_resource path="res://icon 32x32.png" type="Texture" id=2] [ext_resource path="res://icon 32x32.png" type="Texture2D" id=2]
[node name="Light2D" type="Light2D"] [node name="Light2D" type="PointLight2D"]
position = Vector2( 36.375, 37.875 ) position = Vector2( 36.375, 37.875 )
shadow_enabled = true
texture = ExtResource( 2 ) texture = ExtResource( 2 )
texture_scale = 3.39 texture_scale = 3.39
shadow_enabled = true
script = ExtResource( 1 ) script = ExtResource( 1 )