Jump to content

PIXI V5 Boilerplate - ES6 / Object Oriented


alexpfb
 Share

Recommended Posts

I'm looking for a good and modern starting point project that uses PIXIJS V5 and ES6 with Object Oriented Programming. I found this page: https://github.com/pixijs/pixi.js/wiki/v5-Boilerplate but all the examples use TypeScript. There is this too: https://github.com/pixijs/pixi.js/wiki/Boilerplate But most of project are 2+ years old and/or uses typescript too.

The is some tutorials on Pixi website too, but that are from 2013!

Link to comment
Share on other sites

Nope, haven't see one. Even more, good OOP i saw only in big closed projects. I'm working on good big example for pixi-v5 that has everything, including physics libs integrations, but its a real work, not hello-world - it takes time, and I have like 10 plugins for pixi to work on :)

You can fund creation of tutorials and quality boilerplates here: https://opencollective.com/pixijs I'm sure we'll have bounties for that.

Link to comment
Share on other sites

  • 2 weeks later...

You can start here:

https://medium.com/a-beginners-guide-for-webpack-2/webpack-loaders-css-and-sass-2cc0079b5b3a

(the npm/Webpack combo has become the defacto standard, so love it or hate it makes sense to at least it learn it - and it does work well enough.)

Then load Pixi in as an npm module. Once you've done that, you can import the global PIXI object into your code like this:

import * as PIXI from 'pixi.js';

... and just start coding!

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...