or maybe better:
if number % 1 = 0 it's an int
you could floor() the number and compare it with itself. If it's the same it's an int, if not a float
there are multiple example projects with a camera like this, I recommend checking them out in the example browser
it loads the image to replace the current frame, so just change the frame before loading from URL
with the file chooser object
You might be confused because of the word URL, but that can also just be a local path like "/folder/image.png"
the file chooser has the expression FileURLAt(index)
it does save for me. Are you maybe deleting some browser data after each session?
Bought the JSON+ add-on, being able to have JSON data on the instance as an behavior is amazing, it simplifies picking and also allows to write more performant events as you don't require event sheet loops or picking overhead in a lot of cases. Recommended!
Yes I have had issues with offline mode regularly as well. So I definitely don't trust it.
Develop games in your browser. Powerful, performant & highly capable.
You do not have permission to view this post
did you try these two already?
construct.net/en/make-games/addons/1051/better-crt
construct.net/en/make-games/addons/802/lottes-crt
I would love something like this as well, so I posted a suggestion: https://construct23.ideas.aha.io/ideas/C23-I-361, feel free to vote
Member since 6 Jul, 2017