mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-21 23:18:11 +00:00
Merge branch 'main' of https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public
This commit is contained in:
@@ -70,10 +70,11 @@ func bridge_piece_fall(node: Node2D) -> void:
|
|||||||
const BRIDGE_DESTRUCTION_PARTICLE = preload("uid://cwfjdgsyh35h6")
|
const BRIDGE_DESTRUCTION_PARTICLE = preload("uid://cwfjdgsyh35h6")
|
||||||
|
|
||||||
func bridge_piece_break(node: Node2D) -> void:
|
func bridge_piece_break(node: Node2D) -> void:
|
||||||
var particle = BRIDGE_DESTRUCTION_PARTICLE.instantiate()
|
if Settings.file.visuals.extra_particles == 1:
|
||||||
particle.global_position = node.global_position
|
var particle = BRIDGE_DESTRUCTION_PARTICLE.instantiate()
|
||||||
particle.process_mode = Node.PROCESS_MODE_ALWAYS
|
particle.global_position = node.global_position
|
||||||
add_sibling(particle)
|
particle.process_mode = Node.PROCESS_MODE_ALWAYS
|
||||||
|
add_sibling(particle)
|
||||||
node.modulate.a = 0
|
node.modulate.a = 0
|
||||||
|
|
||||||
func _physics_process(delta: float) -> void:
|
func _physics_process(delta: float) -> void:
|
||||||
|
Reference in New Issue
Block a user