GeeCON Prague 2014*
The moose likes Swing / AWT / SWT and the fly likes Is bit blitting needed and how is it performed? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Is bit blitting needed and how is it performed?" Watch "Is bit blitting needed and how is it performed?" New topic
Author

Is bit blitting needed and how is it performed?

Ivan Slavka
Greenhorn

Joined: Feb 06, 2012
Posts: 11
Hi guys,

today I was reading about isometric and hexagonal maps for games( Isometric and Hexagonal maps ). Well personally I'm interested in hexagonal maps, but both of them had something similar. It is said, I quote: "Since both Iso and Hex tiles are contained in overlapping rectangles, you MUST USE BITMASKS!", well I don't understand why use bitmasks when I can create *.png image with transparency?

And another thing if this bit masking is really needed, how do I perform bit blitting in java, what methods or which class should I use?
 
GeeCON Prague 2014
 
subject: Is bit blitting needed and how is it performed?