Reordering a bit.

This commit is contained in:
TheGreenTie
2020-03-01 18:30:44 -06:00
parent eccd3eccec
commit d9f123b438
9263 changed files with 1393 additions and 62623 deletions

View File

@@ -0,0 +1,15 @@
///align_x(region, unit%)
var zone = argument0;
var percent = argument1;
switch(zone)
{
case region.mid_right:
var x_start = global.window_width*0.75 + global.window_width*0.25/2;
break;
}
var deplacement = global.unit * percent;
return x_start + deplacement;

View File

@@ -0,0 +1,8 @@
{
"id": "46940c02-accc-0a61-a238-03c213c44822",
"modelName": "GMScript",
"mvc": "1.0",
"name": "align_x",
"IsCompatibility": false,
"IsDnD": false
}