Hi guys
I have an object with several Imagepoints and I am trying to express the imagepoint name with an variable. It doesn't seems to work.
So is it possible to set the imagepoint like this:
Set position to Object.ImagePointX("Variable"), Object.ImagePointY("Variable")
Thanks in advance guys
yes You can do that.
if it's instance variable
Set position to Object.ImagePointX(Object.variable), Object.ImagePointY(object.Variable)
or global variable
Set position to Object.ImagePointX(variable), Object.ImagePointY(Variable)
sadly with global variable didnt worked...
Ill try with instance
Thanks alot
<img src="http://dl.dropbox.com/u/34375299/Construct%202/examples/imagepoint.JPG" border="0" />
Sprite have image point called "point"
Develop games in your browser. Powerful, performant & highly capable.
You are right.
I did the samo example and it works, even when variable is number.
Still doesnt work in my project tho. Anyways at least i know its something else.
Thanks for the help m8t
cheers