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.
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...
So I've got 2 arrays, one is storing all of the coordinates and the other one is storing IID's of all sprites(it is a 4x4 sprites grid). How can I match the ind...
I'm using Arrays to randomly generate planets in a solar system. Essentially, it's just a For Each loop that goes through each planet and randomly picks from tr...
For some reason and it's probably something I'm not understanding but I have this function here: And in this function, it sets some array values and then checks...
How do I see the contents of the 'players' array, my plan is to push a player object with properties into it, is that possible? This is an example of an array c...
My project - I needed that when I clicked on a sprite, the sprite would be deleted and its value in the array would change to 0. Example: The ground sprite in t...
I want to create empty array to root level JSON like this: []. So then I will add new objects with it later. For example: I'm using this: JSON: Set "" to array...
In my game, players can get achievements by doing certain actions (right now I have a temporary conditions where I press letter Q to activate achievement 1, and...
I was trying to make a mass multiplayer game, a game with no limits on player count. There's no object sync, it just sends a X and Y message to all players and...