[Tip] Using snippets in Construct 2

Discussion of tools and resources for game developers

Post » Mon Mar 31, 2014 3:32 pm

Here is my example of reusing events in C2 using a combination of Ditto + AutoHotKey
This is not the best approach... but can be a time saver .
This method saves the content of clipboard to disk using Ditto clipboard manager and automatically loads that content back to clipboard when needed just by using a script in AutoHotKey (needed to run in background). You can save as many snippets as you like.
Sorry about the wrong spelling an the bad video quality... but here is the script used in this video. replace the file path to match your file location
::snip movetolayer::
run "d:\3---salvari\6---Construct_2\_snipets\ditto clips\movetolayer.dto"
http://www.youtube.com/watch?v=_aB3hQsGLiM&feature=youtu.be
[EDIT] make sure objects, behaviours and plugins are beforehand loaded in C2. In my case "function" plugin need to be loaded first.
Image
Last edited by Cipriux on Mon Mar 31, 2014 4:46 pm, edited 2 times in total.
B
79
S
21
G
23
Posts: 513
Reputation: 18,648

Post » Mon Mar 31, 2014 4:11 pm

Very cool!

Thanks Cipriux
B
3
S
1
Posts: 54
Reputation: 433

Post » Mon Mar 31, 2014 4:24 pm

Been needing something like the Ditto clipboard app, thanks.
Image ImageImage
B
169
S
50
G
169
Posts: 8,285
Reputation: 108,214


Return to Tools and Resources

Who is online

Users browsing this forum: No registered users and 1 guest