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.
Hey everyone! What I'm trying to do is count how many times a certain value appears in an array, and set a variable to that number. Here's the code I have: What...
Say I have 10 characters (this is just a make belief example I'm not actually doing this in my game) with different heights, and I want the game to sort them in...
So, I'm making a Sonic Engine, and I'm storing all of the angle values in an array. My plan is when Sonic Collides onto ground, it'd get the Tile ID, and use it...
In debug mode, I can see the content of an array, which is cool but not easily readable. Is there a way to display this content in an actual array ?
I use Ajax to access a servers API. The problem is that I don't receive the data as JSON but as an array. It looks like this: {"data": }. Maybe I'm stupid but I...
I am creating a online database, so I want to write a large array (72x42) in Google sheets then read it again with Construct, but when I want to do it, Google s...
I wanted to store star counts for each level in array and save it and load from where it left. The problem..everything is stored before loading...But after load...
I wanted to store and load, score of each level(nearly 10). Everthing works fine..i stored and load in Json. But, if we play the level again..the score keeps on...
I have attached the sample of my project. The level unlocks and resumes after storing it. But stars are not showing up after the restart. I have used array. Ple...
An array creates a number of X elements and gets them filled with different numerical values. I'm trying to set up a for-each loop that compares the current val...