Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
Returns true if the stack is empty
Allows you to compare the first value of the stack
Allows you to compare the length of the stack
Adds an element at the end of the queue
Removes the first element of the queue
Load the queue from a JSON string
Clears the queue
Returns the first element of the queue
Returns the first element of the queue and removes it
Returns the queue in JSON format
Returns the length of the queue
can you describe a little bit more what this addon is for ?
Hello, there isn't much to say about it. It literally replicates the way Queues work as a data structure. I recommend you look at this page that explains it pretty well:
Basically, it's like a list, but instead of being able to add or remove data where you want, you can only add data to the back and remove and get data from the front. It's a simpler and more narrowed down version of an array, but it's really useful when you only need that type of data structure, and not a whole array.
For example, if you record a set of actions in your game, in order to replay it later, you can use a queue data structure. There are lots of applications for this.
got it thx :) .