Skip to content

Commit

Permalink
Update runner_powers.dm
Browse files Browse the repository at this point in the history
fine tunes launching anim
  • Loading branch information
silencer-pl committed Sep 26, 2024
1 parent e2717f2 commit 639bf71
Showing 1 changed file with 6 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,12 +289,9 @@


/obj/item/prop/missile_storm_up/proc/animate_takeoff()
var/step_number = 1
while(step_number <= 12)
pixel_y += 32
pixel_x += 4
step_number += 1
sleep(1)
var/new_pixel_x = pixel_x + 48
animate(src, pixel_x=new_pixel_x,pixel_y=384,time = 10,easing=QUAD_EASING|EASE_IN)
sleep(11)
qdel(src)

/obj/item/prop/missile_storm_up/Initialize(mapload, ...)
Expand All @@ -314,12 +311,9 @@


/obj/item/prop/missile_storm_down/proc/animate_landing()
var/step_number = 1
while(step_number <= 12)
pixel_y -= 32
pixel_x += 4
step_number += 1
sleep(1)
var/new_pixel_x = pixel_x + 48
animate(src, pixel_x=new_pixel_x,pixel_y=0,time = 10,easing=QUAD_EASING|EASE_IN)
sleep(11)
qdel(src)

/obj/item/prop/missile_storm_down/Initialize(mapload, ...)
Expand Down

0 comments on commit 639bf71

Please sign in to comment.