Search found 105 matches

by steVeRoll
Fri Jan 24, 2020 6:37 am
Forum: Support and Development
Topic: love.keypressed not working as expected.
Replies: 2
Views: 280

Re: love.keypressed not working as expected.

Hi and welcome to the forums!
The love.keypressed which is at line 90 seems to work correctly, but you are overwriting it with an empty love.keypressed on line 189. Removing it seems to have fixed the issue.
by steVeRoll
Wed Dec 18, 2019 2:13 pm
Forum: Support and Development
Topic: Love resize error
Replies: 1
Views: 1072

Re: Love resize error

Unfortunately, due to how love works, it is impossible to run code while the window is being resized. love only has a "resize" callback, which is called as soon as you finish resizing.
by steVeRoll
Sat Dec 07, 2019 8:36 pm
Forum: Support and Development
Topic: setRequirePath() correct usage
Replies: 3
Views: 1177

Re: setRequirePath() correct usage

Hi and welcome! setRequirePath is not needed to do this - indeed, you can make this work by modifying package.path, albeit a little different than what you wrote. package.path is a string that contains paths separated by a ';'. When you call require, Lua will go through each one of those paths, repl...
by steVeRoll
Tue Sep 10, 2019 7:36 pm
Forum: General
Topic: problem with offset or something else idk help please?
Replies: 2
Views: 1280

Re: problem with offset or something else idk help please?

Hi and welcome to the forums!
It seems there was a problem when you uploaded the file. I only see the attachment's name, but not the file itself.
Could you try uploading the file again? We will be able to help you if you send your code.
by steVeRoll
Mon Jul 29, 2019 1:07 pm
Forum: Games and Creations
Topic: Three Doors
Replies: 11
Views: 4079

Re: Three Doors

A very interesting game, I had fun solving it.
But as sphyrth points out, you have to make the game compatible with monitors of different sizes.
by steVeRoll
Sun Jul 28, 2019 10:13 am
Forum: Games and Creations
Topic: Connection puzzle
Replies: 4
Views: 2200

Re: Connection puzzle

I didn't actually invent this puzzle, in 7th grade it was given to us as a challenge in math class. I don't know who came up with this puzzle, but the papers we got were created with logic and reasoning behind them. With this I just came up with a way to generate a new puzzle every time, I didn't th...
by steVeRoll
Sat Jul 27, 2019 8:22 pm
Forum: Games and Creations
Topic: Connection puzzle
Replies: 4
Views: 2200

Connection puzzle

A very simple puzzle game.
There is a board with circles on it, you can connect circles to their eight neighbors. To complete the puzzle, every circle must have as many connections as the number on it says. Connections cannot cross each other.
sun puzzle.png
sun puzzle.png (46.83 KiB) Viewed 2199 times
by steVeRoll
Wed Jun 26, 2019 10:44 am
Forum: Games and Creations
Topic: Atari2600-like game
Replies: 3
Views: 3547

Re: Atari2600-like game

Very nice! I'd recommend you use

Code: Select all

love.graphics.setDefaultFilter("nearest", "nearest")
to make the images look more sharp.
by steVeRoll
Fri May 10, 2019 5:31 pm
Forum: Support and Development
Topic: Slash in parenthesis [SOLVED]
Replies: 2
Views: 841

Re: Slash in parenthesis

I don't see anything wrong with the code you posted. Other than the useless concatenation of '1' and '/'.
by steVeRoll
Fri Apr 19, 2019 9:01 am
Forum: General
Topic: A hot potato
Replies: 4
Views: 9043

Re: A hot potato

From what I can gather, you put the player's movement code inside of love.keypressed, which is only called when a key is pressed. Instead, put the movement code in love.update, and check if a key is pressed using love.keyboard.isDown.