mirror of
https://gitea.com/SweetSea-ButImNotSweet/tromi_mobile.git
synced 2025-01-08 17:33:09 +08:00
Add README file
This commit is contained in:
14
main.lua
14
main.lua
@@ -102,14 +102,14 @@ function love.draw()
|
||||
-- love.graphics.line(0, grid_height * iy, 640, grid_height * iy)
|
||||
-- end
|
||||
|
||||
local x, y = GLOBAL_TRANSFORM:inverseTransformPoint(love.mouse.getPosition())
|
||||
love.graphics.setColor(0, 0, 0, 0.8)
|
||||
love.graphics.rectangle("fill", 5, 450, 115, 25)
|
||||
drawText(string.format("X: %.1d; Y: %.1d", x, y), 10, 455, 110, "left")
|
||||
-- local x, y = GLOBAL_TRANSFORM:inverseTransformPoint(love.mouse.getPosition())
|
||||
-- love.graphics.setColor(0, 0, 0, 0.8)
|
||||
-- love.graphics.rectangle("fill", 5, 450, 115, 25)
|
||||
-- drawText(string.format("X: %.1d; Y: %.1d", x, y), 10, 455, 110, "left")
|
||||
|
||||
love.graphics.setColor(1, 1, 1, 1)
|
||||
love.graphics.setLineWidth(2)
|
||||
love.graphics.rectangle("line", 0, 0, 640, 480)
|
||||
-- love.graphics.setColor(1, 1, 1, 1)
|
||||
-- love.graphics.setLineWidth(2)
|
||||
-- love.graphics.rectangle("line", 0, 0, 640, 480)
|
||||
|
||||
love.graphics.pop()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user