Search found 125 matches
- Sat Mar 06, 2021 10:17 pm
- Forum: Support and Development
- Topic: Getting Image Data of Image
- Replies: 4
- Views: 123
Re: Getting Image Data of Image
I guess you talking about https://love2d.org/wiki/(Image):getData If you read the big red warning at the top, you'll see that this function is removed since love 11.0. And like the warning suggests, there is no way to get an ImageData from an Image anymore - instead, you should first create an Imag...
- Wed Feb 24, 2021 7:56 pm
- Forum: Games and Creations
- Topic: Choco-Ball Roll!
- Replies: 1
- Views: 249
Choco-Ball Roll!
This game was made in 3 days for LÖVE Jam 2021.
Can you help the chocolate ball get through 6 challenging chocolatey levels??
https://steveroll.itch.io/choco-ball-roll

Can you help the chocolate ball get through 6 challenging chocolatey levels??
https://steveroll.itch.io/choco-ball-roll

- Wed Feb 24, 2021 7:50 pm
- Forum: Games and Creations
- Topic: A very simple snake game
- Replies: 4
- Views: 1118
Re: A very simple snake game
This game changed my life! Everyone should try it.
- Mon Dec 07, 2020 9:48 pm
- Forum: Games and Creations
- Topic: The Squarehouse
- Replies: 11
- Views: 3968
Re: The Squarehouse
Then you can make multiple audio sources for each laser, and use the setPosition method on them to position them in the same place where they are in the world (Make sure that they are also set to relative ). Then, use love.audio.setPosition to set the position of the listener to where the player cur...
- Sat Dec 05, 2020 6:17 pm
- Forum: Games and Creations
- Topic: The Squarehouse
- Replies: 11
- Views: 3968
Re: The Squarehouse
- snip - Appreciate the suggestions bro. Like I told sphyrth, I the difficulty was intentional. I'll see about changing somethings like the music and some settings though so don't worry about it. I'm just glad you thought it was nice. One issue though with adding sound effects was that LOVE doesn't...
- Sat Nov 28, 2020 10:09 pm
- Forum: Games and Creations
- Topic: The Squarehouse
- Replies: 11
- Views: 3968
Re: The Squarehouse
It is very nice for a first game! I really like the look of the levels. The platforming challanges are very difficult, that and the lack of checkpoints makes for an infuriating (but very rewarding) experience. I especially liked the last part... ;) Like sphyrth said, the camera can be very annoying ...
- Fri Oct 23, 2020 10:37 am
- Forum: Support and Development
- Topic: Using a string with variables such as string = "5a+9b"
- Replies: 3
- Views: 2590
Re: Using a string with variables such as string = "5a+9b"
Yes, this is possible using Lua's loadstring function, although it would require a bit more work with function environments and such...
What exactly do you want to achieve with this?
What exactly do you want to achieve with this?
- Sun Oct 04, 2020 2:21 pm
- Forum: Support and Development
- Topic: How to move a part of a canvas
- Replies: 4
- Views: 1932
Re: How to move a part of a canvas
Then clear the canvas and redraw it, with the image in the new coordinates.
- Sat Aug 22, 2020 8:44 pm
- Forum: General
- Topic: How to get the size of rendered text?
- Replies: 1
- Views: 3167
Re: How to get the size of rendered text?
If you use love.graphics.print You can use Font:getHeight to get the height of a single line, and Font:getWidth together with the text you're printing to get its width (wrapping isn't taken into account). If you use Text objects (recommended) Use Text:getWidth and Text:getHeight .
- Tue Jul 21, 2020 11:26 am
- Forum: Games and Creations
- Topic: H0ard3() Rel0aded - a hectic top-down shooter
- Replies: 5
- Views: 4664
Re: H0ard3() Rel0aded - a hectic top-down shooter
A very fun game! Sadly, I got this error in the middle of gameplay: Error bin/enemies.lua:350: attempt to index a nil value Traceback bin/enemies.lua:350: in function 'getClosestEnemyDist' bin/enemies.lua:317: in function 'updateEnemies' main.lua:170: in function 'update' [C]: in function 'xpcall'