Jump to content

Some custom plugins for games


Nazariglez
 Share

Recommended Posts

Hi guys! 

I just want to share with you some plugins i made for my games (pixi.js >= 3.0.8). May be useful for someone.

pixi-animationloopTo manage the requestAnimationFrame, doing the basic time operations, like delta time, total times, stop the loop when the browser's tab lost the focus, etc...
pixi-keyboard: To manage keyboard events easily.
pixi-timerTo create time events, clocks, etc...
pixi-audioTo add audio support using the pixi resource-loader. The plugin use webaudio by default, and fallbacks to HTMLAudio when is needed.
pixi-tweenTo create tween animations, tween alongs paths, etc...

Extra: obj-pool this plugin is not for pixi.js per se, but it's useful when we develop games for the memory management.
Extra2: ES6-Webpack-Pixi-bolierplate, a start point to use pixi with ES6.

I have other things in a old engine i made with pixi v2-3, and i will be move it to pixi v3-4 like plugins, for example, scene transitions, particle sys and tools, etc... ->  Particle sys tool1particle sys2

Regards!

 

 

 

 

Link to comment
Share on other sites

21 hours ago, ivan.popelyshev said:

We probably need to reference it from main page somehow

That would be awesome!

21 hours ago, JDW said:

Hello! Thanks for these plugins! I'll test the pixi-timer when I get the chance, it looks great :)

I'm intrigued by the first one, how does it interact with PIXI own implementation ?

https://pixijs.github.io/docs/PIXI.ticker.Ticker.html

I discovered PIXI.ticker after making the animationloop plugin, so they both do basically the same. The main difference is the feature to stop the loop when the browser tab lost the focus, and the events pre and post render.

 

21 hours ago, GBear said:

good share.. ^^/

thanks ..~~

 

Thanks all, i'm so glad to be useful :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...