Search found 1077 matches

by s-ol
Wed Mar 15, 2017 1:22 pm
Forum: Support and Development
Topic: Pixelart - Canvas rendering question
Replies: 19
Views: 11478

Re: Pixelart - Canvas rendering question

So far so good. But I'm not happy with the results. As you can see in the top picture hopefully, "Linear" rendering of the Canvas results in the picture looking rather blurry (antialias I presume). It's not antialiasing, it's texture filtering. If you want to have 'blocky' looking graphic...
by s-ol
Mon Mar 13, 2017 2:42 am
Forum: Support and Development
Topic: Performance - custom draw
Replies: 3
Views: 3260

Re: Performance - custom draw

On the other hand though, if you do the projection math yourself, why not draw regularily and handle that in a vertex shader? That's exactly what it's designed for and you get full hardware acceleration. Hey! Thanks so much for the response. To answer your question - that's because I never really p...
by s-ol
Mon Mar 13, 2017 2:16 am
Forum: Support and Development
Topic: Performance - custom draw
Replies: 3
Views: 3260

Re: Performance - custom draw

Hey, I'm new to LÖVE, but out of all engines I've tried so far, i LOVE(couldn't resist, sorry) this one the most. I have an issue however, I'm starting development of a 2.5D game where Im doing whole projection math myself and therefore I have to draw all the polygons myself too. Currently Im doing...
by s-ol
Fri Mar 10, 2017 9:46 pm
Forum: Support and Development
Topic: Drawing images unaffected by setColor
Replies: 19
Views: 10513

Re: Drawing images unaffected by setColor

I'm a little worried about that 0-1 range change. Why was that changed? Does it bring any particular advantage? Does that mean my 0.10.2 projects won't work on love 0.11 unless I "adapt" them? Also I'm using simple game devkit to export to android, which targets love 0.10.1, would it be o...
by s-ol
Wed Mar 08, 2017 10:56 pm
Forum: Support and Development
Topic: Drawing images unaffected by setColor
Replies: 19
Views: 10513

Re: Drawing images unaffected by setColor

Ancient thread, I know ... but I can't find a clear answer to this: is love.graphics.setColor() supposed to affect love.graphics.draw() ? If so, how? love.graphics.setColor(255, 255, 255, 255) love.graphics.draw(myimage) -- this displays the normally colored image love.graphics.setColor(0, 0, 0, 25...
by s-ol
Sat Mar 04, 2017 1:25 am
Forum: General
Topic: Invitation: Weekly Loop 3
Replies: 1
Views: 1833

Re: Invitation: Weekly Loop 3

I posted a simplified version of my demoloop 'framework' ported to Lua on gist, you can take a look at it here . I feel like it's still a bit overcomplicated though, so I might slim it down further. Anyhow, the streak has started now and the first submissions are in. Here's TannerRogalsky's: https:/...
by s-ol
Thu Mar 02, 2017 11:00 am
Forum: Support and Development
Topic: Unlimited coordinates system / unlimited map
Replies: 4
Views: 2783

Re: Unlimited coordinates system / unlimited map

great! will love.graphics.setScissor be respected impact-wise in terms of not drawing anything else beside the selected rectangle? no, offscreen contents are scissored automatically afaik (the performance difference will be negligible or nonexistent). Whats more important is not trying to draw thin...
by s-ol
Wed Mar 01, 2017 9:26 pm
Forum: Support and Development
Topic: Running a Server Externally
Replies: 18
Views: 10131

Re: Running a Server Externally

Yeah, agreed; and usually, for games, an authoritative server is what you'd want, so my use case isn't that relevant. :P I see no reason why you couldn't have something like "authoritative P2P." The host doesn't need to be playing, it could just host the game and be an authoritative serve...
by s-ol
Wed Mar 01, 2017 8:19 pm
Forum: Support and Development
Topic: Running a Server Externally
Replies: 18
Views: 10131

Re: Running a Server Externally

not really, because the user's routers firewalls won't allow it. actually it's not only about the firewall security thing, but also about mapping ips/ports; when you try to connect to say port 50825 on someone's public IP, the router doesn't know which computer, phone or smart-tv behind it you want...
by s-ol
Wed Mar 01, 2017 5:20 pm
Forum: Support and Development
Topic: Unlimited coordinates system / unlimited map
Replies: 4
Views: 2783

Re: Unlimited coordinates system / unlimited map

This is exactly how probably 90% of maps are drawn (number made up). There is a performance impact if you draw a huge, complicated map of course, but in this case you need to optimize whatever way you do it. If you optimize you can still keep this approach but roughly figure out the range that will ...