Search found 28 matches
- Sun Mar 07, 2021 9:47 pm
- Forum: Support and Development
- Topic: Trying to get Lua Debug Working on VSCode with Love2D
- Replies: 2
- Views: 4137
Trying to get Lua Debug Working on VSCode with Love2D
I'm trying to get an extension (https://marketplace.visualstudio.com/items?itemName=tomblind.local-lua-debugger-vscode) for vscode to work on Love2D, but no matter what I do it won't seem to work. If I use the recommended version, then I get this error. Error boot.lua:577: Cannot load game at path '...
- Sat Mar 06, 2021 9:49 pm
- Forum: Support and Development
- Topic: Getting Image Data of Image
- Replies: 4
- Views: 3399
Getting Image Data of Image
I've been looking through the love api and I can't seem to find a way to get the ImageData from an image. I know you can replace it with (Image:replacePixels()) and you used to be able to get it with (Image:getData()). Was that feature removed, or is there just something I'm missing?
- Sat Mar 06, 2021 9:16 pm
- Forum: Support and Development
- Topic: Problems with custom shader
- Replies: 2
- Views: 5239
Re: Problems with custom shader
I modified the shader code to get the pixels in-between, yet it still didn't work. It was only when I did "use_palette:setFilter("nearest","nearest",0)" that it worked. Changing the filter for the image did nothing, I just needed to change the filter for the palette.
- Wed Jan 27, 2021 9:20 am
- Forum: Support and Development
- Topic: Problems with custom shader
- Replies: 2
- Views: 5239
Problems with custom shader
I've been trying to make a shader that allows you to use "palettes". First the images that you want to use are converted to images with the r value as the index and g and b as 0. These palettes are images that contain a single pixel of the color to use. Example: (0,0) would be color one wi...
- Wed Sep 05, 2018 4:00 am
- Forum: Support and Development
- Topic: I can't play to game using an old version of Löve
- Replies: 6
- Views: 5979
Re: I can't play to game using an old version of Löve
It's completely normal to not be able to play older games with the newer versions of love. It's because the api changes through the versions. Here's a link to a list of the older versions: https://bitbucket.org/rude/love/downloads/
- Fri May 26, 2017 6:04 am
- Forum: Games and Creations
- Topic: LOVE2D - Dynamic ListBox
- Replies: 4
- Views: 4966
Re: LOVE2D - Dynamic ListBox
One issue I've noticed: moving your cursor too fast while moving the box will cause it to no longer follow. I would recommend that upon grabbing the lower right corner that it causes to follow until the mouse is released.
- Fri May 26, 2017 6:00 am
- Forum: Support and Development
- Topic: Odd Require Path Problems
- Replies: 5
- Views: 4786
Re: Odd Require Path Problems
So modifying package.path=package.path .. "./" .. path .. "/?.lua;" to package.path=package.path .. ";./" .. path .. "/?.lua;" didn't fix the problem. But thanks a lot for all the suggestions, I'm just gonna do something else and not globalize everything. I fo...
- Thu May 25, 2017 7:07 am
- Forum: Support and Development
- Topic: Odd Require Path Problems
- Replies: 5
- Views: 4786
Odd Require Path Problems
For my current project I wanted to stop having to do a bunch of local package_name=require(package_path) in my files so I decided to make my own file inclusion function. However, wonky things keep happening whenever I do the slightest changes. For example, just adding a comment to my lua_extend.lua ...
- Wed Mar 09, 2016 9:40 pm
- Forum: Support and Development
- Topic: SuperToast Bug
- Replies: 1
- Views: 1721
SuperToast Bug
If you scale love 10.0.0 small enough when using the default supertoast no game thing then you get this error: Error nogame.lua:814: attempt to index local 'piece' (a nil value) Traceback nogame.lua:814: in function 'put_text' nogame.lua:824: in function 'init' nogame.lua:35: in function 'Mosiac' no...
- Sun Dec 20, 2015 2:03 am
- Forum: Libraries and Tools
- Topic: [FREE RESOURCE] ASCII font image to love.font
- Replies: 0
- Views: 1779
[FREE RESOURCE] ASCII font image to love.font
When I was working on font for love2d, I decided of using the love2d font system. There was one problem with it; it did not support the ASCII font sheet arrangement! This file converts an ascii image to a custom love2d font, atleast it should. Just comment on this post if you have any issues with it...