Sign in to follow this  
tiberiu11

MAKE_SPRITE - BMP question

Recommended Posts

In a sprite object how do you keep the texture from repeating? On every sprite I make the texture tiles. I am doing an attitude indicator and the ball is repeating inside.Also, shouldn't I be able to make a sprite without a mask image or is it required. I thought you could use the IMAGE_CONTAINS_NO_MASK flag but seems as though it never shows up unless I use a mask image with it.

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

How about using one or more callback functions to limit the range for the vertical movement? This is how it's done in C. I must admit that I have no idea how it would work in XML.

Share this post


Link to post
Share on other sites

Hey, A mask is not RGB 0,0,0. You have to use 0,0,0 only where you used 0,0,0 on the bitmap that is masked. For the other parts, use the special mask color RGB 1,1,1. I had the same problem, so this will help you out.Sincerely,Tiberiu Brasov

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this