It is possible, but you will have to create a family with this object and move Physics behavior to the family level.
Then you can pick one instance of the family, another instance of the object itself, and create a joint between them.
You can use this expression:
OverallVelocity = distance(0, 0, Sprite.Physics.VelocityX, Sprite.Physics.VelocityY)
Thanks, Ashley! I'm surprised how this was not noticed many years ago.
Sparsha Thanks.. I'm so sick of these random bugs with the desktop app. Projects with Classic scripts mode not working, developer console crashing, now this.
Tom , Could you please add an option to change the order of images in the Gallery?
Desktop app crashes (closes) when running a project with FileChooser object. Create an empty project, add FileChooser, run - instant crash..
Anyone else have this problem?
When I set a positive angle value to layer, it's rotated counter-clockwise. Why?
dropbox.com/s/v00c1mot42mzmf2/LayerAngle.c3p
Why did you post the same question in C2 and C3 forums? What version of Construct are you using?
Oh, you are right, ObjectTypeName expression is missing for Dictionary or Array objects. This is odd. Reported:
github.com/Scirra/Construct-3-bugs/issues/4692
Are you using runtime 3 in your project? If not, this expression will not be available.
Type the family name followed by dot, then you should see ObjectTypeName in the list of expressions.
(It only exists in runtime 3)
I think the trick with a new object with NoSave behavior should work. Have you checked in Debug Mode what's happening with this object?
Another option is to create a new variable to replace the old "readyLevels", and set it as Constant. Constant variable will not be restored from the saved game.
You can add both Dictionary objects to a family, and then either pick by an instance variable, or use this event:
System Pick by Evaluate DictFamily.ObjectTypeName="name"
Develop games in your browser. Powerful, performant & highly capable.
It's still not clear how you define the curve. You can use 3 points and qarp function:
dropbox.com/s/cws804r2mpvah5s/quarp_drag.c3p
Maybe this demo will be useful?
howtoconstructdemos.com/draw-a-path-on-the-screen-and-move-your-character-along-it