> Wenutz
> ultrafop
>
> Yes this shader draw stones; this mean math calculation drop some fps, but running 60fps on my computer -ati gfxcard.
> ... however try and play with the released version, it's a bit faster now..
>
Hey there Gigatron
I tested it and the performance is definitely much better. However, if there are more than 9 or 10 stones on screen, my fps drops from 60 to somewhere around 49. I'm running it on a nvidia GTX 560 with an old i7 and 6 gigs of ram.
ultrafop
For maximum speed on C2 side , try to make little sprite like 32*32 or 64*64 block and use scale on events.
With this way you can show more stones on screen but with low quality.
In this example i have removed, starfield, explosion fx , and reduced stone sprite to 8x8. Then
if i use random scale like 0.1+random(0.5) .. it's working well.
http://gigatron3k.free.fr/html5/C2/FX/stone
Regards