+karri Posted April 17, 2015 Share Posted April 17, 2015 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. But the mirrored half looks weird. The anchor point of this 80x20 sprite is at 0,19. I have not checked it in a real Lynx yet. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.