From b2cdd5d5d02632b72f7267fb200ca7ba43c2b274 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mikrut?= Date: Wed, 11 Nov 2020 19:24:42 +0100 Subject: [PATCH] Some changes due bugs --- MainScenes/Operators.gd | 2 -- Physics/2D/Area2D.gd | 4 ++-- Rendering/Lights2D/Light2D.tscn | 6 +++--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/MainScenes/Operators.gd b/MainScenes/Operators.gd index 00e13ca..8546bbf 100644 --- a/MainScenes/Operators.gd +++ b/MainScenes/Operators.gd @@ -79,8 +79,6 @@ func _ready() -> void: var _r2 = qq() var _rr = qqr("WRT") call("qqr","QWT") - var func_ref = funcref(self,"qqr") - func_ref.call_func("QWQW") if 36235: pass diff --git a/Physics/2D/Area2D.gd b/Physics/2D/Area2D.gd index 4002928..f0065e1 100644 --- a/Physics/2D/Area2D.gd +++ b/Physics/2D/Area2D.gd @@ -22,8 +22,8 @@ func _process(delta): func _on_Area2D_area_entered(area): - move_vector = -move_vector + pass#move_vector = -move_vector 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) diff --git a/Rendering/Lights2D/Light2D.tscn b/Rendering/Lights2D/Light2D.tscn index 446c5d2..3466489 100644 --- a/Rendering/Lights2D/Light2D.tscn +++ b/Rendering/Lights2D/Light2D.tscn @@ -1,11 +1,11 @@ [gd_scene load_steps=3 format=2] [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 ) +shadow_enabled = true texture = ExtResource( 2 ) texture_scale = 3.39 -shadow_enabled = true script = ExtResource( 1 )