Memoria icon indicating copy to clipboard operation
Memoria copied to clipboard

Characters disappear when too far in WS (alexandria map 103 main plaza)

Open snouz opened this issue 5 months ago • 1 comments

image

snouz avatar Mar 15 '24 14:03 snouz

For the record, this optimisation process that served the PSX version in order to keep the number of rendered objects relatively low at any time is coded in the field's script. It's not something automatised for all the fields but a system that appears in a couple of specific fields. For instance, you can find code like that in that field:

Function Alexandrian_GirlB_Loop
    while ( 1 ) {
        SetObjectFlags( 5 ) // Show the 3D model
        if ( GetEntryPosX(250) > -600 ) { // If the player character is at the right of the screen
            SetObjectFlags( 14 ) // Hide the 3D model
        }
        RunAnimation( 973 ) // Rope_L_1
        SetAnimationInOut( VAR_GlobInt16_37 / 8, VAR_GlobInt16_37 / 8 )
        Wait( 1 )
    }
    Wait( 1 )
    loop

Tirlititi avatar Mar 15 '24 14:03 Tirlititi