Spawn text entity in stage after panning the stage

Aerisetta

Active member
Hi

I'm looking for an example of the following

I have a cutscene (text entity) that spawns on a stage, it is the first and only thing that spawns before the stage ends)

However, I would like the level (which has a background like 5000 pixels wide) to pan form left to right first, and then spawn the cutscene entity after it has moved to the right.
 
Hi

I'm looking for an example of the following

I have a cutscene (text entity) that spawns on a stage, it is the first and only thing that spawns before the stage ends)

However, I would like the level (which has a background like 5000 pixels wide) to pan form left to right first, and then spawn the cutscene entity after it has moved to the right.
You can change the openborvariant xpos inside the ondrawscript event of the text entity, I'm doing the same with the police car in the SORX


C:
if(openborvariant("xpos") > limit){ //IF XPOS IS HIGHER THAN THE LIMIT, MOVE BACK
    changeopenborvariant("xpos", openborvariant("xpos")-1); //MOVE XPOS BACK, REPEAT THIS LINE MORE TIMES TO INCREASE CAMERA VELOCITY
}
 
Back
Top Bottom