Jump to content

pixi interactivity example code


Recommended Posts

someone trying to be cute?

example at http://www.pixijs.com/examples/  shows this code

var buttonPositions = [175,75,
                           600-145, 75,
                           600/2 - 20, 400/2 + 10,
                           175, 400-75,
                           600-115, 400-95];

example at http://pixijs.github.io/examples/index.html?s=demos&f=interactivity.js&title=Interactivity shows

var buttonPositions = [
    175, 75,
    655, 75,
    410, 325,
    150, 465,
    685, 445


I am trying to learn from the examples but end up learning how to debug errors with function names that have changed. . I need simple examples with working code that work with the latest version pixi.js. Is there any official page with good working example code that actually work and are provided by someone serious and not playing silly games as the example above?




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.

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.


  • Recently Browsing   0 members

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