Drag & Drop axes property as an action

For developers using the Construct 2 Javascript SDK

Post » Fri Oct 30, 2015 12:22 am

yes, you certainly must do some change for your project

You're welcome
Image Image
B
22
S
13
G
131
Posts: 869
Reputation: 68,316

Post » Fri Oct 30, 2015 11:10 am

@MadSpy

In case it's any use to you or someone else, I managed to modify the official drag n drop behavior and added this functionality.

https://dl.dropboxusercontent.com/u/14855413/c2/dragdropmod/edittime.js
https://dl.dropboxusercontent.com/u/14855413/c2/dragdropmod/runtime.js

Example capx:
https://dl.dropboxusercontent.com/u/14855413/c2/dragdropmod/ddmod.capx

To any developers that might see this: I don't know a thing about javascript and it seems I was just lucky to put the right things in the right place :D
Although it works, I'd appreciate if you can take a look and tell me if there's something terribly wrong in this mod.I know that Ashley says not to modify the official plugins, but I just don't have the knowledge to make a plugin from scratch.
B
13
S
5
G
1
Posts: 116
Reputation: 1,805

Previous

Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 1 guest