Search found 3 matches

by CaptainLK
Sun Jan 06, 2019 10:16 am
Forum: Support and Development
Topic: Win 10 won't download LOVE insists it's a virus - any tricks?
Replies: 8
Views: 7595

Re: Win 10 won't download LOVE insists it's a virus - any tricks?

Have you tried to download the .zip release?
by CaptainLK
Fri Jan 04, 2019 6:28 pm
Forum: Support and Development
Topic: [Solved]i want to make the enemy kill the player but it keeps giving me the error(read below)
Replies: 4
Views: 3237

Re: i want to make the enemy kill the player but it keeps giving me the error(read below)

What this for loop does is iterating over every variable in player: A little example of what you are doing: player = {x = 200,y = 200,Speed = 400, width = 30, height = 50} for i, v in pairs(player) do print(v) end This is what it would output: 200 200 400 30 50 So if you only have a single object th...
by CaptainLK
Wed Jan 02, 2019 1:33 pm
Forum: Support and Development
Topic: How to handle scaling to different resolutions?
Replies: 2
Views: 5779

Re: How to handle scaling to different resolutions?

I'm mostly developing for resolution of 800x600 pixels and later upscaling it like this: function love.load() original_width = 800 original_height = 600 window_width,window_height = love.graphics.getDimensions() window_scale_y = window_height/original_height window_scale_x = window_scale_y window_tr...