You´re right. My code is just uncleaned^^.You really need to add some formatting to that.
Search found 31 matches
- Wed Oct 05, 2011 9:23 am
- Forum: Support and Development
- Topic: Performance questions
- Replies: 41
- Views: 14214
Re: Performance questions
Here´s my project. The .love file didn´t run so i simply zip the project folder. Please draw the project folde on your love.exe
- Wed Oct 05, 2011 7:30 am
- Forum: Support and Development
- Topic: Performance questions
- Replies: 41
- Views: 14214
Re: Performance questions
Ok i attachet my code below.
- Wed Oct 05, 2011 5:18 am
- Forum: Support and Development
- Topic: Performance questions
- Replies: 41
- Views: 14214
Re: Performance questions
My Code has around 2000 Lines. Is that a Problem?
- Tue Oct 04, 2011 10:29 pm
- Forum: Support and Development
- Topic: Performance questions
- Replies: 41
- Views: 14214
Re: Performance questions
Do anyone understand why the program i made do those crazy thinks i wrote in my last posts?^^ I realy don´t know what´s going on. When i do things that should make the code faster, nothing happens. If edit the code in a horrible way, it just runs faster... I don´t understand this world i am livning ...
- Tue Oct 04, 2011 9:40 pm
- Forum: Support and Development
- Topic: Performance questions
- Replies: 41
- Views: 14214
Re: Performance questions
? Now i delete the love.update() loop and the framerate is even higher... I don´t know what´s going on here? First the IMPOSSIBLE results with this: love.update(dt) love.draw() --code end end and now this with HIGHER framerate: love.draw() --code end I think i missunderstand this engine :D I.. I.......
- Tue Oct 04, 2011 9:30 pm
- Forum: Support and Development
- Topic: Performance questions
- Replies: 41
- Views: 14214
Re: Performance questions
but it´s still running with an extrem high rate of FPS ;). And that´s what worth. :D And to my "method" of testing: I only look what looks faster. That´s it. Sure there is a difference between the 2 code structures. But my eye can´t see it ^^. Furthermore i can´t understand why this engine...
- Tue Oct 04, 2011 9:12 pm
- Forum: Support and Development
- Topic: Performance questions
- Replies: 41
- Views: 14214
Re: Performance questions
I tested my Programm on 3 PC´s: 2 Dual Core and 1 Single Core One. I found out that my game runs always very, very smoothie on the 2 dual core pc´s and always bad on the single core. And it made NO difference when i used this code structure: function love.load() --code end function love.update() fun...
- Tue Oct 04, 2011 10:13 am
- Forum: Support and Development
- Topic: Performance questions
- Replies: 41
- Views: 14214
Re: Performance questions
I fixed the Problem. Thanks for your help. I use love.update(dt) and love.draw() seperately now. And it works. At first it was too fast. But now i use love.timer.sleep(10) and the framerate is as i want it. But isn´t the framerate different on every PC? Do i have to edit the love.timer.sleep() numbe...
- Mon Oct 03, 2011 9:50 pm
- Forum: Support and Development
- Topic: Performance questions
- Replies: 41
- Views: 14214
Re: Performance questions
Sorry but that´s realy too much code^^.
Is it possible to run code without the 3 callback functions?
Is it possible to run code without the 3 callback functions?
- Mon Oct 03, 2011 9:34 pm
- Forum: Support and Development
- Topic: Performance questions
- Replies: 41
- Views: 14214
Re: Performance questions
Thanks for your very fast help .
I did it like you said, but it doesn´t work: The screen is black!!!
Is it neccessary to seperate love.update() and love.draw() for better performance?
I did it like you said, but it doesn´t work: The screen is black!!!
Is it neccessary to seperate love.update() and love.draw() for better performance?