:D
This commit is contained in:
commit
09ade10207
117 changed files with 2153 additions and 0 deletions
9
eastern flames/scripts/format_time/format_time.gml
Normal file
9
eastern flames/scripts/format_time/format_time.gml
Normal file
|
@ -0,0 +1,9 @@
|
|||
function format_time(seconds) {
|
||||
var time = "";
|
||||
second = floor(seconds%60);
|
||||
minute = floor(seconds/60)%60;
|
||||
hour = floor(seconds/60/60)%60;
|
||||
//day = ((seconds-minute-second)/60)%24;
|
||||
time = string(hour)+":"+string(minute)+":"+string(second);
|
||||
return time;
|
||||
}
|
12
eastern flames/scripts/format_time/format_time.yy
Normal file
12
eastern flames/scripts/format_time/format_time.yy
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"isDnD": false,
|
||||
"isCompatibility": false,
|
||||
"parent": {
|
||||
"name": "data",
|
||||
"path": "folders/Scripts/data.yy",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "format_time",
|
||||
"tags": [],
|
||||
"resourceType": "GMScript",
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue