Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Click areas for (non visible partitions of something visible) a board game


K1978
 Share

Recommended Posts

Hi,

I am starting out with pixi.js, it looks super cool! Although, I could need some advice.

I am creating a board game with this board layout:

HLST7ph.png

It should be possible to tap to place your units

  • inside the "home" positions to the left and right. The ones that take up twice the vertical space of a square
  • in the middle of a square
  • in the corners of a square
  • in the middle of the top/bottom and left/right side lines around a square

What way would you use to define all these click areas?

Should I go for invisible sprites that still handles clicks? Or is there a better way?

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