Rotating Tetris Piece

BlitzMax Forums/BlitzMax Beginners Area/Rotating Tetris Piece

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You need to first `translate` the center of rotation from where it starts out to the center of the piece, ie add an offset. Then you do your rotation. So using set handle to the middle of the piece before rotating should do it?