Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
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 need a little help, how is this well defined? I lack code I think or is misspelled, thanks
I need to create this expression
Object Animation Frame (1)
I need to get frame 1 but I don't remember if it was ="(1)" or not.
What exactly are you trying to do?
AnimationFrame expression returns current frame, it doesn't have parameters, so you can not use it like this: Sprite.AnimationFrame(1)
Assuming I know what this is? example
You may want to use every tick if you want this to be constant/accurate. Also, replace Player with whatever your object is.
Set the dict-key to the object's current frame. Then check if the key's value = 1.
I thought I could do the same as the imagePoint.X, because I wanted to add the (1) or ("Key"), which would be the name of the point, or put there the number of the Image Frame, for I wanted to save that frame in "Localstorage", and not have to create so many variables.
But I don't know if doing this saves me the frame that it has or not. That's why I wanted to do this.
Develop games in your browser. Powerful, performant & highly capable.
I did the last thing I did, which was to save the image frame and it worked, thanks!