From cc2bcc08c50bc0aa2edcccc6233e321f6ddc0c90 Mon Sep 17 00:00:00 2001 From: Matthew Ryan Dillon <matthew@akdillon.net> Date: Sun, 29 Dec 2024 21:37:13 -0500 Subject: [PATCH] monochrome --- main.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/main.lua b/main.lua index 85786a8..19fad86 100644 --- a/main.lua +++ b/main.lua @@ -4,7 +4,7 @@ function love.load() fov = 30 - love.graphics.setBackgroundColor(0.3, 0.3, 0.3, 1) + love.graphics.setBackgroundColor(0, 0, 0, 1) love.window.setMode(1024, 512) player = {} @@ -91,7 +91,7 @@ function love.draw() end function drawPlayer() - love.graphics.setColor(1, 1, 0) + love.graphics.setColor(1, 1, 1) love.graphics.rectangle("fill", player.x - player.size / 2, player.y - player.size / 2, player.size, player.size @@ -229,16 +229,15 @@ function drawRays3D() ray.x = vx ray.y = vy disT = disV - love.graphics.setColor(0.9, 0, 0) end if disH < disV then ray.x = hx ray.y = hy disT = disH - love.graphics.setColor(0.7, 0, 0) end + love.graphics.setColor(1, 1, 1) love.graphics.setLineWidth(1) love.graphics.line( player.x, player.y,