Hi guys :)
I'm currently making a board game. The game itself is circular, and I'm planning to use an array to map all the positions at the game board. The problem I am currently having is that I can't seem to add an image point or a coordinate for that sake as a value in my array.
Lets say, that I want to assign the position X0, Y0 at the game board to position X0Y0 in the array, just to make it easy. There is no way to just set XY to X0,Y0 or ImagePoint1.
I have thought about maybe adding an instance variable that represents every slot in the game, and use that to map the position, and then just refer to that instance variable in the corresponding array-position.
Thank you in advance :)
Develop games in your browser. Powerful, performant & highly capable.
Use the syntax : X0=Sprite.imagepointx(1)
It took me a while to figure, I had a rotating object and wanted to find the x value of the imagepoint.
Ah ofc! thank you, good sir!