Jump to content

Componentized development for PixiJs 6


Recommended Posts

Hello, I open sourced a very interesting small project.

https://github.com/WLDragon/oixi2


It can make your code simple, like the following.

OContainer([
  OText('anchor=0.5', 'Hello Oixi2!')
])

I have used it to make a small game.

https://wldragon.github.io/rat-in-maze/

Check the source code of the small game. May be you will be interested in this development way.😄

https://github.com/WLDragon/oixi2_demo

Link to post
Share on other sites

To make it more pixi-v6-like, i recommend to add individual pixi modules as peer dependencies like here: https://github.com/pixijs/pixi-plugin-example

you dont need "global.d.ts" hack and some other things, just peer deps & using them instead of main pixi.

Added to https://github.com/pixijs/pixijs/wiki/v6-Resources#improvement-for-stage-tree anyway :)

Link to post
Share on other sites
On 9/5/2021 at 11:54 PM, ivan.popelyshev said:

To make it more pixi-v6-like, i recommend to add individual pixi modules as peer dependencies like here: https://github.com/pixijs/pixi-plugin-example

you dont need "global.d.ts" hack and some other things, just peer deps & using them instead of main pixi.

Added to https://github.com/pixijs/pixijs/wiki/v6-Resources#improvement-for-stage-tree anyway :)

Hi, Ivan. Can the plugin I created be named as @pixi/oixi ?

Link to post
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...
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...