mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 07:28:14 +00:00
Merge branch 'main' of https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public
This commit is contained in:
@@ -70,6 +70,7 @@ 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:
|
||||||
|
if Settings.file.visuals.extra_particles == 1:
|
||||||
var particle = BRIDGE_DESTRUCTION_PARTICLE.instantiate()
|
var particle = BRIDGE_DESTRUCTION_PARTICLE.instantiate()
|
||||||
particle.global_position = node.global_position
|
particle.global_position = node.global_position
|
||||||
particle.process_mode = Node.PROCESS_MODE_ALWAYS
|
particle.process_mode = Node.PROCESS_MODE_ALWAYS
|
||||||
|
Reference in New Issue
Block a user