draw crud

Show off your games, demos and other (playable) creations.
Post Reply
User avatar
icekiller8002
Prole
Posts: 30
Joined: Mon Jun 06, 2016 9:28 pm
Location: United States
Contact:

draw crud

Post by icekiller8002 » Thu Aug 02, 2018 9:20 pm

i made a short and simple test game that allows you to draw. here are all of the controls:
left click to draw
right click to erase
< (,) and > (.) to decrease/increase brush size
spacebar to toggle color changer
up and down arrows (in color changer) to change to red, green, or blue
left and right arrows (in color changer) to decrease/increase red, green, or blue values
left, right, up, and down arrows (out of color changer) to move the mouse cursor by 1 pixel
backspace to clear all pixels
escape to exit (keep in mind: all drawings are saved when you exit)

please feel free to view the source code, and let me know what you think.
Attachments
Draw Crud.love
(2.81 KiB) Downloaded 26 times

Code: Select all

function love.draw()
  love.graphics.print("obey")
end

Post Reply

Who is online

Users browsing this forum: Pebsie and 1 guest