Search found 13 matches

by Nine Iron
Mon Nov 23, 2020 8:46 pm
Forum: Support and Development
Topic: Need help with rendering player from spritesheet correctly
Replies: 3
Views: 3642

Re: Need help with rendering player from spritesheet correctly

You're scaling your image on the x axis by the image width when you're calling the new quad.
by Nine Iron
Thu Oct 15, 2020 12:55 am
Forum: Support and Development
Topic: Created .exe, when running .exe error unable to load audio file
Replies: 26
Views: 12673

Re: Created .exe, when running .exe error unable to load audio file

@Nine Iron, do you think you can trim down your project to a point where the problem is still reproducible, but you're comfortable with sharing it? That is, removing everything after (including love.draw, love.update and so on, and maybe replacing some required modules with empty files, and the ass...
by Nine Iron
Mon Oct 12, 2020 10:52 pm
Forum: Support and Development
Topic: Created .exe, when running .exe error unable to load audio file
Replies: 26
Views: 12673

Re: Created .exe, when running .exe error unable to load audio file

Does the audio system exist at the point where the 'newSource' function gets called? Regarding the timeline of events, is the sound loading at least invoked from within love.load() or later? I would be concerned with using LÖVE's systems/API at any point before love.load() is called. Later than tha...
by Nine Iron
Mon Oct 12, 2020 2:29 am
Forum: Support and Development
Topic: Created .exe, when running .exe error unable to load audio file
Replies: 26
Views: 12673

Re: Created .exe, when running .exe error unable to load audio file

function requireFiles(files)
for _, file in ipairs(files) do
local file = file:sub(1, -5)
require(file)
end
end

I have the program run through a few folders containing .lua files and it saves me from adding all the requires in main.lua.
by Nine Iron
Sun Oct 11, 2020 2:37 am
Forum: Support and Development
Topic: Created .exe, when running .exe error unable to load audio file
Replies: 26
Views: 12673

Re: Created .exe, when running .exe error unable to load audio file

I appreciate the help. I had all the dlls from the zip file with the exe.

I ended up just removing the sound.lua file from the folder it was in and setting it with main.lua. It runs now.
by Nine Iron
Sun Oct 11, 2020 1:05 am
Forum: Support and Development
Topic: Created .exe, when running .exe error unable to load audio file
Replies: 26
Views: 12673

Re: Created .exe, when running .exe error unable to load audio file

sFile = love.audio.newSource("subfolder/casecorrectfilename.ogg", "static")
by Nine Iron
Sat Oct 10, 2020 4:05 pm
Forum: Support and Development
Topic: Created .exe, when running .exe error unable to load audio file
Replies: 26
Views: 12673

Re: Created .exe, when running .exe error unable to load audio file

It looks like the issue with my font was due to letter case. I corrected that, uncommented my font calls and created another exe. After creating the exe I moved my .love file to my desktop. The .love still runs outside of my project folder and outside of the love folder. When creating the exe, my lo...
by Nine Iron
Sat Oct 10, 2020 6:19 am
Forum: Support and Development
Topic: Created .exe, when running .exe error unable to load audio file
Replies: 26
Views: 12673

Re: Created .exe, when running .exe error unable to load audio file

As far as the fusion, cmd says 1 file copied, no error. I can run the .love file just fine though. I run cmd with admin, cd to program files\love. I commented out the font mentions and now I get the original error for my sound file. It's not able to find the assets. It runs just fine, or at least lo...