FNFFD Functions
these functions are directly used in base game fnffd!
scr_cbounce(firstbeat: Int,secondbeat: Int,thirdbeat: Int,fourthbeat: Int,frequency: Int)
firstbeat to fourthbeat all are the camera bounce intensity if frequency is higher than 1, camera will bounce on odd numbered beats EXAMPLE:
function onCreatePost()
scr_cbounce(5,5,5,5,2)
end
scr_drawcd(x: Int, y: Int)
draws cd boy's body, make sure your opponent uses cd boy's head sprites for this to look normal lol
EXAMPLE:
function onCreatePost()
scr_drawcd(170,303)
end
scr_charpos(badguyX: Int, badguyY: Int, playerX: Int, playerY: Int, ladyX: Int, ladyY: Int)
sets character positions
EXAMPLE:
function onCreatePost()
scr_charpos(244,368,578,368,420,343) -- taken from summer lol
-- lady's X and Y can be set to -1 to KILL her
--[[
you could also do smth like this but its your choice:
obj_badguy.x = 244
obj_badguy.y = 368
]]--
end
Last updated