Animator for a grid of sprites.

coyne's picture

Hi everyone!

I took the first steps on what i am trying to achieve but i am now once again turning to kineme for some advice on a clever solution.

I have created a grid of sprites (look attached below) and now i want a clever way of animating patterns out of them using their alpha. A bit messy example but i hope you get what im aiming for.

I think this is best achieved with feeding the iterations a structure of values to control the animation on the grid but later when it comes to the math and the timing to create the animations i am a bit lost.

What are your thoughts on this?

Kind regards Coyne

PreviewAttachmentSize
Animations.jpg
Animations.jpg1.75 MB
AnimateGrid.qtz23.43 KB

coyne's picture
Re: Animator for a grid of sprites.

Attached is my progress so far. Your able to decide with numbers in a string which position to move to in the grid and affect it. Not really there yet. My goal is to be able to control more than one position in the grid for more complex animations.

/C

PreviewAttachmentSize
AnimateGrid.qtz29.87 KB

coyne's picture
Re: Animator for a grid of sprites.

Still experiencing a lot of glitches i think i might have to do with using several instances of the great javascript code from Franz / 1024.

There has to be a cleverer way of doing this.

Any help greatly appreciated.

Regards Coyne

PreviewAttachmentSize
AnimateGrid2.qtz47.67 KB

franz's picture
Re: Animator for a grid of sprites.

mmmm what javascript code ?

http://catb.org/~esr/faqs/smart-questions.html

what do you want to know exactly ? There are many ways for doing the same thing in QC...

coyne's picture
Re: Animator for a grid of sprites.

Hi Franz!

I am really inspired by your work.

What i am trying to achieve is a grid of lets say 8 * 6 constructed of sprites.

And what i want to accomplish is a way of controlling the structure somehow so i can make different animations running along the grid to be able to do chases of lines running up and down, circles emerging from the middle, random parts of the grid with stronger alpha and that kind of stuff.

Like the Mad_gridmaker but with a way of controlling how they move over the grid.

Its actually intended for your excellent software madmapper which with i intend to map square cubes and with these animations running along the grid.

Regarding the javascript of yours it is some code you posted some time ago using the javascript patch. it is attached below.

Sorry for the poor explanation my bad and thanks for the link by way.

best regards /C

PreviewAttachmentSize
offseter.qtz1.21 KB

jersmi's picture
Re: Animator for a grid of sprites.

Totally different approach idea: what about overlaying a black and white image and testing for white, then this turns the cell in the grid on / off (on = white)? Then one could map any animation outside the iterator to the grid (like the pixellate plugin, sorta).

My knowledge is lacking -- how do people map video to banks of lights / leds? dmx?

EDIT: my inquiry leads to toneburst's awesome VDMX qcFX comps, "field" (in his download box at machines don't care).

franz's picture
Re: Animator for a grid of sprites.

you should try first with only a single sprite. control it with a structure of positions.

coyne's picture
Re: Animator for a grid of sprites.

Hi Jersmi!

Nice approach ! Last night my thought where also wandering in that way when thinking about the great plugin from Jay at http://www.planetclegg.com/projects/QC-Peggy.html were he feeds video from quartz to the peggy 2.0 LED board.

I think this will work for me and what i want to accomplish.

cheers /C

PreviewAttachmentSize
lines.qtz16.78 KB

coyne's picture
Re: Animator for a grid of sprites.

Hi Franz!

I dont really understand how that would help me but went on and did it anyway. Always open to listen and learn from the great. :)

But i think the idea from Jersmi would kinda do it for me this time.

best regards

/C

PreviewAttachmentSize
controlPosSprite.zip4.66 KB