Merge pull request #9 from Jesright73/main

Custom Zeta Blur fix
pull/11/head
DodoBirby 4 years ago committed by GitHub
commit 352d0214e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,6 +1,6 @@
var trail;
trail = instance_create(x, y, oFXTrail)
trail.sprite_index = sMZetaBlur
trail.sprite_index = ZetaBlurSprite
trail.image_alpha = 1
trail.white = 0
trail.fadespeed = 0.15

@ -95,3 +95,7 @@ myposx = floor((x / 320))
myposy = floor(((y - 8) / 240))
mapposx = (myposx + global.mapoffsetx)
mapposy = (myposy + global.mapoffsety)
if (oControl.ZetaBlur != -1) && (oControl.mod_fusion == 1)
ZetaBlurSprite = oControl.ZetaBlur
else
ZetaBlurSprite = sMZetaBlur

@ -18,6 +18,6 @@ if surface_exists(surf)
draw_sprite_ext(fleg_spr, fleg_frame, body_x, surf_y, facing, 1, 0, -1, 1)
}
else
draw_sprite_ext(sMZetaBlur, -1, body_x, body_y, facing, 1, 0, -1, 1)
draw_sprite_ext(ZetaBlurSprite, -1, body_x, body_y, facing, 1, 0, -1, 1)
surface_reset_target()
}

Loading…
Cancel
Save