Options Screen Problem

Discussion in 'Discussion and Q&A Archive' started by DeoxysKyogre, Aug 12, 2011.

Thread Status:
Not open for further replies.
  1. DeoxysKyogre

    DeoxysKyogre No idea what to put here .-. Member

    Joined:
    Jan 31, 2009
    Messages:
    298
    Hello. I've been working on my menu, and I managed to make it scroll and deform. However, there's a little problem - It leaves a space of the same size as my BG "Image ran on Imagenesis and converted it from there" Here's my code.



    ;================================================================================================
    ; Looped part


    ;-------------------------------------------------------------------------------------------------


    OPTIONS_LOOP:


    move.b #4,($FFFFF62A).w


    jsr DelayProgram


    ;jsr obj3d_shipflash


    jsr RunPLC_RAM


    jsr PalLoad1


    jsr ObjectsLoad


    jsr DeformBgLayer ; Deform Plane B


    JSR Deform_SYZ ; Deformation Chosen


    jsr BuildSprites


    cmpi.w #320,($FFFFF708).w ; Is it more than 320?


    bge.s Res_Z ; If more than, branch


    addq.w #1,($FFFFF708).w ; Scroll


    bra OptionsMenu_Pal ; Branch to the rest of the code


    Res_Z: ; XREF: OPTIONS_LOOP


    clr.w ($FFFFF708).W ; Clear it


    OptionsMenu_Pal:


    moveq #2,d0


    jsr PalLoad2



    How is this possible to fix this? Thanks in advance.
     
    Last edited by a moderator: Aug 12, 2011
  2. redhotsonic

    redhotsonic Also known as RHS Member

    Joined:
    Aug 10, 2007
    Messages:
    2,969
    Location:
    England
    Any pictures to demonstrate?
     
  3. SpirituInsanum

    SpirituInsanum Well-Known Member Member

    Joined:
    Feb 11, 2010
    Messages:
    642
    Not sure I understood the problem, but if the deformation you're using is the rev1 deformation, it is designed to deform a background bigger than 320x240, so that may be what's wrong.
     
Thread Status:
Not open for further replies.