Search found 3 matches

by digitalarchitect
Sun Nov 03, 2013 4:33 am
Forum: Support and Development
Topic: Weird outline around objects when using blendmode
Replies: 7
Views: 4604

Re: Weird outline around objects when using blendmode

In the short term I've changed to integer coordinates as szenk suggested. I'll probably continue with this as my graphics are going to be fairly blocky anyway. Thanks for the suggestions about the blend mode though, I'll have a closer look at it tonight. Is 0.9.0 ready to start using or is it still ...
by digitalarchitect
Sat Nov 02, 2013 6:14 am
Forum: Support and Development
Topic: Weird outline around objects when using blendmode
Replies: 7
Views: 4604

Re: Weird outline around objects when using blendmode

A quick update, I have just discovered that it only happens when items have a non-integer x or y. If I use math.floor on the positions before I draw them the effect goes away for the wheat (which is a pixelated image) but not for the bugs or food (which have smooth images). This leads me to believe ...
by digitalarchitect
Sat Nov 02, 2013 5:58 am
Forum: Support and Development
Topic: Weird outline around objects when using blendmode
Replies: 7
Views: 4604

Weird outline around objects when using blendmode

Could someone please help me sort out a weird problem I've been having in my game? I'm fairly new to game development and I've just started messing around with some basic lighting using a second canvas as a lighting mask. I found this post https://love2d.org/forums/viewtopic.php?f=4&t=11990 whic...