Jump to content
IGNORED

DRAWUP sprite bug?


karri

Recommended Posts

I believe that this is the first time I use the DRAWUP feature of a sprite.

 

 

static void draw_roadsegment(unsigned char y, int hscale)
{
    Sroadsegment.vpos = y;
    Sroadsegment.hpos = 80;
    Sroadsegment.hsize = hscale;
    Sroadsegment.vsize = hscale;
    Sroadsegment.sprctl1 |= DRAWUP;
    tgi_sprite(&Sroadsegment);
    Sroadsegment.sprctl1 &= ~DRAWUP;
    tgi_sprite(&Sroadsegment);
}

 

The strange thing is that a normal draw looks ok.

post-2099-0-37947400-1429244429_thumb.png

 

But the mirrored half looks weird.

post-2099-0-81398100-1429244469_thumb.png

 

The anchor point of this 80x20 sprite is at 0,19.

 

I have not checked it in a real Lynx yet.

 

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...
  • Recently Browsing   0 members

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