Jump to content
  • Advertisement


Sign in to follow this  
  • entries
  • comments
  • views

New Idea

Sign in to follow this  


Okay... the dirty rect Idea isn't working because of the tile overlaps... but its okay! I have a new idea!!

Let us say that this is our rendered map. If we make a mask for each layer, with a different colour we get this (blended witht the original for clarity):

So now, lets say that we want to render a sprite, we just look at the mask and cut out accordingly... If we are rendereing the sprite to the OrangeY, then we need to cut out of the sprite the blue and the red. So now I have to go do some research on how to do this.... hmmmm...

Now making one operate is probably a whole lot harder... but I could use some fun!
Sign in to follow this  


Recommended Comments

There are no comments to display.

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
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!