I made an object which contains a step event with the following code:
Its supposed to toggle fullscreen...
I would like to be able to toggle through a selected number of rooms. I want to do this using my Xbox controller's shoulder buttons L and R. The code provided allows me to do this although it continues going into other rooms. how can I edit this so that there may be a threshold and toggle...
Shame that my first thread has to be about a problem I have, but grim is the life of a horrible, terrible game-maker such as myself.
Anyway~ I've been trying to create a dynamic shadow engine. Certain objects would run a create event that creates an instance of a shadow object of the...
So I've been working on some misc useful scripts to share here, yet this one isn't working, and it's driving me crazy. What am I doing wrong here?
/// @description Ayziak's Two Value Variable Toggle
/// @param variable Which variable
/// @param val1 value 1
/// @param val2 value 2
can someone help me understand why this is not working
image_frame = rround(2 - image_frame, 0, 2);
// description rround
// param var
// param min
// param max
var _var = argument + 1;
var _min = argument;
var _max = argument;
return round((_var - _min) / (_max-_min)) * (_max -...
Hi there fellow coders,
I am totally new to GameMaker but not to programming in general, so please point me to a ressource of knowledge, if my question turns out to be pointless :p
I am trying to accomplish the following:
a) define a toggle object (here called obj_dice)
b) define a background...
UPDATE: v2.0.2; New:
Last version included as a rollback-possibility
Clearer seperation between global and local Flags
Reduced amount of macros to use
Added possibility to access local Flags of one object from another
Added shortcut-functions that are very useful if Flag system is intensively...