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 » Sat Aug 15, 2015 1:28 am

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: 879
Joined: Sun Sep 02, 2012 10:46 pm

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

Post by Karai17 » Sat Aug 15, 2015 5:54 am

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: 2717
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 » Sat Aug 15, 2015 10:50 am

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: 85
Joined: Fri Oct 12, 2012 8:43 pm
Location: Poland
Contact:

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

Post by unek » Sat Aug 15, 2015 6:43 pm

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 » Sat Aug 15, 2015 8:24 pm

art

Image
excessive ❤ moé (LÖVE3D, CPML, ...). holo on IRC.

User avatar
Karai17
Party member
Posts: 879
Joined: Sun Sep 02, 2012 10:46 pm

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

Post by Karai17 » Sat Aug 15, 2015 10:02 pm

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: 331
Joined: Wed Oct 30, 2013 8:59 pm

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

Post by alberto_lara » Sat Aug 15, 2015 10:46 pm

Ok, this is something I haven't seen in a lot of time, nice :)
LÖVE Projects: GOOi, Süsse and Katsudö
Thank you for taking the time to read this

User avatar
unek
Citizen
Posts: 85
Joined: Fri Oct 12, 2012 8:43 pm
Location: Poland
Contact:

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

Post by unek » Sat Aug 15, 2015 11:10 pm

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 » Sat Aug 15, 2015 11:43 pm

:cry:

Xugro
Citizen
Posts: 61
Joined: Wed Sep 29, 2010 8:14 pm

Re: PENISDRAW - draw dicks with friends ONLINE!

Post by Xugro » Sun Aug 16, 2015 1:00 am

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: No registered users and 12 guests