Search found 11 matches

by fmra
Thu Dec 10, 2020 2:06 am
Forum: Support and Development
Topic: Error after trying to package game distribution
Replies: 2
Views: 2444

Re: Error after trying to package game distribution

Thank you. That was it exactly.
by fmra
Wed Dec 09, 2020 3:47 pm
Forum: Support and Development
Topic: Error after trying to package game distribution
Replies: 2
Views: 2444

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...
by fmra
Fri Dec 12, 2014 8:27 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 406
Views: 353024

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 ...
by fmra
Fri Dec 12, 2014 7:55 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 406
Views: 353024

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...
by fmra
Tue Dec 09, 2014 10:37 pm
Forum: Support and Development
Topic: Choosing where imageData:encode saves
Replies: 6
Views: 3758

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...
by fmra
Tue Dec 09, 2014 9:50 pm
Forum: Support and Development
Topic: Choosing where imageData:encode saves
Replies: 6
Views: 3758

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...
by fmra
Tue Sep 09, 2014 7:54 pm
Forum: General
Topic: Checking pixels on a line
Replies: 4
Views: 3192

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...
by fmra
Thu Jan 09, 2014 7:11 pm
Forum: Support and Development
Topic: finding color value of pixel on screen
Replies: 4
Views: 3454

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.
by fmra
Thu Jan 09, 2014 5:18 pm
Forum: Support and Development
Topic: finding color value of pixel on screen
Replies: 4
Views: 3454

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.
by fmra
Fri Nov 29, 2013 10:11 pm
Forum: Support and Development
Topic: getting color value by pixel
Replies: 3
Views: 2597

Re: getting color value by pixel

Fantastic. Thank you