Ahhh, it might be that then, that macro was only referenced inside a script, gotcha, thanks!
Ocram Ratte
Creator of
Recent community posts
Oh really? I thought I was just doing it wrong, still, I think the problem resides in the way the macro is formatted and can’t be taken as an argument in the live_constant_add() function
#macro TEXT_FOREST_VESTIGES \
case("example"): \
scrText("example_A_01"); \
scrText("example_A_02"); \
scrText("example_A_03"); \
scrText("example_A_04"); \
scrText("example_A_05"); \
break; \
case("example2"): \
scrText("example_B_01"); \
scrText("example_B_02"); \
scrText("example_B_03"); \
scrText("example_B_04"); \
scrText("example_B_05"); \
break; \
I’m not sure if I’m doing this right, but I store a lot of things in multiline macros to keep my project clean, I came across that I needed to set some of these with the live_constant_add() function because when updating them, I’d get a GMLive error or a straight up crash.
The game just doesn’t compile when a multiline macro is referenced in live_constant_add().
Script: MACRO_TEST at line 1 : got ':' expected ',' or ')'
Not sure if this is an oversight, impossible to implement or I just didn’t read the documentation enough.
Edit: This served me as a leason to not use multiline macros this way so I switched to a different method, I’ll just leave this post here in case you’re interested on checking it out.
Edit edit: Okay I just realized what the fuck I was doing, sorry, lol.
Yeah, it crashes the game.
{ message : "invalid date conversion - dates earlier than 1 Jan 1970 will be incorrect", script : "gml_Script_anon@21528@___struct___94@gml_Object_gm_pulse_Create_0", line : 822, stacktrace : [ "gml_Script_anon@21528@___struct___94@gml_Object_gm_pulse_Create_0 (line 822)","gml_Object_gm_pulse_Other_68 (line 39) - _h.handler(_request, _response);
" ], longMessage : "ERROR in action number 1
of Async Event: Networking for object gm_pulse:
invalid date conversion - dates earlier than 1 Jan 1970 will be incorrect
at gml_Script_anon@21528@___struct___94@gml_Object_gm_pulse_Create_0 (line 822) - var _epoch = floor(date_create_datetime(1970, 1, 1, 0, 0, 0));
" }
Iba a participar haciendo un juego pero me da muchisima pereza pensar algo sobre el tema y se que no voy a ganar asi que prefiero hacer de musico para todos los proyectos posibles en vez de hacer solo un juego, no se si me entienden lol. :]
Mas info Discord: TheHirou#2486
Edit:
Una sugerencia antes de nada. Voy a intentar ayudar en el maximo posible de proyectos que pueda. Alva dijo que si un juego no prometia al principio lo cerraría inmediatamente asi que antes tengo que ver en que voy a trabajar y juzgar si Alva lo descartaria inmediatamente. No hay muchas ganas de componer un temazo para que luego sea descartado por la presentacion.
Mi soundcloud es este por si mi estilo de musica pega con vuestro juego, hay canciones que, pues tienen mas esfuerzo y otras que no tanto, creo que se nota a simple vista. https://soundcloud.com/thehirou