View Single Post
  #21  
Old 08-31-2007, 02:34 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by Crow View Post
If I want the exact center, and seriously, the exact one, I just do the following:

PHP Code:
temp.cx player.1.5 32;
temp.cy player.32
Well, thats the center of the part normally blocking, the 32*32 pixels at the bottom of the body Dusty pointed out. Why 1 / 32? Thats half a pixel ;P Very nice to remember I guess :]
or
PHP Code:
temp.cx player.23.5/16;
temp.cy player.31.5/16
which is Loriels' method that he used in his Movement system ;o

But his movement system is compatible with gs1 so I've rewritten his movement system to work with gs2, and to use less cpu (gs1 didn't support temp. variables ) and I added running to it ;o
__________________
Reply With Quote