bfops / Chess

Collaborative game-development effort in Haskell, OpenGL
MIT License
7 stars 0 forks source link

Piece movement doesn't work with rotation #4

Open bfops opened 12 years ago

bfops commented 12 years ago

The code checking for which square was clicked assumes the board hasn't been rotated.

cgaebel commented 12 years ago

Yeah. I've noticed. I think I'll decouple the Renderer tree from the loader, so we can walk it to determine the real position of things. This is kinda a big change though, so I'm going to be doing cleanup the rest of today to get ready for it. Also, we've been missing our framerate deadlines lately. Feel like trying your hand at profiling/optimization?

bfops commented 12 years ago

After you do your big change, I'll work on piece movement in the meantime.