Search found 29 matches

by msilvestro
Sat Dec 26, 2015 8:26 pm
Forum: General
Topic: LÖVE 0.10.0 released
Replies: 86
Views: 79040

Re: LÖVE 0.10.0 released

You are awesome! Didn't expected Android and iOS ports to be officially supported! Hope to see, in a not so distant future, an official support for Windows Phone/Mobile too!
by msilvestro
Mon Oct 05, 2015 8:34 pm
Forum: Support and Development
Topic: Wrong size font
Replies: 4
Views: 2875

Re: Wrong size font

It seems the correct display size for that specific font is actually 13pt, 26pt, 39pt, etc... Try 13pt and 26pt and they display correctly. Oh yes, this is working! Sorry, it was probably a dumb question... I should have tried! Just curious, how did you noticed that? No problem. It's a pretty commo...
by msilvestro
Mon Oct 05, 2015 8:22 pm
Forum: Support and Development
Topic: Wrong size font
Replies: 4
Views: 2875

Re: Wrong size font

BOT-Brad wrote:It seems the correct display size for that specific font is actually 13pt, 26pt, 39pt, etc...

Try 13pt and 26pt and they display correctly.
Oh yes, this is working! Sorry, it was probably a dumb question... I should have tried!
Just curious, how did you noticed that?
by msilvestro
Mon Oct 05, 2015 8:19 pm
Forum: Ports
Topic: LöveFTW - preview release
Replies: 81
Views: 199471

Re: LöveFTW - preview release

This is awesome! I didn't know there was a Windows devices port, it's wonderful!
And by the way, great name! I'll try soon enough on my WP!
by msilvestro
Mon Oct 05, 2015 8:01 pm
Forum: Support and Development
Topic: Wrong size font
Replies: 4
Views: 2875

Wrong size font

Screenshot (15).png As you see above, this font is not scaled correctly. I can't understand, since at size 12 is perfectly pixelated, but at 24 (it's a power of 2, I suppose that should be ok) it is displayed wrong. All you see is all the code I got, the love file is also attached. What can I do? W...
by msilvestro
Mon Sep 21, 2015 10:01 am
Forum: Support and Development
Topic: Running a heavy lua script in Love
Replies: 12
Views: 4893

Re: Running a heavy lua script in Love

Just make sure to not make the coroutine yield run too often because it can actually slow things down. Think of it this way. Yielding once might actually take slightly more time than it would to do a few hundred or thousand loops of your for loop. So play around with the timer that counts down to t...
by msilvestro
Fri Sep 18, 2015 2:02 pm
Forum: Support and Development
Topic: [SOLVED] Trivia Game Engine
Replies: 19
Views: 7719

Re: Trivia Game Engine

My two cents here. In my opinion, the problem is that you call that function inside the love.draw . You should not, since the love.draw . function is called by the main game loop a lot of times every second, so it's normal that is "spams" numbers like this. So, you should select a random q...
by msilvestro
Fri Sep 18, 2015 1:45 pm
Forum: Support and Development
Topic: Running a heavy lua script in Love
Replies: 12
Views: 4893

Re: Running a heavy lua script in Love

Just out of curiosity: what does your script do, and why do you think it takes 10 seconds to run it? The "heavy script" is an artificial intelligence based on MCTS ( http://mcts.ai/ ). I give, as input, the number of iterations it must do (the more iteration the more accurate are the game...
by msilvestro
Fri Sep 18, 2015 12:16 pm
Forum: Support and Development
Topic: Running a heavy lua script in Love
Replies: 12
Views: 4893

Re: Running a heavy lua script in Love

Nevermind, I managed to work it out. Following the hint from Jasoco: You can also use coroutines as well if threads are too difficult. I read well the chapter in PiL about coroutines and search a bit on the Internet and I made it. May try to make a little tutorial since, as for me, it's not very cle...
by msilvestro
Fri Sep 18, 2015 9:55 am
Forum: Support and Development
Topic: Running a heavy lua script in Love
Replies: 12
Views: 4893

Re: Running a heavy lua script in Love

If translating your objects to a flat table is difficult, you probably need to rethink your structuring. Probably you're right, even if I find a bit difficult to understand what exactly means "rethink your structuring". I know I'm quite a noob, can you point me some examples, if any? I ne...