Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  Follow up for Sprites question  (Read 265 times)
0 Members and 2 Guests are viewing this topic.
Offline StonePickaxes

Full Member
**

Posts: 204
Medals: 3


Nathan Kramber


« on: 2012-01-18 08:55:15 »

I was reading his question about changing colors whenever needed, and immediately thought of Mine/Minicraft. Notch uses a single spritesheet with sprites made in entirely black, gray and white colors, and somehow gets them colored. A good example is how there's only one pickaxe in the spritesheet, but there are 4 different colors (tiers) of them.

So, does anyone know how he accomplishes this?

Thanks,
-Nathan

Check out my website!
Offline BoBear2681

Full Member
**

Posts: 238
Medals: 8



« Reply #1 on: 2012-01-18 09:03:38 »

The fastest way to edit a BufferedImage pixel by pixel:

http://www.java-gaming.org/topics/fastest-image-writing/24620/view.html
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.107 seconds with 19 queries.