Madolite

Untitled

Mar 8th, 2016
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. // Here's what I mean:
  2.  
  3. 1. loadPNGimage
  4. 2. convert PNG to array (color/index = tileID(int 0-255?), e.g. Grass = 0)
  5. 3. update array
  6. 4. onExitProgram() { save array as PNG }
  7.  
  8. A png could be 1024 and consist of 4x4 chunks of 64 tiles.
Advertisement
Add Comment
Please, Sign In to add comment