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.
Develop games in your browser. Powerful, performant & highly capable.
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.
I did the last thing I did, which was to save the image frame and it worked, thanks!