Interesting idea with good execution, great job!
forkes
Creator of
Recent community posts
I got an error when I interact with the slimes:
___________________________________________
############################################################################################
ERROR in
action number 1
of Create Event
for object oBattle:
argument 5 needs to be a struct
at gml_Object_oBattle_Create_0 (line 37) - enemyUnits[i] = instance_create_depth(x+250+((i mod 3)*10)+((i div 3)*25),y+68+((i mod 3)*20),unitDepth,oBattleUnitEnemy,enemies[i]);
############################################################################################
gml_Object_oBattle_Create_0 (line 37)
gml_Script_NewEncounter (line 3)
gml_Object_oSlime_Collision_oPlayer (line 3) - NewEncounter(choose([oBattleUnitSlime,oBattleUnitSlime],[oBattleUnitSlime]), sBgField);
No dice, I was using the GX.games browser launcher, it might just be that system it seems pretty buggy. But I'm running into another issue with the regular launcher, after yours and the slime's turn it does this:
############################################################################################
ERROR in
action number 1
of Step Event0
for object oBattle:
trying to index a variable which is not an array
at gml_Script_anon_anon_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0_4071_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0_4117_anon_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0_4071_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0 (line 139) - if (_option[0] == "Attack") return 99;
############################################################################################
gml_Script_anon_anon_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0_4071_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0_4117_anon_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0_4071_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0 (line 139)
gml_Script_anon_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0_4071_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0 (line 146) - return _Priority(_b) - _Priority(_a);
gml_Script_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0 (line 135)
gml_Object_oBattle_Step_0 (line 42) - if (!instance_exists(oMenu)) DoTurn(units[turn]);
Every time it becomes my turn in a fight with a slime I get this error.
___________________________________________
############################################################################################
ERROR in
action number 1
of Step Event0
for object oBattle:
trying to index a variable which is not an array
at gml_Script_anon_anon_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0_3955_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0_4001_anon_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0_3955_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0
############################################################################################
gml_Script_anon_anon_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0_3955_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0_4001_anon_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0_3955_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0 (line -1)
gml_Script_anon_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0_3955_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0
gml_Script_anon_gml_Object_oBattle_Create_0_1502_gml_Object_oBattle_Create_0 (line -1)
gml_Object_oBattle_Step_0
version: IDE v2022.9.1.51
I'm new to Gamemaker so I don't know how easy this is to fix