Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
Hi Guys!
I am working on a software that can take some word, transform it into code, and can organize the word in similar code. For example:
I have the word "hello". The programm transform the word into a special code.
We pretend the code is "61001101".
The software have a main ds_list called...
Hello!
I am trying to extract lists stored within maps in my game, and I keep getting errors.
I have the maps in my game stored as JSON files. The GM manual states that arrays ([]) within a JSON file are saved as ds_lists and objects ({}) are stored as ds_maps.
So here is my JSON file:
{...
I'm using a ds_list to save some basic data, literally 1 and 0's to record things the player interacts with and I'm using a market place lighting system. The two are completely unrelated - no shared names, lists or any connections but they seem to interact. I'm still using GM 1.4.
The lighting...
My interpretation of the ds_exists() docs is that:
given a variable, check if its value has a ds structure (list, map), effectively "is the value a ds_list/ds_map".
For the following code:
I have an initial map:
map["prop1"] = string value
map["prop2"] = string value
when I use ds_exists on...
I am working on a RPG character sheet and a have this section which shows the character skills.
Every new entry shows on a list in order of creation (the last entry shows at the top of the list). I need it to be reversed (the last entry shows at the bottom of the list). How can i do that...
Hello, can you give me an idea on how to use save ini file using the DS LIST
What I want is that when player saves the game on room 4, and then he loads the game, room 0, 1, 2, 3 should no longer available since he already visited those rooms only room 4, 5 and 6. And the after visiting all...
Hi everyone!
Apologies for spamming the forums with (probably) noob questions, but I'm powering through some work today and trying to solve as many issues as I can in over the weekend. XD
I'm getting a peculiar error when I try an run the below check:
if !ds_exists(global.deck, ds_type_list)...
Hi Everyone!
I was wondering if it's possible to add multiples of the same value to a ds list? For example, could I add '24' to a ds_list three times, or would the engine interpret that as an overwrite of the same value each time?
If I can add multiples of the same value, is there any way to...
Hi Everyone,
This is something of a peculiar query, as it is more like me asking for some guidance or advice rather than a specific question persay, so apologies if this is the wrong section.
I'm looking at making a deck building game and I'm just starting to explore the possibilities for...
So I have an object (obj_weapon_gui)
and in that object's create event, I've created a ds_list named SHOTGUN, and a ds_list named CURRENT_WEAPON.
The code snippet below is written in a script (scr_equip_weapon).
The top code snippet works. but it isn't ideal.
I have over 20 weapons, and I...
This code is set up to get the nearest vampire tower, but I occasionally get an error (see below). It only happens sometimes, and I'm not sure why. Could someone enlighten me?
ds_list_delete argument 1 incorrect type (2) expecting a Number (YYGI32) [< That variable varies]
at...
can some1 please tell me why the hell this is not being drawn and gives me an error?
draw_text(xx, yy, list[| 0]);
while i have the same codeline in a script and is beign drawn
draw_text(wv, hv, list[| sel]);
and theyr both in gui events
this is the error
FATAL ERROR in
action number 1
of...
Hi!
I see that GML supports nesting maps inside lists (and vice versa), and has special functions to "mark" these entities when they get added (or afterwards - there's inconsistency in the APIs between maps and lists). I don't see anything that helps you identify whether or not a particular map...
Are DS Stacks and Queues the most performant of the data structures if you simply need a list where indexing doesn't matter?
Is it efficient assigning them to a local variable and then using ds_stack_destroy(id) at the end of the script (for something that happens every step). What are they...
So, storing a single "frame" of a surface works fine.
buff = buffer_create(320*240*4,buffer_fixed,4);
buffer_get_surface(buff, application_surface, 0, 0, 0);
What isn't fine is attempting to load multiple surfaces into a single buffer:
buff = buffer_create(320*240*4*60,buffer_fixed,4); // Note...
Price: Free
Category: Scripts
Modules: All
This is a collection of small but useful scripts orientated toward more experienced GM users.
Data structures are an extremely useful and powerful tool in Gamemaker. This is a collection of scripts to make life with them a little easier.
Accessor...
In all honestly, I'm beginning to feel like I should perhaps drop this "project" until i'm more proficient at the game maker language. Also, I apologize if the title is misleading cause i'm not exactly sure how to explain my problem but i'll try since I feel as if i'm missing something...