New Idea

posted in Yar
Published March 01, 2005
Advertisement
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!
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

!!!!!!!

671 views

MIDI Keyboard v1.7

1523 views

Yar.

1192 views

Orchestra Recording

1308 views

MIDI Keyboard v1.5

1440 views

Registration

1307 views

Ahhh!!!

1073 views

Um... yeah...

1060 views
Advertisement