sCrate
0
-1
0
0
<undefined>
<undefined>
1
603
7
0
0
-1
2
self
0
0
1
///Initialize
boundary = instance_create(x, y, Boundary);
hdist = 0;
vdist = 0;
mvspd = 4;
1
603
7
0
0
-1
2
other
0
0
1
///Move
x += sign(hdist) * mvspd;
hdist -= sign(hdist) * mvspd;
y += sign(vdist) * mvspd;
vdist -= sign(vdist) * mvspd;
1
603
7
0
0
-1
2
self
0
0
1
///Carry wall around
if(boundary != noone) {
with(boundary) {
x = other.x;
y = other.y;
}
}
0
0
0
0.5
0.100000001490116
0
0.100000001490116
0.100000001490116
0.200000002980232
-1
0
0,0
16,16