The new version of Game Maker Studio 220.127.116.116 lets you disable the engine sandbox, this works with the "file_" functions, but doesn't work with zip_unzip().
Is there any way to extract a zip to any location outside of "appdata"?
I'm basically doing an update system, and I need to extract the...
This would be my second post (as well as thread) :)
The title pretty much says it all about here.
In my previous thread, I have talked a bit about my first extension (in my first game built using GameMaker).
So far I have been able to call external functions from GML scripts. Our...
That being said, I am the one who prefers object-oriented programming. So, I started to learn...
Can't find the info about custom functions inside my scripts or events.
Is there any possibility to do something like this?
//some code here
I want to start messing around with the @params like this
/// @Description A test of the params
/// @param Object
/// @param x
/// @param y
/// @param count
But what I want to know is how would I use it with the Built in variable (argument0-15)
I'd love to...
On running a code like this, ALWAYS results "6 Knifes". It only changes by adding or deleting one
or more weapons. But after changing the ammount of the choice, the same weapon is shown again and again.
CasualWeapon_ = choose("Crossbow", "6 Knifes", "Hellbarde", "Warhammer", "10...
I'm newbie programming in GMS2, really I'm using DnD. I've finished my first game and now it's time to distribute it.
I'm going to publish it in BLUR app. This really needs very few steps for integration:
1. Place this rcode before the end of the </body> (closing tag) in “index.html”...
I'm creating a simple inventory screen for my game in its own room. The room currently only has two objects that possess draw events (to clarify, there are other objects in the room, these two are the only ones that use the draw event). The first object, called "obj_inva1amountcounter" counts...
Can we have variable_global_get_name() *function that gets name of all exist global variable in the room as an array of string
I am trying to make debugger and already work around another similar function like variable_instance_exit /get_name /get /set which goes pretty well but when work around...
Hi, i found some 10 year old code for gesture recognition, and since its free i copied it. one error appears, and its something about a function called : line_distance. apparently this doesnt exist now. does anyone maybe know what this did, and if there is an equivalent function now. in this...
Hey guys. I was wondering if it was at all possible to create modular variables in our scripts... Which I guess are kind of like arrays?
Here's an example of what I mean:
Var mod = ””
Var [mod]dog = 0
Var breed = 1
If (breed = 1)
mod = ”bull”
} else mod = "lab"...
I started a little bit to discover the Grid since yesterday to learn more and I face a little problem. For the example I have this :
Text = ds_grid_create(3, 2);
I reduced to the simplest. What I am trying to do, to simplify my task for later, is to access with eg "K1" as a...
I'm having an issue with the "while" and "if" statement in my code. I run the compiler but it says that the function is malformed, regardless of whether or not I use "while" or "if". It works fine in GMS 1.4 but not GMS2.
/// Code in the game > o_enemy > create event ///...
In a nutshell, I want to use the scr_zx() I created besides this:
if (keyboard_check_pressed(ord('Z')) or keyboard_check_pressed(ord('X')))
so I created the scr_zx() function where i've put:
return (keyboard_check_pressed(ord('Z')) or keyboard_check_pressed(ord('X')))
then I replaced the...
What is the difference between using these? The documentation declares the first (view_wport) as a variable and the second (view_set_wport) as a function.
But, for example, view_wport can be used to set and get the port width without using the functions. So why use the functions if I can just...
Might as well make it a thread if that is legal.
What I want here is for people to take similar functions or whole methods and compare their speed.
Like distance_to_object() vs distance_to_point() vs point_distance().
While the functions are different and might not work for every situation, it...