Skip to content

Commit

Permalink
Changed back to 5, but now it fade-in/out quicker.
Browse files Browse the repository at this point in the history
  • Loading branch information
Venuska1117 committed Dec 2, 2024
1 parent ff26498 commit db2b295
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -688,13 +688,13 @@
afterimage.pixel_x = dodge_user.pixel_x + directional_offset_x
afterimage.pixel_y = dodge_user.pixel_y + directional_offset_y
afterimage.dir = dodge_user.dir
afterimage.alpha = 200
afterimage.alpha = 150

// Prevent interactions with the afterimage
afterimage.mouse_opacity = 0 // Make the afterimage non-interactive

spawn(2 DECISECONDS) // Slight delay to ensure it appears after the mob moves
var/fade_out_steps = 4.5 // Number of steps for fade-out
var/fade_out_steps = 5 // Number of steps for fade-out
var/fade_out_delay = 1 DECISECONDS // Delay between steps (in deciseconds)
var/start_alpha = 200

Expand Down

0 comments on commit db2b295

Please sign in to comment.