mirror of
https://github.com/godotengine/tps-demo.git
synced 2026-01-03 14:09:41 +03:00
Merge pull request #71 from aaronfranke/minor-problems
Fix some minor problems
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
extends Label
|
||||
|
||||
func _process(delta):
|
||||
func _process(_delta):
|
||||
if Input.is_action_just_pressed("toggle_debug"):
|
||||
visible = !visible
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
[ext_resource path="res://level/geometry/scenes/collision/radial_player_only.tscn" type="PackedScene" id=4]
|
||||
[ext_resource path="res://level/textures/plasma.png" type="Texture" id=5]
|
||||
|
||||
|
||||
[sub_resource type="SpatialMaterial" id=1]
|
||||
flags_transparent = true
|
||||
flags_unshaded = true
|
||||
|
||||
@@ -3,8 +3,8 @@ extends Node
|
||||
var fade_in_frame_counter = 100
|
||||
|
||||
func _ready():
|
||||
# We don't want the cache bullet to make noise. So just get rid of its audio.
|
||||
$Bullet/ExplosionAudio.queue_free()
|
||||
# We don't want the cache bullet to make noise. So make it silent.
|
||||
$Bullet/ExplosionAudio.unit_db = -INF
|
||||
|
||||
|
||||
func _physics_process(_delta):
|
||||
|
||||
Reference in New Issue
Block a user