Jump to content




Textpaint - A better Paint Program


  • You cannot reply to this topic
6 replies to this topic

#1 Wilma456

  • Members
  • 187 posts
  • LocationGermany

Posted 27 July 2017 - 12:15 PM

This is a simple Paint program for .nft files! You can use it like the normal Paint!Just rightclick a position to set the the Cursor and write Text!

Download:
wget https://raw.githubus...s/textpaint.lua textpaint
Or with Packman

Screenshot


#2 The Crazy Phoenix

  • Members
  • 136 posts
  • LocationProbably within 2 metres of my laptop.

Posted 27 July 2017 - 12:41 PM

Why would we use this over the CraftOS paint program?

#3 Wilma456

  • Members
  • 187 posts
  • LocationGermany

Posted 27 July 2017 - 12:47 PM

You can write text and it use .nft files. With the normale Paint program it's not possible to write text in the picture.

#4 LDDestroier

  • Members
  • 1,095 posts
  • LocationACDC Town

Posted 14 August 2017 - 05:38 AM

I gotta figure out how to get my PAIN to export to NFT. Then I would be happy. The current format it uses is pretty garbage. Could you take a look at my code and help me out with that?

Edited by EldidiStroyrr, 14 August 2017 - 05:42 AM.


#5 Wilma456

  • Members
  • 187 posts
  • LocationGermany

Posted 14 August 2017 - 10:37 PM

You have a PM

#6 Wilma456

  • Members
  • 187 posts
  • LocationGermany

Posted 20 August 2017 - 05:35 PM

I have made a Update:
-The chosen Colour is now shown
-You can navigate with the arrow Keys
-Fixed Bugs

#7 Pyuu

  • Members
  • 203 posts

Posted 21 August 2017 - 12:29 AM

I saw the program, and I had a couple inefficient things bug me.

Just for efficient programming, here is what I'd recommend:
local hexStr = "0123456789abcdef"
local tColors = {}
local tHex = {}
for i=1, 16 do
  tColors[i]=hexStr:sub(i,i)
  tHex[hexStr:sub(i,i)]=2^(i-1)
end

Don't mind me though, it's just a nitpicky thing. :)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users