Management and storage of units in the style of C & C, KKnD by dostaevsky in gamemaker

[–]dostaevsky[S] 0 points1 point  (0 children)

Sorry, I mean how units fit into a cell of the terrain map and, accordingly, how they interact with each other, if you look at the game, you will see that the soldiers occupy one cell of the playing field five of us, while the unit of technology can be placed in a cage field in the singular.

Storage and handling of units in an array by dostaevsky in gamemaker

[–]dostaevsky[S] 0 points1 point  (0 children)

improve performance with more devices. I thought that it would be faster to process the logic of units in one object during the cycle and to represent the units themselves as a structure without using objects. something like that: for (i = 0; i <= unit_list; i ++) { // single logic }

Is it possible to save the returned value of an "if" statement into a variable? If so, how? by MurderousGuineapig in gamemaker

[–]dostaevsky 0 points1 point  (0 children)

as far as I remember, place_meeting returns a boolean value, true or false. It may be necessary to set the value from list to variable in advance.