[plugin] Pixijs on C2

Post your work in progress addons and get feedback

Post » Sat Sep 26, 2015 2:44 pm

Hi

Late i asked if it's possible to draw pixijs on C2... after some hours of work yes..
I will show you a little demo .. Sprite counter set to 5000. All done with WebGL Render.
So i dont know what i will do with this
this library.. meditation on the run !!
http://gigatron3k.free.fr/html5/C2/plugin/pixijs/
Last edited by Gigatron on Tue Oct 06, 2015 2:52 pm, edited 1 time in total.
B
69
S
24
G
29
Posts: 829
Reputation: 22,751

Post » Sat Sep 26, 2015 3:34 pm

So how much of an improvement are you seeing?
Image ImageImage
B
172
S
50
G
183
Posts: 8,442
Reputation: 115,603

Post » Tue Sep 29, 2015 4:17 am

newt wrote:So how much of an improvement are you seeing?


Mr newt
I am trying some fast canvas renderers on Webgl..

Another example is shape 3dstarfield with 10000 stars.. this one is really fast.
http://gigatron3k.free.fr/html5/C2/plugin/phaser/

By the way since 3 days minifyer is not working on C2.. i have used Goole closure compiler. This source is now minifyed ...
B
69
S
24
G
29
Posts: 829
Reputation: 22,751

Post » Tue Sep 29, 2015 5:06 am

I get about 20 fps on the first one. It'd be better if you had a side by side comparison.
B
48
S
23
G
66
Posts: 1,144
Reputation: 39,059

Post » Tue Sep 29, 2015 5:29 am

Prominent wrote:I get about 20 fps on the first one. It'd be better if you had a side by side comparison.

Just included fps monitor too on the second, and changed star shape + rotating...
I think i will use phaser framework for doing 3dstarfield with selectable shape...
.. use Chrome for max speed ..
B
69
S
24
G
29
Posts: 829
Reputation: 22,751

Post » Tue Sep 29, 2015 11:08 am

60 fps on both of them :-)
What is your end goal with this?
B
59
S
21
G
14
Posts: 779
Reputation: 13,927

Post » Tue Sep 29, 2015 12:15 pm

Same here, 60fps on both.
How does is actually work?
ImageImageImageImage
B
158
S
67
G
43
Posts: 2,603
Reputation: 36,003

Post » Tue Sep 29, 2015 1:26 pm

Savvy001 wrote:60 fps on both of them :-)
What is your end goal with this?


3d starfield with shape i think...

Matthew64 wrote:Hi, amazing. Is there a way to add different shapes to stars?
B
69
S
24
G
29
Posts: 829
Reputation: 22,751

Post » Tue Sep 29, 2015 8:27 pm

Hi, thanks for reply. My end goal! don't know really but I think how cool it would be to be able to have say rocks, asteroids, anything really.
Even an endless tunnel effect!
I have seen your starfield with shape. Very good but I am not a big programmer and would like to know how I get the stars to change shape.

I still say awesome plugin. Keep up your good work.
And thanks for sharing.

Cheers
B
34
S
3
G
1
Posts: 46
Reputation: 1,675

Post » Tue Sep 29, 2015 11:02 pm

@Matthew64 ... No problem yet i have ported the same 3Dstars For c2 for your pleasure...

So .. you can change stars sprite on the .capx project and play with event...variables .. etc
To open you must have C2 r214 and my fpsmonitor plugin... number stars set to 3000 and its slow than 10000 phaser framework !!

http://gigatron3k.free.fr/help/3Dstars.capx

Or event sheetImage...
B
69
S
24
G
29
Posts: 829
Reputation: 22,751

Next

Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 2 guests