Hi All,

Apologies if this is a simple question.

I’m working on a little arcade style game. I realise QC was not
exactly built with this in mind, but I think it’s power and uniqueness
might eventually help me create something unique.
http://skitch.com/keith/b98f2/quartz-composer-game

However, in order to be able to create and track multiple missiles, I
need some kind of Array.

Gary C Martin created something similar in his great little Asteroids
clone, but did the logic within a javascript patch.
http://www.quartzcompositions.com/phpBB2/upload/details.php?file=378


I patched together a virtual RAM module, with Get and Set and Address inputs.
http://skitch.com/keith/b98te/qc-ram
The dilemma is doing something with the output.
It doesn’t seem possible to ‘poll’ the RAM patch from within an
iterator, as I cannot publish an output from an iterator which has a
rending patch (example Sprite) within it.

Basically I’d love to have an ‘Array’ patch which has inputs which
allow me to randomly access and edit variables inside the array.  The
patch would output a structure.


Any suggestions on how to do this with patches in QC?
I suspect any solution might face the problem of having multiple
states changing at once, for example multiple missiles going
off-screen in the same frame, and I don’t know how to handle that.

Keith
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to