Jump to content
IGNORED

sprite transparent pen0


Heaven/TQA
 Share

Recommended Posts

look... this is my sprite control block for the last sprite which gets drawn on screen...


what I dont get is the transparent "classic" sprite fx of pen 0...


I am not using any collision buffer so I thought type 5 is it...


does I need to configure sprpack to get sprites transparent? I was under the impression that it will be pen 0?




dsign_scb5 ;non-collidable sprite

dc.b %11001001,%00110000,$00

dc.w 0 ;next spriteblock

sky_adr5 dc.w d

sky_x5 dc.w 64 ;160 out of screen --> skipped

sky_y5 dc.w 32

sky_sizex5 dc.w $0100 ;size x

sky_sizey5 dc.w $0100 ;size y

stretch5 dc.w $0000 ;$0001

tilt5 dc.w $0000 ;$FFC0

; dc.b $bc,$de,$fb,$cd,$ef,$bc,$de,$fb ;palette

dc.b $0c,$de,$f0,$00,$00,$00,$00,$00

dc.w 0 ;end of spriteblock


Link to comment
Share on other sites

dsign_SCB

dc.b %11000001,%00110000,$00

dc.w dsign_scb2 ;next spriteblock

sky_adr dc.w logo

sky_x dc.w $00

sky_y dc.w $00

sky_sizex dc.w $0100 ;size x

sky_sizey dc.w $0100 ;size y

stretch dc.w $0000 ;$0001

tilt dc.w $0000 ;$FFC0

dc.b $01,$23,$45,$67,$89,$AB,$CD,$EF ;palette

dc.w 0

dsign_scb2

dc.b %11000001,%00111000,$00

dc.w dsign_scb3 ;next spriteblock

sky_adr2 dc.w logo

sky_x2 dc.w 80

sky_y2 dc.w $00

sky_sizex2 dc.w $0100 ;size x

sky_sizey2 dc.w $0100 ;size y

stretch2 dc.w $0000 ;$0001

tilt2 dc.w $0000 ;$FFC0

dc.b $01,$23,$45,$67,$89,$AB,$CD,$EF ;palette

dc.w 0 ;end of spriteblock

dsign_scb3

dc.b %11000001,%00111000,$00

dc.w dsign_scb4 ;next spriteblock

sky_adr3 dc.w logo

sky_x3 dc.w 160 ;160 out of screen --> skipped

sky_y3 dc.w $00

sky_sizex3 dc.w $0100 ;size x

sky_sizey3 dc.w $0100 ;size y

stretch3 dc.w $0000 ;$0001

tilt3 dc.w $0000 ;$FFC0

dc.b $01,$23,$45,$67,$89,$AB,$CD,$EF ;palette

dc.w 0 ;end of spriteblock


dsign_scb4 ;non-collidable sprite

dc.b %11001001,%00110000,$00

dc.w dsign_scb5 ;next spriteblock

sky_adr4 dc.w desire

sky_x4 dc.w 64 ;160 out of screen --> skipped

sky_y4 dc.w 64

sky_sizex4 dc.w $0100 ;size x

sky_sizey4 dc.w $0100 ;size y

stretch4 dc.w $0000 ;$0001

tilt4 dc.w $0000 ;$FFC0

; dc.b $bc,$de,$fb,$cd,$ef,$bc,$de,$fb ;palette

dc.b $bc,$de,$f0,$00,$00,$00,$00,$00

dc.w 0 ;end of spriteblock


dsign_scb5 ;non-collidable sprite

dc.b %11000001,%00110000,$00

dc.w 0 ;next spriteblock

sky_adr5 dc.w d

sky_x5 dc.w 64 ;160 out of screen --> skipped

sky_y5 dc.w 32

sky_sizex5 dc.w $0100 ;size x

sky_sizey5 dc.w $0100 ;size y

stretch5 dc.w $0000 ;$0001

tilt5 dc.w $0000 ;$FFC0

dc.b $bc,$de,$fb,$cd,$ef,$bc,$de,$fb ;palette

; dc.b $01,$23,$45,$67,$89,$ah,$cd,$ef

dc.w 0 ;end of spriteblock


I still not get it... the DESIRE logo should be transparent...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...