Hey, I'm new here :)
I was wondering how can I save one position coordinate (x, y) since Construct doesn't have the type Vector to variables...
Btw, english isn't my mother language, so sorry by any grammar issues.
Develop games in your browser. Powerful, performant & highly capable.
Do you mean co-ordinate in the game layout? Because you tagged array there. If you mean position of the object in the layout then you can use 2 global variables, one to save object.x and one to save object.y
I mean your second suggestion and it's exactly what I did, but I was wondering if there is a better alternative. I have to many objects that I need to save the position, so creating global variables for each X and Y coordinate of each object is a pain in the ass... In the image below I highlighted the objects of my game scene to better exemplify.
Arrays then! :D What are you using the co-ordinates for in the gameplay? For example if you go to select an object you would know its x,y at that point, do you really need to store the data?