Thread
:
Simple Movement
View Single Post
#
9
10-06-2007, 08:06 PM
Crow
ǝɔɐɹq ʎןɹnɔ
Join Date: Dec 2006
Location: Germany
Posts: 5,153
I would atleast define the middle of the player ;P
PHP Code:
if ( !(
onwall
(
nx
+
1.5
,
ny
+
2
))) {
player
.
x
=
nx
;
player
.
y
=
ny
;
}
Crow
View Public Profile
View GraalOnline Profile
Find all posts by Crow