Still going slowly, listen to this:http://www.youtube.com/watch?v=dnbCQj-Rrlc
Okay, I also want to rotate quads drawn in OpenGL by calculating the four points as
Center = X + width/2, Y + height/2
R = SQRT(width/2(Squared) + height/2(Squared))
Point 1 is Rcos(pi/4 + phi), Rsin(45 + phi) //From Center
Point 2 is Rcos(3pi/4 + phi) Rsin(135 + phi) //From Center
And so on, where phi would be the angle of rotation in radians
Instead of the default values. I'll slap in a new parameter in DrawFrame to accept phi.
That way I could finally implement this idea I've had for months for rotations handled without framesets
I could also have animated sprites that rotate as well!
I hope it works, I'm going to try and implement it whenever.
Finally, worked on some Network items, added a say command, which is just "S your message" which would send a message saying "your message"
Added a users command, which shows the current user list in the room from the List<UserSprite> of all users on the map.
Usernames can be shown above the players head and can be toggled on and off.
And some graceful disconnect commands too.