Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is bit blitting needed and how is it performed?

 
Ivan Slavka
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic