ccz80

Would you like to react to this message? Create an account in a few clicks or log in to continue.
ccz80

ccz80 programming language


2 posters

    data decode for spriteutil

    avatar
    funkheld


    Posts : 51
    Join date : 2009-12-16
    Age : 75
    Location : germany, lüneburg

    data decode for spriteutil Empty data decode for spriteutil

    Post  funkheld Thu Dec 24, 2009 5:06 am

    hello why the data decode for the sprite : { 14, 7, 8, 56,

    Code:

    array byte Aguila = { 14, 7, 8, 56,
    #22, #33, #33, #33, #22, #00, #00, #00, #33, #3C, #3C, #3C, #39, #11, #22, #00,
    #11, #39, #36, #33, #3C, #63, #93, #00, #33, #3C, #3C, #3C, #39, #11, #22, #00,
    #22, #33, #33, #33, #22, #00, #00, #00, #00, #11, #00, #11, #00, #00, #00, #00,
    ......

    gruss
    avatar
    Dinoneno


    Posts : 115
    Join date : 2008-01-15
    Age : 53
    Location : Toledo

    data decode for spriteutil Empty Re: data decode for spriteutil

    Post  Dinoneno Thu Dec 24, 2009 5:14 am

    This data can be created with the tool ImgEditSprUtilCPC.exe included in the file sprUtilCPC.zip. With this program you can design sprites and get the data for the current sprite in edition with the button Image to clipboard, and in the editor for the program ccz80 paste. So you have an array that specify an image to assign to sprites in sprUtilCPC. It is not necessary compress this values for use as image for an sprite.

    You can get with the same action the inks for assign to pens and view the sprite as in the editor, with the button Ink to clipboard. That create un array with values for pen 0, pen 1, pen 2, etc.
    avatar
    funkheld


    Posts : 51
    Join date : 2009-12-16
    Age : 75
    Location : germany, lüneburg

    data decode for spriteutil Empty Re: data decode for spriteutil

    Post  funkheld Thu Dec 24, 2009 9:30 pm

    "ImgEditSprUtilCPC.exe" it yes ok.




    Gruss

    Sponsored content


    data decode for spriteutil Empty Re: data decode for spriteutil

    Post  Sponsored content


      Current date/time is Sat Apr 20, 2024 4:35 am