Search found 11 matches
- Thu Dec 10, 2020 2:06 am
- Forum: Support and Development
- Topic: Error after trying to package game distribution
- Replies: 2
- Views: 2506
Re: Error after trying to package game distribution
Thank you. That was it exactly.
- Wed Dec 09, 2020 3:47 pm
- Forum: Support and Development
- Topic: Error after trying to package game distribution
- Replies: 2
- Views: 2506
Error after trying to package game distribution
game.love I created the .love file and fused it to love.exe and have the DLLs, but when I try to run the new .exe, I get an error that the music file does not exist. Its in the right folder within the game.love, and the code isn't throwing an error until it attempts to play it (it loads it just fin...
- Fri Dec 12, 2014 8:27 pm
- Forum: Libraries and Tools
- Topic: Löve Frames - A GUI Library
- Replies: 406
- Views: 371412
Re: Löve Frames - A GUI Library
oObjectName = loveframes.Create("___") Since the objects are all created by the time it checks and are all listed in the table I'm referencing by these names, I thought it should work. I'm hoping to be able to compare the string name for the object, retrieved by :GetHoverObject(), and the ...
- Fri Dec 12, 2014 7:55 pm
- Forum: Libraries and Tools
- Topic: Löve Frames - A GUI Library
- Replies: 406
- Views: 371412
Re: Löve Frames - A GUI Library
I'm trying to retrieve the name of an object using GetHoverObject, but having iterated through the table it returns, the names I gave the objects do not exist. Closest I get is "instance of class loveframes_object_imagebutton" or similar. I'm trying to retrieve the name to match it against...
- Tue Dec 09, 2014 10:37 pm
- Forum: Support and Development
- Topic: Choosing where imageData:encode saves
- Replies: 6
- Views: 3858
Re: Choosing where imageData:encode saves
Not bad news, since I'm not writing it to be mobile or mac, just Windows. As you said, setIdentity only changes the cosmetic name of the folder in %AppData%, so it of no use. I'm writing a small, very specific, database tool and I'm trying to get it to export generated graphs and charts as PNG image...
- Tue Dec 09, 2014 9:50 pm
- Forum: Support and Development
- Topic: Choosing where imageData:encode saves
- Replies: 6
- Views: 3858
Choosing where imageData:encode saves
Is there a way to do this? I dislike the love.filesystem restrictions, so I use lua io for file placement, but I can't figure out how to control the save location for pictures exported with imageData:encode, or if there is a way to do it. Is there another way to export png images, a library or metho...
- Tue Sep 09, 2014 7:54 pm
- Forum: General
- Topic: Checking pixels on a line
- Replies: 4
- Views: 3292
Checking pixels on a line
I'm working on a pathfinding routine and am trying to do something similar to raycasting to to have an agent look ahead to the goal and see if it is clear or obstructed. I've successfully been using a matched imagedata to check for object collision using img:getPixel. I'm wondering if there is a way...
- Thu Jan 09, 2014 7:11 pm
- Forum: Support and Development
- Topic: finding color value of pixel on screen
- Replies: 4
- Views: 3610
Re: finding color value of pixel on screen
yeah, I think I came up with a work around. I created a new table that tallies the x position for each pixel and alters the equations for pixel movement. Insincere, but visually identical to what I was trying to do. Thank you everyone.
- Thu Jan 09, 2014 5:18 pm
- Forum: Support and Development
- Topic: finding color value of pixel on screen
- Replies: 4
- Views: 3610
finding color value of pixel on screen
Is it possible to check the color values of a pixel at x,y on the screen? I have a table with a list of pixels I'm moving around, but I'd like to be able to check unmapped areas of the screen for pixels without nesting iterators.
- Fri Nov 29, 2013 10:11 pm
- Forum: Support and Development
- Topic: getting color value by pixel
- Replies: 3
- Views: 2696
Re: getting color value by pixel
Fantastic. Thank you