I would need to iterate a part of the list at a time so as to always have the same workload despite the length of the list. I don't have to delete items from the list, but just read it completely in several steps.
I've tried this for now but the list seems to be read incorrectly or not entirely...
Well, I'm having some problems figuring out how to make a procedural map generation.
What I know is that I want map gen like in Binding Of Isaac, where you have a list of pre-made rooms to generate the map of each floor.
The Algorithm is simple (in theory, of course):
Before the Floor start...
for(i=-1; i < exampleListSize; i++)
{ds_list_replace(exampleList, i, 0)}
Will it work? And is there faster way? I have like 500 positions in ds_list and i want to be able to change them all to 0.
Here's my problem: I created my own font in MS Paint., and want to implement it in my project. Gamemakers font options are quite confusing for me, so i looked for the easy way out (I thought) and wrote a few lines of code to iterate through the text, determine the letter and whether it's...
Im using a ds_map for a players weapon inventory, think like a final fantasy game, they can pickup and sell them, and have multiples of each. Im using a map because each weapon in the collection should at the very least have a name, and the count for how many you have.
Anyway, im trying to...
Hello, I'm trying to create a DS map that uses instance IDs for its keys and a 1D array for its values. The problem I'm encountering is that I don't know how to make each 1D array refer to a different location in memory. When I run the code I've included below, GameMaker just rewrites the same...
Hello!
I have been stuck on a 2D array iteration for 6 hours now, I'd love some assistance.
I am successfully reading in data from a text file--the data is:
The code below takes each value in between the "|" and stores it in a 2D array, val [i, j].
The first series goes in ok, i.e. val[1...