Search found 28 matches

by JJSax
Wed Oct 30, 2019 5:59 pm
Forum: Support and Development
Topic: Independent Particle Colors
Replies: 11
Views: 3073

Re: Independent Particle Colors

Why dont you just make a table that holds all the confetti particles, update all of them for things like movement of the confetti particles and then draw all of them using a SpriteBatch, setting thier individual colors with SpriteBatch:setColor( r, g, b, a )? You mean something like creating a tabl...
by JJSax
Tue Oct 29, 2019 4:15 pm
Forum: Support and Development
Topic: Monochrome LCD shader?
Replies: 7
Views: 1485

Re: Monochrome LCD shader?

tobiasvl wrote:
Tue Oct 29, 2019 10:22 am
--snipped
I'm looking for something closer to an actual graphing calculator or DMG screen, more akin to the shader I linked to. Sorry if that wasn't clear.
Yeah I figured it wasn't perfect, and you were clear. that's just the closest one I'm aware of.
by JJSax
Tue Oct 29, 2019 12:11 am
Forum: Support and Development
Topic: Independent Particle Colors
Replies: 11
Views: 3073

Re: Independent Particle Colors

Sadly, so far I know there is no setColor function for particle systems. If the particle system is simple you could use a sprite batch instead. Ah that's a shame. Then I have two options. Would it be more efficient to create a new particle system for every color I want or new sprites? New sprites. ...
by JJSax
Mon Oct 28, 2019 11:39 pm
Forum: Support and Development
Topic: Monochrome LCD shader?
Replies: 7
Views: 1485

Re: Monochrome LCD shader?

I'm a little busy to test it out right now but I believe the Moonshine Library has an effect that mimics gameboys. The effect is called dmg. I found it in this curated list. Moonshine: https://github.com/vrld/moonshine curated library list: https://github.com/love2d-community/awesome-love2d edit: I ...
by JJSax
Mon Oct 28, 2019 8:52 pm
Forum: Support and Development
Topic: Independent Particle Colors
Replies: 11
Views: 3073

Re: Independent Particle Colors

Luke100000 wrote:
Mon Oct 28, 2019 6:45 pm
New sprites. The most expensive part, so far I know, is the draw call itself. Also keep in mind that if you use several systems, the colors are over each other, they don't mix.
Ok that works then. Thank you for your help!
by JJSax
Mon Oct 28, 2019 5:19 pm
Forum: Support and Development
Topic: Independent Particle Colors
Replies: 11
Views: 3073

Re: Independent Particle Colors

Luke100000 wrote:
Sun Oct 27, 2019 11:50 am
Sadly, so far I know there is no setColor function for particle systems. If the particle system is simple you could use a spritebatch instead.
Ah that's a shame. Then I have two options. Would it be more efficient to create a new particle system for every color I want or new sprites?
by JJSax
Mon Oct 28, 2019 12:01 am
Forum: General
Topic: LÖVE 11.3 released!
Replies: 35
Views: 43833

Re: LÖVE 11.3 released!

Thanks for all your hard work!
by JJSax
Sun Oct 27, 2019 11:56 pm
Forum: Support and Development
Topic: Independent Particle Colors
Replies: 11
Views: 3073

Re: Independent Particle Colors

Luke100000 wrote:
Sun Oct 27, 2019 11:50 am
You could use an atlas with several colored stars, then supply the quads with particleSystem:setQuads().
I could. I was just hoping to have the color be set by love2d. I'd prefer not to make whole new assets if I forget a color or something.
by JJSax
Sat Oct 26, 2019 11:02 pm
Forum: Support and Development
Topic: Independent Particle Colors
Replies: 11
Views: 3073

Independent Particle Colors

I'm trying to make a confetti particle system. My asset is just a white star and I'm wanting love2d to set the color per confetti star and hold that color throughout it's lifetime. partycleSystem:setColors sets all particles to said colors/color pattern and obviously setting the color right before d...
by JJSax
Mon Oct 21, 2019 5:04 am
Forum: Support and Development
Topic: partially solid object
Replies: 6
Views: 1895

Re: partially solid object

raidho36 wrote:
Thu Oct 03, 2019 11:16 am
For net you should also use it's 2d slice equivalent. That is, a bunch of solid blocks connected in a flexible chain, and also distance-constrained with their opposite pair.
That's a fair idea. I think that would work the best.