Search found 18 matches

by Jaston
Thu Jan 03, 2019 2:12 am
Forum: Support and Development
Topic: 11.1 app randomly crashes when looping an OGG file
Replies: 21
Views: 18205

Re: 11.1 app randomly crashes when looping an OGG file

I gave him code and files via PM. He will be able to reproduce and fix hopefully :)
by Jaston
Wed Jan 02, 2019 10:59 pm
Forum: Support and Development
Topic: 11.1 app randomly crashes when looping an OGG file
Replies: 21
Views: 18205

Re: 11.1 app randomly crashes when looping an OGG file

Ok I figured out more. The more streaming sources you make and play at the same time the faster it crashes :).
You can take the example I made and make it play 30 of those looping sounds and it will crash in a min or less :).
by Jaston
Mon Dec 24, 2018 1:04 pm
Forum: Support and Development
Topic: 11.1 app randomly crashes when looping an OGG file
Replies: 21
Views: 18205

Re: 11.1 app randomly crashes when looping an OGG file

I will try to make one. Issue was in my game which had so many files. All sounds that I had as streaming I changed to static. I havent had a crash since then. Will report back if that is the issue. Note the sounds i had were short clips that i play thousands of times. My game had 3 music tracks that...
by Jaston
Sat Dec 22, 2018 8:17 pm
Forum: Support and Development
Topic: 11.1 app randomly crashes when looping an OGG file
Replies: 21
Views: 18205

Re: 11.1 app randomly crashes when looping an OGG file

Both issues happen to me as well. Crashes love2d and doesnt even leave an error. Using love2D 11.2. My game loops a bunch of ogg and wav files. Static is needed or ilI hear pops. Ok I figured out more. The more streaming sources you make and play at the same time the faster it crashes :). You can ta...
by Jaston
Mon Dec 03, 2018 4:32 am
Forum: Support and Development
Topic: Efficent way to Draw a screenshot as a Background
Replies: 7
Views: 4169

Re: Efficent way to Draw a screenshot as a Background

It worked and is not laggy! For those doing this, make sure you cover the condition where you capture screenshot hasnt finished yet to avoid no object being found.

Also make sure to clear your image to nil before making a new screenshot.

Thank you everyone for your help :)
by Jaston
Wed Nov 28, 2018 7:07 pm
Forum: Support and Development
Topic: Efficent way to Draw a screenshot as a Background
Replies: 7
Views: 4169

Re: Efficent way to Draw a screenshot as a Background

Thank you for the example. I will give it a shot and report back :)
by Jaston
Wed Nov 28, 2018 5:56 pm
Forum: Support and Development
Topic: Efficent way to Draw a screenshot as a Background
Replies: 7
Views: 4169

Re: Efficent way to Draw a screenshot as a Background

Re the call back method, could you show me a code example of that new function and how to get it to return the image data object. Prior to my post I wasnt able to get it to work hence I relied on writing to the file name and reading the image back in. I tried to draw it to a seperate canvas too befo...
by Jaston
Tue Nov 27, 2018 7:34 pm
Forum: Support and Development
Topic: Efficent way to Draw a screenshot as a Background
Replies: 7
Views: 4169

Efficent way to Draw a screenshot as a Background

Hi Everyone, I have game where I want a pause menu to display over my game. So I run render with a dt of 0 to draw my game paused. Then I run draw calls after to display my menu. I use the push library to handle scaling and resizing of my game. Thus after rendering my game the scaling aspects are al...