Search found 93 matches

by keharriso
Sun Apr 07, 2024 12:18 am
Forum: General
Topic: Lua
Replies: 2
Views: 356

Re: Lua

You need to pass the scale twice, one for X and one for Y:

Code: Select all

love.graphics.draw(PlaImg, posX, posY, rot, tam, tam, ori, ori)
by keharriso
Sun Mar 03, 2024 2:18 pm
Forum: Support and Development
Topic: Can a non-Windows peep test my love file?
Replies: 8
Views: 1498

Re: Can a non-Windows peep test my love file?

For Linux, you can very easily set up a VM to do your testing. Look into installing and hosting Linux on Virtual Box.
by keharriso
Thu Jan 04, 2024 11:08 pm
Forum: Games and Creations
Topic: Just launched Typing Bullets on Steam
Replies: 16
Views: 190578

Re: Just launched Typing Bullets on Steam

If I ever get my game on steam, I'll probably use luasteam - side note, is it possible to test this stuff out without having to pay the submission fee? Probbaly not something I should be wasting my time on yet buuuuuuuut it would be fun to learn how to do achievements and stuff. No, I think you nee...
by keharriso
Thu Jan 04, 2024 12:47 am
Forum: Games and Creations
Topic: Just launched Typing Bullets on Steam
Replies: 16
Views: 190578

Re: Just launched Typing Bullets on Steam

I've had some success in testing with luasteam:
https://github.com/keharriso/luasteam

It's been fairly easy to implement new/missing functions, and I've been adding more as I need them.
by keharriso
Fri Sep 08, 2023 11:48 pm
Forum: Support and Development
Topic: [SOLVED] I tried writing a procedural generation algorithm but it doesn't seem to be working and I'm not sure why
Replies: 3
Views: 1096

Re: I tried writing a procedural generation algorithm but it doesn't seem to be working and I'm not sure why

Look at your getBorderCount function:

Code: Select all

wallCount = wallCount + map[gridX][gridY]
should be:

Code: Select all

wallCount = wallCount + map[a][b]
That way, your smooth function actually works!
by keharriso
Sun Mar 12, 2023 2:14 am
Forum: Support and Development
Topic: [SOLVED] Help with Replacing the alpha value of one texture with another.
Replies: 2
Views: 2061

Re: Help with Replacing the alpha value of one texture with another.

I think you're right about shaders being the way to go. Try this one: local Image = love.graphics.newImage("path/file/texture.png") local Mask = love.graphics.newImage("path/file/mask.png") local MaskShader = love.graphics.newShader[[ uniform Image mask; vec4 effect(vec4 color, I...
by keharriso
Sun Oct 09, 2022 5:54 pm
Forum: Support and Development
Topic: how to draw text in a limited area of the screen
Replies: 8
Views: 3701

Re: how to draw text in a limited area of the screen

can i add parameters for StencilFunction? Maybe try returning a stencil function from a generator? local function generateStencil(x, y, width, height) return function () love.graphics.rectangle("fill", x, y, width, height) end end function love.draw() love.graphics.stencil(generateStencil...
by keharriso
Sat Oct 01, 2022 2:00 pm
Forum: Support and Development
Topic: How to print in to terminal console?
Replies: 9
Views: 4469

Re: How to print in to terminal console?

The project works as expected for me (Windows 10, LOVE 11.4). Have you tried using lovec instead of love? Is that even an option on Mac?