Jump to content

PIXIJS User Interface Help


EnLiven
 Share

Recommended Posts

Hello, I'm new to Javascript and PIXI I've been recently been working on a project using PIXIJS and need some help.

I am trying to make a user interface with 8 buttons for the bounding box and 1 rotational button to scale, rotate and move my sprite.

At the moment, I made each individual buttons of the bounding box an individual sprite and manually setting their interactive mode and coordinate and added them as a child to my main sprite.

The issue with this method is that when I move one button, the other buttons don't move together to align with the transformation.

Also, I am trying to make a rotational button that is capable of rotation the sprite by its pivot point in both directions using the mouse movement.

 

Can anyone help me?

 

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