Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I am in need of some help here. I have the basic beginnings of a shopping cart made from using an older array inventory example. However, after 3 days of testing it, I attempted to add it into an existing C3 project and was informed that the functions used in the .c3p are deprecated. When I attempted to change the functions to the newer usage I was unable to set array data as string, only as numbers. What am I doing wrong here? Even after changing the parameters to only numbers the array will not populate. Attached is the working .c3P file with the older function plugin.
Any help at all would be awesome.
didn't look at the project, but did you set the Width/Height/Depth of the array in properties?
I solved the issue. Had to set each variable to the array individually. I will post the solution shortly, in case anyone else runs into the same problem in the future.
Develop games in your browser. Powerful, performant & highly capable.
For anyone interested, attached is an example of how to fix the above referenced function to array issue: