Search found 3550 matches

by pgimeno
Mon Apr 16, 2018 11:03 am
Forum: Support and Development
Topic: 11 version setColor BUG
Replies: 10
Views: 5948

Re: 11 version setColor BUG

You can use a shader. I gave an example here: viewtopic.php?f=3&t=85051&start=80#p219902
by pgimeno
Mon Apr 16, 2018 10:52 am
Forum: Support and Development
Topic: Make a platform in a 2D platformer
Replies: 6
Views: 5162

Re: Make a platform in a 2D platformer

Ok, sorry for the late answer but I don't understand why I don't have the notifications... No worries. You only get notifications if you're quoted. I've quoted you now so you get one :) You can also subscribe to the thread if you want to receive notifications by email when someone posts, regardless...
by pgimeno
Sat Apr 14, 2018 9:29 pm
Forum: Support and Development
Topic: Make a platform in a 2D platformer
Replies: 6
Views: 5162

Re: Make a platform in a 2D platformer

Well, you can try to do tricks so that it more or less looks like physically accurate, which seems to be what you're trying to do. Or you can have something that more accurately resembles actual physics. Or you can use a physics engine (like love.physics, which uses Box2D internally) and let it hand...
by pgimeno
Sat Apr 14, 2018 6:45 pm
Forum: Support and Development
Topic: Virtual Resolution Management
Replies: 5
Views: 3709

Re: Virtual Resolution Management

Ah, I could see it by taking a snapshot. Thanks, ReFreezed. Indeed it looks like a rounding problem. That triangle is most likely the dividing line between the upper and the lower triangle of the quad (rectangles are drawn as two triangles). I guess the main problem is the 50% part of the 250%. Roun...
by pgimeno
Fri Apr 13, 2018 9:42 pm
Forum: Games and Creations
Topic: Dark Wish is coming soon
Replies: 16
Views: 9640

Re: Dark Wish is coming soon

As for direct X, I literally lifted this from SDL because 'SDL 1.2 requires DirectX 7' ? I think I've just been overly cautious with the dx versions, because there isn't much info on this what what I've seen. I would clarify that DirectX is only required in Windows. As a Linux user, stating that it...
by pgimeno
Fri Apr 13, 2018 3:57 pm
Forum: Support and Development
Topic: Virtual Resolution Management
Replies: 5
Views: 3709

Re: Virtual Resolution Management

I can't see any glitch.
by pgimeno
Thu Apr 12, 2018 7:58 pm
Forum: Support and Development
Topic: Is there an effective way to cut down lag?
Replies: 26
Views: 18401

Re: Is there an effective way to cut down lag?

To clarify, I'm not the OP and I didn't write the game that was posted in the thread. I just posted this example: I know, I was replying to your post though. Oh, then I don't understand what you mean here: I just took a peek at the included resources. I suspect you're drawing lots of different imag...
by pgimeno
Thu Apr 12, 2018 10:59 am
Forum: General
Topic: LÖVE 11.0 released!
Replies: 98
Views: 109942

Re: LÖVE 11.0 released!

Also don't forget getColor.
by pgimeno
Wed Apr 11, 2018 11:34 pm
Forum: Support and Development
Topic: Is there an effective way to cut down lag?
Replies: 26
Views: 18401

Re: Is there an effective way to cut down lag?

The similar performance with 0.10 and 11.0 in the example I posted suggests that either auto-batching is inactive by default, or that the bottleneck is something else (e.g. total amount of pixels changed/rewritten). I just took a peek at the included resources. I suspect you're drawing lots of diff...
by pgimeno
Wed Apr 11, 2018 4:15 pm
Forum: Support and Development
Topic: Dealing with new 0-1 color range
Replies: 13
Views: 11331

Re: Dealing with new 0-1 color range

or if you prefer to just convert the value to whole numbers again: function WHY(float) return math.floor(float*255) end I'd recommend this approach but adding rounding (just in case default rounding falls short of an integer by just a tiny bit during the conversions). function WHY(float) return mat...