paintonline - online paint (for painting online)

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
shakesoda
Citizen
Posts: 78
Joined: Thu Sep 25, 2014 11:57 am
Location: Seattle, WA
Contact:

Re: PENISDRAW 2 - draw dicks with friends ONLINE! (UPDATED)

Post by shakesoda »

so meta

Image

I wonder who is even online this is great

edit: mystery solved, see op
excessive ❤ moé (LÖVE3D, CPML, ...). holo on IRC.
User avatar
Karai17
Party member
Posts: 930
Joined: Sun Sep 02, 2012 10:46 pm

Re: PENISDRAW 2 - draw dicks with friends ONLINE! (UPDATED)

Post by Karai17 »

Image

This gun is amazing. You're all amazing. What a night.
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+

Dev Blog | GitHub | excessive ❤ moé
User avatar
zorg
Party member
Posts: 3444
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: PENISDRAW 2 - draw dicks with friends ONLINE! (UPDATE #9

Post by zorg »

Had fun drawing; if i had time, i'd try to implement both alpha and blendmode support... but hey, this is already better than flockdraw at least :D
Image
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
User avatar
unek
Citizen
Posts: 86
Joined: Fri Oct 12, 2012 8:43 pm
Location: Poland
Contact:

Re: PENISDRAW 2 - draw dicks with friends ONLINE! (UPDATE #9

Post by unek »

Another update!
  • resized the canvas to 1024x768
  • cursor is now local
  • accidentally broke older clients
  • server is now less permissive
  • variable max/min brush/text sizes via server rules
  • clipboard support
  • ctrl+backspace works
DRAW DRAW - online painting app CLICK NUMBERS - cool game with numbers THEME LOVEFRAMES - a collection of my themes HOST FOR FREE - free hosting for online LOVE games STALK PEOPLE - a map of LOVE users
User avatar
shakesoda
Citizen
Posts: 78
Joined: Thu Sep 25, 2014 11:57 am
Location: Seattle, WA
Contact:

Re: PENISDRAW 2 - draw dicks with friends ONLINE! (UPDATE #9

Post by shakesoda »

art

Image
excessive ❤ moé (LÖVE3D, CPML, ...). holo on IRC.
User avatar
Karai17
Party member
Posts: 930
Joined: Sun Sep 02, 2012 10:46 pm

Re: PENISDRAW 2 - draw dicks with friends ONLINE! (UPDATE #1

Post by Karai17 »

Image

lolololololol
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+

Dev Blog | GitHub | excessive ❤ moé
User avatar
alberto_lara
Party member
Posts: 372
Joined: Wed Oct 30, 2013 8:59 pm

Re: PENISDRAW 2 - draw dicks with friends ONLINE! (UPDATE #1

Post by alberto_lara »

Ok, this is something I haven't seen in a lot of time, nice :)
User avatar
unek
Citizen
Posts: 86
Joined: Fri Oct 12, 2012 8:43 pm
Location: Poland
Contact:

Re: PENISDRAW 2 - draw dicks with friends ONLINE! (UPDATE #1

Post by unek »

Image
thanks guys
DRAW DRAW - online painting app CLICK NUMBERS - cool game with numbers THEME LOVEFRAMES - a collection of my themes HOST FOR FREE - free hosting for online LOVE games STALK PEOPLE - a map of LOVE users
User avatar
Kasperelo
Party member
Posts: 343
Joined: Fri Apr 13, 2012 1:47 pm
Location: The Milky Way

Re: PENISDRAW 2 - draw dicks with friends ONLINE! (UPDATE #1

Post by Kasperelo »

:cry:
Xugro
Party member
Posts: 110
Joined: Wed Sep 29, 2010 8:14 pm

Re: PENISDRAW - draw dicks with friends ONLINE!

Post by Xugro »

unek wrote:my request: please share your custom stuff for automated drawing if you made something cool
Here is my code for pasting images. Works with Version 2. Just add this to the love.keypressed function.

Code: Select all

    if (not text and key=='p') then
      local saved_color = current_color
      current_width = math.max(current_width, 2) -- does not work with line_width of 1 - I don't know why.
      local pic = love.image.newImageData("pic.png")
      
      -- the top left of the picture is below the cursor
      local x_off = love.mouse.getX()
      local y_off = love.mouse.getY()
      
      -- unek wanted us to limit pictures to 150 lines max.
      local x_max = math.min(pic:getWidth()-1, 150)
      local y_max = math.min(pic:getHeight()-1, 150)
      
      for x = 0, x_max do
        for y = 0, y_max do
          r, g, b, a = pic:getPixel(x, y)
          -- exclude transparent pixels
          if a~=0 then
            line = {}
            current_color = {r, g, b}
            table.insert(line, x_off+current_width*x)
            table.insert(line, y_off+current_width*y)
            table.insert(line, x_off+current_width*x)
            table.insert(line, y_off+current_width*y)
            send_data(serialize_line(line))
          end
        end
      end
      
      -- reset color
      current_color = saved_color
      -- reset line
      line = {love.mouse.getX(), love.mouse.getY()}
    end
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 225 guests