Content tagged array
A data structure consisting of a collection of elements (values or variables), each identified by at least one array index or key.
I've been searching for a while now, but I can't figure out how to display values from a 2D array in a table. The table can be a text object or HTML object (or...
Title. And the exported type is NW.Js.
I have an object with different variables and boolean that I saved in an array in the right place like this: Then when I reload my layout, I would like my objec...
I'm making a trivia game. I have a JSON file with 300 questions and answers but I only want individual 'games' to consist of 7 questions. Currently I can iterat...
I have some variables and values in a dictionary and I would like to compare the variable to an entry in an array. For exemple in my array I have an entry like...
I'm trying to create a simple in-game constructor that will allow players to build a certain object from parts. Some parts can only sit at the bottom and some p...
I would like to use arrays like variables. The four things I would like to do are: Pass them as a parameter in a function. Make new ones as local variables (or...
Actually I want to create an object that has properties and is pushed into an array if possible. Then I tried it this way: Create a sprite object and add some i...
How to fill an array with numbers that increases exponentially from a fixed number (e.G. 500) to any bigger number (e.G. 1000000000) with possibility to adjust...
I'm creating a puzzle type game in which certain sprites are being created on the start of the layout. So in that, there are 2 arrays, one stores all of the coo...