Hello
I need a little help, how is this well defined? I lack code I think or is misspelled, thanks
https://i.gyazo.com/cb8f25ac687e1732b7e0c3674554edaf.png
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.
Thank you
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.
i.gyazo.com/abb66d13e9a3eab8a6fc310cd39d95e0.png
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.gyazo.com/7516c04e37cdff3e250f32710266bb72.png
I did the last thing I did, which was to save the image frame and it worked, thanks!