Search found 25 matches

by Schwender.exe
Mon Oct 04, 2021 7:20 pm
Forum: Support and Development
Topic: Interesting issue with source:setEffect()
Replies: 0
Views: 11181

Interesting issue with source:setEffect()

So, I started trying to apply sounds to a project I'm working on and found a very strange issue of sorts? Essentially what I'm doing is playing a looped stream type audio source and applying reverb to the source depending on if the player is inside or outside. Then, I also have a short source which ...
by Schwender.exe
Tue Sep 28, 2021 6:12 am
Forum: Libraries and Tools
Topic: Lovely-Event: simple but flexible event queue system!
Replies: 0
Views: 13165

Lovely-Event: simple but flexible event queue system!

A small library I wrote up and updated as I went along making projects, first time releasing something on github, so hopefully it's good? but thought I'd share it since I found myself using it within every project nowadays.

Hope you enjoy!

https://github.com/Schwender-exe/Lovely-Event
by Schwender.exe
Sun Jul 07, 2019 2:01 pm
Forum: Support and Development
Topic: Object inheritance
Replies: 26
Views: 12100

Re: Object inheritance

pgimeno wrote: Sat Jul 06, 2019 7:45 pm I don't see a clear distinction between classes and instances in your code. That's not good.
what do you mean exactly by that, I'm somewhat new to object inheritance
by Schwender.exe
Fri Jul 05, 2019 10:38 pm
Forum: Support and Development
Topic: Object inheritance
Replies: 26
Views: 12100

Object inheritance

for a while I hopped over to C# (while trying out unity) and after not enjoying the language and engine, I came back to lua. Ever since then I've been learning to do oop in lua, however one issue I've run into is inheritance, I somewhat solved one half of inheritance with functions and variables car...
by Schwender.exe
Sat Jun 23, 2018 11:42 am
Forum: Support and Development
Topic: Issue with loading levels [solved]
Replies: 10
Views: 7479

Re: Issue with loading levels (read for more info)

You can't *save* to a file inside a .love file. there's got to be some way, it can get the textures fine using love.graphics.newImage(), so it is possible, I just need to figure out how newImage, like any other constructor reads data; that is indeed possible. the fact that it can access parts of a ...
by Schwender.exe
Sat Jun 23, 2018 1:11 am
Forum: Support and Development
Topic: Issue with loading levels [solved]
Replies: 10
Views: 7479

Re: Issue with loading levels (read for more info)

pgimeno wrote: Sat Jun 23, 2018 12:44 am You can't *save* to a file inside a .love file.
there's go to be some way, it can get the textures fine using love.graphics.newImage(), so it is possible, I just need to figure out how
by Schwender.exe
Fri Jun 22, 2018 7:30 pm
Forum: Support and Development
Topic: Issue with loading levels [solved]
Replies: 10
Views: 7479

Re: Issue with loading levels (read for more info)

Then there's another issue in your code. Post an error message. If there is none, reduce your code to a minimal example that reproduces the problem, then post that code. You probably want to use love.filesystem.lines, not love.filesystem.read. for line in assert(love.filesystem.lines(filename)) do ...
by Schwender.exe
Fri Jun 22, 2018 6:47 pm
Forum: Support and Development
Topic: Issue with loading levels [solved]
Replies: 10
Views: 7479

Re: Issue with loading levels (read for more info)

grump wrote: Fri Jun 22, 2018 6:35 pm You can't use io.open for loading files from a love file. Use love.filesystem.read.
I re-wrote it using love.filesystem.read and it still won't load levels when it's within a .love
by Schwender.exe
Fri Jun 22, 2018 6:24 pm
Forum: Support and Development
Topic: Issue with loading levels [solved]
Replies: 10
Views: 7479

Issue with loading levels [solved]

so I made a small level editor which I've been working on for quite some time, it does everything you'd expect one to do, lets you save/load has commands to edit things, etc. However, when trying to make a demo for my game so others could play it, I ran into an issue, when exporting it into a zip an...
by Schwender.exe
Sat Jun 09, 2018 1:20 am
Forum: Support and Development
Topic: strange shader issue [resolved]
Replies: 3
Views: 2380

Re: strange shader issue

It's difficult to say with so little data and nothing that we can play with, but this bit looks suspicious: sin(vertex_position.x + time*2) Unless you have a transform, vertex_position.x is going to increase in very large steps. I think it seems like it works, just because you're picking up a harmo...