Skip to content

Commit

Permalink
Update fire.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
dwasint committed Nov 15, 2023
1 parent a209c00 commit c749601
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
spawned.pixel_y += rand(-4,4)

spawned.add_filter("outline", 1, list(type = "outline", size = 1, color = "#FF3300"))
spawned.add_filter("bloom", 2 , list(type = "bloom", threshold = rgb(255,128,255), size = 3, offset = 4, alpha = 255))
spawned.add_filter("bloom", 2 , list(type = "bloom", threshold = rgb(255,128,255), size = 5, offset = 4, alpha = 255))

if(prob(35))
spawned.layer = ABOVE_MOB_LAYER

var/normal_x = rand(-4, 4) + spawned.pixel_x
var/inverse_x = 0 - normal_x
spawned.alpha = 0
spawned.alpha = 130

animate(spawned, alpha = 255, time = 0.4 SECONDS, pixel_y = rand(6, 16) + spawned.pixel_y, pixel_x = normal_x, easing = LINEAR_EASING)
animate(time = 0.5 SECONDS, alpha = 0, inverse_x , pixel_y = rand(6, 16) + spawned.pixel_y, easing = LINEAR_EASING|EASE_OUT)
Expand Down

0 comments on commit c749601

Please sign in to comment.