This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
matejdro's profile picture

[1.45 PR3] CCPaint 1.1

Started by matejdro, 13 October 2012 - 08:46 PM
matejdro #1
Posted 13 October 2012 - 10:46 PM
Result of me playing with new awesome mouse and color abilities in CC 1.45:



(Excuse my horrible painting skills :)/>/>)



Program that allows you to paint pictures inside Minecraft!

Features:
  • Full screen painting
  • Have 3 colors selected at the time (for left, middle and right mouse button)
  • Ability to save/load images (both its own format and NFP format - format that other paint programs use)
  • Convenient menu with clickable items (no more ancient keyboard menus :)/>/>)
TO-DO List: (If there is interest)
  • Ability to actually delete "pixels" so they become transparent
  • Scrollable area
  • Modifiable brush size
  • Ability to pick color from image
  • Multiple tools (paint bucket, shapes etc.)
  • Undo/Redo
  • Selecton, Cut, Copy, Paste
  • Layers
  • More customization (Ability to disable full screen mode, customizable keyboard shortcuts, etc.)
Menu is opened and closed with SPACE key.

You need CC1.45 PR3 and Advanced Computer for this to work!

DOWNLOAD LINK: http://pastebin.com/NFs7nuqp
IN-GAME DOWNLOAD COMMAND: pastebin get NFs7nuqp paint
billysback #2
Posted 13 October 2012 - 11:05 PM
Could you give an example of a saved file?
matejdro #3
Posted 13 October 2012 - 11:12 PM
This is save file from above example

http://pastebin.com/dg5JDfA8

It's basically serialized table of

number = color

where number = x * 52 + y

All spots that you click are saved into table.

EDIT: I will add option to save and load to CCPNG format tomorrow.
Klausar #4
Posted 14 October 2012 - 07:39 AM
Could you add the ability to choose a background :)/>/> ?
matejdro #5
Posted 16 October 2012 - 09:15 PM
Updated!

CCPaint 1.1
  • Support for CC 1.45 PR3
  • New save format (you can still open old images fine)
  • Ability to open / export to NFP format (image format that both nitrogenfingers and Cruor are using in their program)
  • Updated menu screen interface
  • Added ability to change background (transparency) color.
  • Added ability to open image right from command line