Learning JS, how do I get started with making plugins?

For developers using the Construct 2 Javascript SDK

Post » Fri Feb 28, 2014 7:11 am

Hello! I'm learning Javascript now and I'm trying to learn fast. Obviously, I'm not anywhere near pro enough to make a real plugin, but I just think that understanding the steps in the process and how the whole things works might further my understanding of programming and Javascript. Are there any good tuts out there? Anyone care to explain how it works?

I really appreciate it. Thank you!
B
11
S
2
G
1
Posts: 172
Reputation: 1,486

Post » Fri Feb 28, 2014 8:03 am

@teacherpeter

Read the SDK and source code of official plugins. I started at bullet behavior (a long time ago), and my first plugin is rotate behavior.
B
109
S
27
G
278
Posts: 4,483
Reputation: 155,426

Post » Fri Feb 28, 2014 8:05 am

The first page of the SDK manual page contains the first steps about JS.
Then, in regards to making plugins, you can check out the template that Scirra provides. It is a skeleton of the required files/structures that you then fill with your own content/JS accordingly to the plugin you want to make.

Checking out already existing plugins/behaviors (those packaged with Construct2) is also a great help.

Finally as far as tutorial goes : https://www.scirra.com/tutorials/352/plugins-roll-your-own-with-the-javascript-sdk
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
294
S
117
G
96
Posts: 7,313
Reputation: 71,094


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests