I wanted to make a video that starts before the TitleState.hx, but I can't figure out how to, can you help me?
top of page
Website Created by fabr with logo by Logined Guest and inspired by Requiem and Psych News. Support Friday Night Funkin' on Newgrounds and Itch.io All characters and original Friday Night Funkin' game material belong to The Funkin Crew
bottom of page
In the context of HaxeFlixel (or a similar Haxe-based game framework), if you want to play a video or add content that appears before idle breakout transitioning to TitleState, you can achieve this by creating an intro state that runs before the TitleState.
Love tester is a great game, mentioned and discussed a lot on social networks. Playable on many different platforms and devices love tester online. Can be played on both phone and computer quickly and conveniently.
make a new file called whatever you want go to titlestate.hx and make a public variable make an if statement behind the code that switches it to flashingstate.hx for if that variable is false
if it is switch to the video state and make the variable true
for the video state just copy the code from Playstation.hx in the playvideo function
put it in the video state and on the "oncomplete" make it switch back into title state
after the video plays it should continue as usual
just copy the code from Playstation.hx and then put it in before the flashing state