:D
This commit is contained in:
commit
09ade10207
117 changed files with 2153 additions and 0 deletions
28
eastern flames/scripts/distabs/distabs.gml
Normal file
28
eastern flames/scripts/distabs/distabs.gml
Normal file
|
@ -0,0 +1,28 @@
|
|||
function distabs(dir, distance) {
|
||||
var dist = {
|
||||
x: 0,
|
||||
y: 0
|
||||
}
|
||||
/*var bitch = instance_create(x1, y1, o_null);
|
||||
bitch.speed = distance;
|
||||
bitch.direction = dir;
|
||||
with bitch {
|
||||
dir2hv(direction, speed);
|
||||
x += hspd;
|
||||
y += vspd;
|
||||
}
|
||||
dist.x = bitch.x;
|
||||
dist.y = bitch.y;
|
||||
instance_destroy(bitch);*/
|
||||
with dist {
|
||||
dir2hv(dir, distance);
|
||||
x = hspd;
|
||||
y = vspd;
|
||||
};
|
||||
//log(distance, hspd, vspd);
|
||||
//hspd = 0;
|
||||
//vspd = 0;
|
||||
|
||||
|
||||
return dist;
|
||||
}
|
12
eastern flames/scripts/distabs/distabs.yy
Normal file
12
eastern flames/scripts/distabs/distabs.yy
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"isDnD": false,
|
||||
"isCompatibility": false,
|
||||
"parent": {
|
||||
"name": "data",
|
||||
"path": "folders/Scripts/data.yy",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "distabs",
|
||||
"tags": [],
|
||||
"resourceType": "GMScript",
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue