[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.
http://gigatron3k.free.fr/Intro/

https://www.shadertoy.com/user/gigatron

https://twitter.com/realistquantum

Ezekiel 1-4 ; ufo landing explanation ..

CONSTRUCT 2 THE ONLY FAST WAY TO HTML5

Image
B
61
S
20
G
29
Posts: 815
Reputation: 22,093

Post » Sat Sep 26, 2015 3:34 pm

So how much of an improvement are you seeing?
Image ImageImage
B
168
S
50
G
169
Posts: 8,283
Reputation: 108,195

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 ...
http://gigatron3k.free.fr/Intro/

https://www.shadertoy.com/user/gigatron

https://twitter.com/realistquantum

Ezekiel 1-4 ; ufo landing explanation ..

CONSTRUCT 2 THE ONLY FAST WAY TO HTML5

Image
B
61
S
20
G
29
Posts: 815
Reputation: 22,093

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
43
S
19
G
65
Posts: 1,098
Reputation: 37,933

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 ..
http://gigatron3k.free.fr/Intro/

https://www.shadertoy.com/user/gigatron

https://twitter.com/realistquantum

Ezekiel 1-4 ; ufo landing explanation ..

CONSTRUCT 2 THE ONLY FAST WAY TO HTML5

Image
B
61
S
20
G
29
Posts: 815
Reputation: 22,093

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
157
S
66
G
41
Posts: 2,598
Reputation: 34,823

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?
http://gigatron3k.free.fr/Intro/

https://www.shadertoy.com/user/gigatron

https://twitter.com/realistquantum

Ezekiel 1-4 ; ufo landing explanation ..

CONSTRUCT 2 THE ONLY FAST WAY TO HTML5

Image
B
61
S
20
G
29
Posts: 815
Reputation: 22,093

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,670

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...
http://gigatron3k.free.fr/Intro/

https://www.shadertoy.com/user/gigatron

https://twitter.com/realistquantum

Ezekiel 1-4 ; ufo landing explanation ..

CONSTRUCT 2 THE ONLY FAST WAY TO HTML5

Image
B
61
S
20
G
29
Posts: 815
Reputation: 22,093

Next

Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests