• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

GameMaker So GameMaker decided a function is a local variable. I can't Even.

A

ApselTheBlue

Guest
so this is the code: leading up to the error

/// @description Draw
var xx = __view_get( e__VW.XView, 0 ),
yy = __view_get( e__VW.YView, 0 ),
ww = __view_get( e__VW.WView, 0 ),
hh = __view_get( e__VW.HView, 0 ),
alpha = min(screenFade,obj_Main.screenfade);
draw_background_tiled_ext(bg_Title,scr_round(xx),scr_round(yy),1,1,c_white,alpha);
var space = 16;
draw_set_font(GUIFont);
draw_set_color(c_white);



image: https://imgur.com/a/ntNnERx


Why? I really have no idea.
 
so this is the code: leading up to the error
What error? Where is the compiler output saying anything there is an error?
Or are you just saying because the bottom bar turned dark red? That had been know to happen on occasion, but does not actually throw any error or block the compile from working.
Please explain what you are having a problem with as it is not clear from that bit of code, or the screenshot you provided.
 
A

ApselTheBlue

Guest
I'll try that.
also
I am having an issue with the game compiling as well. I just tried reinstalling game maker. Testing results now. I figured this was the issue since it shows up as a syntax error.
 
A

ApselTheBlue

Guest
I don't actually get an error message. It just says Run Program Failed. If it happens again I'll post that as well
 
A

ApselTheBlue

Guest
Yup

Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... INST
Writing Chunk... LOCL
Writing Chunk... STRG
Writing Audio Group audio_music
Writing Audio Group audio_voice
Stats : GMA : Elapsed=86275.2686
Stats : GMA : sp=996,au=189,bk=36,pt=1,sc=275,sh=25,fo=7,tl=0,ob=391,ro=23,da=10,ex=3,ma=3956,fm=0xC000B31D7DFC0FB4

C:\WINDOWS\system32\cmd.exe exited with non-zero status (1)
elapsed time 00:04:41.3962142s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.1.287/bin/Igor.exe" -options="C:\Users\Apsel\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -- Windows Run started at 01/10/2019 13:05:57
"cmd" /c subst Z: /d
elapsed time 00:00:01.0470702s for command "cmd" /c subst Z: /d started at 01/10/2019 13:10:39
"cmd" /c subst Y: /d
elapsed time 00:00:00.2659807s for command "cmd" /c subst Y: /d started at 01/10/2019 13:10:40
"cmd" /c subst X: /d
elapsed time 00:00:00.1949864s for command "cmd" /c subst X: /d started at 01/10/2019 13:10:40
FAILED: Run Program Complete



trying deleting the cache now
 
Yup

Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... INST
Writing Chunk... LOCL
Writing Chunk... STRG
Writing Audio Group audio_music
Writing Audio Group audio_voice
Stats : GMA : Elapsed=86275.2686
Stats : GMA : sp=996,au=189,bk=36,pt=1,sc=275,sh=25,fo=7,tl=0,ob=391,ro=23,da=10,ex=3,ma=3956,fm=0xC000B31D7DFC0FB4

C:\WINDOWS\system32\cmd.exe exited with non-zero status (1)
elapsed time 00:04:41.3962142s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.1.287/bin/Igor.exe" -options="C:\Users\Apsel\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -- Windows Run started at 01/10/2019 13:05:57
"cmd" /c subst Z: /d
elapsed time 00:00:01.0470702s for command "cmd" /c subst Z: /d started at 01/10/2019 13:10:39
"cmd" /c subst Y: /d
elapsed time 00:00:00.2659807s for command "cmd" /c subst Y: /d started at 01/10/2019 13:10:40
"cmd" /c subst X: /d
elapsed time 00:00:00.1949864s for command "cmd" /c subst X: /d started at 01/10/2019 13:10:40
FAILED: Run Program Complete



trying deleting the cache now
Where is the top part of the output? There is normally a lot more than that, and the last person that had a FAILED: Run Program Complete at the end of the compile had not spotted the error further up the output. Can you show us the whole of the output, not just the end of it?
 
A

ApselTheBlue

Guest
It was pretty long so I figured posting all of it wouldn't be a good idea but ok. Ill have to open the game again
 
A

ApselTheBlue

Guest
Update: I tried reloading the project. As it turns out, it somehow got corrupted. Luckily, I had a backup. It seems that the error I brought up wasn't the culprit though I do think that it should be addressed. It's rather irksome.
 
Top