PixiJS Day66

After whole cosmos of gap in development I have started more activities in recent 3 days.

Main observation:

  • create views
  • create methods for view
  • create controlers

Main issues:

  • JS scope is nightmare
    • I am currently using methods that take context parameter to run inner method on that context example:
      • scannerBarShown(context) {
        context.showScannerTxt(context);
        }
    • There must be a better way, but this is how I am making sure calling a function will not generate “not a function” error.
  • GSAP tweens updated to most recent version (3.0.1) – backwards compatible
  • JS dispatch events unuable since they are designed for DOM elements (not custom object)
  • NPM works only on dedicated servers (unless provider will install packages for you)

Current development:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s