Search found 7 matches

by Ethan_Pixelate
Sun Sep 26, 2021 5:21 pm
Forum: Support and Development
Topic: attempt to index out of range sample
Replies: 8
Views: 4968

Re: attempt to index out of range sample

So I tried what you said and it works!!

Thank you so much :D
by Ethan_Pixelate
Sun Sep 26, 2021 3:31 am
Forum: Support and Development
Topic: attempt to index out of range sample
Replies: 8
Views: 4968

Re: attempt to index out of range sample

Yeah, I probably should have done that in the original post, here it is:
by Ethan_Pixelate
Sat Sep 25, 2021 11:43 pm
Forum: Support and Development
Topic: attempt to index out of range sample
Replies: 8
Views: 4968

Re: attempt to index out of range sample

Alright, so I have applied the fixes up to the "local NewDuration = math.floor(Duration*Speed)-1", and the effect actually was successfully applied a couple of times, but then another error on the 3rd time it was used. The reason I didn't fix the rest is because I think I didn't make it cl...
by Ethan_Pixelate
Sat Sep 25, 2021 3:59 am
Forum: Support and Development
Topic: attempt to index out of range sample
Replies: 8
Views: 4968

Re: attempt to index out of range sample

I tried that, but I'm still getting the error, I'm also making sure that I cant go over the limit by having NewDuration be set to whatever *minus* 1, not sure if SampleIndex follows, but as evident by the fix not working, that doesn't seem to be the case either, was worth a shot though.
by Ethan_Pixelate
Sat Sep 25, 2021 2:50 am
Forum: Support and Development
Topic: attempt to index out of range sample
Replies: 8
Views: 4968

attempt to index out of range sample

I am trying to make a function that slows down/speeds up a sound through SoundData, i cant just use Source:setPitch() because i will ultimately be overlaying this SoundData with others and have it exported to wav (Don't ask why, it's a really stupid project, or ask anyways cuz its also really funny)...
by Ethan_Pixelate
Sat Feb 29, 2020 5:03 pm
Forum: Support and Development
Topic: Severe memory leak upon rendering player
Replies: 3
Views: 4734

Re: Severe memory leak upon rendering player

Hi and welcome to the forums. Okay, i had a look, but the project's huge already... While i didn't see any too obvious issues regarding creating tons of löve objects each update (which still might be the case though), i did notice your LoadTileset function creating both ImageDatas *and* Images for ...
by Ethan_Pixelate
Sat Feb 29, 2020 5:53 am
Forum: Support and Development
Topic: Severe memory leak upon rendering player
Replies: 3
Views: 4734

Severe memory leak upon rendering player

OH NO! Its the EVIL Mario sprite OF DOOM! , long story short, rendering mario sprite on my raspberry pi causes mysterious freezing, then find out on windows that its a memory leak, a memory leak so severe that it jumped from around 70MB of ram usage to 4 GB of ram, nearly choking all the free memory...