Jump to content

How to make arbitrary tetrominoes


Strato
 Share

Recommended Posts

Hi,

When I say "tetrominoes" I mean tetris pieces.

I would like to be able to create arbitrary (many shapes) tetrominoes on the fly, based on a set of square sprites.

IE: I have a sprite for green square, and I want to create a... sprite? which is made a one line with three square, one line with a square on left and one on right, and one line with just a square on the left.

Also I need those to be draggable on a grid.

I skimmed the samples and documentation and couldn't find a proper to do this. Should I use a sprite group and manage drag'n drop by myself (could be tedious)?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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