Search found 48 matches

by zingo
Wed Jul 26, 2023 11:23 pm
Forum: Support and Development
Topic: Can we do animations without using setViewport in Love2d?
Replies: 4
Views: 7866

Re: Can we do animations without using setViewport in Love2d?

I've never seen an issue with the way animations are usually done in Love2d and Lua. Actually, I wasn't even aware of "setViewport"...or in what sort of instance one would use that regarding animations.
by zingo
Wed Jul 26, 2023 10:56 pm
Forum: Support and Development
Topic: basic "blended" shadows on multiple layers
Replies: 9
Views: 6131

Re: basic "blended" shadows on multiple layers

Thank you very much Ross, that is precisely the effect I was going for, lovely. I'll probably make a function for setting/updated the canvases and such, just to keep things more tidy. Again, many thanks to everyone.
by zingo
Wed Jul 26, 2023 9:52 pm
Forum: Support and Development
Topic: Color blending help
Replies: 6
Views: 9061

Re: Color blending help

To render a sprite darker, but without any transparency, I think you could just set the red, green, and blue values before you draw whatever you want to draw, and then reset the color back to normal. If you don't want your sprites to be "see through", then there's no need to mess with alph...
by zingo
Mon Jul 24, 2023 10:03 pm
Forum: Support and Development
Topic: Trying to make platformer from scratch, how do I keep my player falling when it collides on the side?
Replies: 3
Views: 1096

Re: Trying to make platformer from scratch, how do I keep my player falling when it collides on the side?

Personally, I'm going to use "box2d" for my physics because it's already available in Love2d and does most of the work. However, for a nice tutorial on getting started with a simple platformer, you could check out https://sheepolution.com/learn/book/24 and maybe get some ideas. Also, attac...
by zingo
Fri Jul 21, 2023 12:27 am
Forum: Support and Development
Topic: basic "blended" shadows on multiple layers
Replies: 9
Views: 6131

Re: basic "blended" shadows on multiple layers

Thank you, everyone :) With your suggestions I (more or less) achieved the effect I was going for. However, I ended up having to use a second canvas and a sprite mask in order to properly draw shadows that appear directly on top of the sphere. Attached is the updated version. Any ideas for a better ...
by zingo
Thu Jul 20, 2023 12:12 am
Forum: Support and Development
Topic: basic "blended" shadows on multiple layers
Replies: 9
Views: 6131

Re: basic "blended" shadows on multiple layers

Alright, so I hope this little image illustrates things a bit. The "cloud" shadow is drawn above both the sphere and the sphere's shadow. What I'd like, is to have the "shadow" sprites -regardless of which order they are drawn- to be blended "equally"...which is to say,...
by zingo
Wed Jul 19, 2023 10:31 pm
Forum: Support and Development
Topic: basic "blended" shadows on multiple layers
Replies: 9
Views: 6131

Re: basic "blended" shadows on multiple layers

I had a look at your .love and through the code and to be honest I'm finding it hard to visualise what it is you're looking for. If you could put together a mock-up showing how you imagine the effect would work it might help show what you mean. :) No problem, when I have a bit more time I'll make a...
by zingo
Wed Jul 19, 2023 3:24 am
Forum: Support and Development
Topic: basic "blended" shadows on multiple layers
Replies: 9
Views: 6131

basic "blended" shadows on multiple layers

I've not had much luck with "special fx" or "post-processing" stuff, and shaders are still mostly a complete mystery to me. That said, after perusing the stencil, canvas, and blendmode entries in the wiki, I did manage to cobble together something for simple sprite based "bl...
by zingo
Tue Jul 18, 2023 11:51 pm
Forum: General
Topic: Is Love2D really for me?
Replies: 21
Views: 30764

Re: Is Love2D really for me?

A game is more or less just a collection of problems, each requiring some sort of solution, and Love2d has helped me understand just how much is going on "behind the scenes" in even a very basic game. Even if you keen more to frameworks, it's always good idea to use/check engines from tim...
by zingo
Tue Jul 18, 2023 10:23 pm
Forum: General
Topic: Is Love2D really for me?
Replies: 21
Views: 30764

Re: Is Love2D really for me?

Everyone else has already given some good takes, but why not throw mine in too: Try other engines for a bit. The reason I chose to use Love is because I sat down with over half a dozen different assorted engines and frameworks, gave each one a week of my time, then decided which I felt most product...