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.

2D All the way! / Square thing

Author
Message
aluseus GOD
17
Years of Service
User Offline
Joined: 19th Mar 2007
Location: I\'m here. Now I\'m there. I keep moving
Posted: 29th Sep 2007 03:18


How would I get the square to rotate around its center?

Your signature has been deleted by a moderator because this joke is getting old.
Jeff032
16
Years of Service
User Offline
Joined: 13th Aug 2007
Location:
Posted: 29th Sep 2007 16:32 Edited at: 30th Sep 2007 17:40
This should do it


I changed the ang(x,y)= and dist(x,y)= lines.
I also changed the dim statements because dim(29, 29) really creates an array that is 30x30

-Jeff

Space Game WIP
aluseus GOD
17
Years of Service
User Offline
Joined: 19th Mar 2007
Location: I\'m here. Now I\'m there. I keep moving
Posted: 29th Sep 2007 22:40
Thank You!
I now see that my assumption x and y are the same in the dist calculate are the same.

Your signature has been deleted by a moderator because this joke is getting old.

Login to post a reply

Server time is: 2024-05-24 04:13:24
Your offset time is: 2024-05-24 04:13:24