Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Need help with rotation in tetris game

Author
Message
shywolf91
12
Years of Service
User Offline
Joined: 19th Apr 2012
Location: United States
Posted: 20th May 2012 08:14
I need help with the rotation of the shapes in my tetris code.

Here is the code:


Here is what I was given to work with:



Quote: "
Center block: x'=x y'=y

x'=p.x-p.y+y
y'=p.y+p.x-x


"


shy wolf productions

Login to post a reply

Server time is: 2024-11-19 01:39:40
Your offset time is: 2024-11-19 01:39:40