Is it possible that QC creates render objects like a sprite dynamically?

implict's picture

I want to draw a sprite whenever I click the mouse on a stage. How to do this? It is like using "new" keyword at type based programming.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

voxdeserti's picture
Re: Is it possible that QC creates render objects like a ...

via queue and iterator

PreviewAttachmentSize
click_adding_sprites.qtz31.99 KB

voxdeserti's picture
Re: Is it possible that QC creates render objects like a ...

same with numbers

PreviewAttachmentSize
click_adding_sprites_numbers.qtz33.18 KB

implict's picture
Re: Is it possible that QC creates render objects like a ...

Great! Thanks for your help.