Make your first plugin - Facebook Payments

4

Index

Stats

9,876 visits, 23,691 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 17 Aug, 2015. Last updated 19 Feb, 2019

So you want to create a plugin

Today I want to talk about making plugins. Over the past couple of years, I have made a few addon sets of plugins for items such as Facebook. I've also completed some freelance work for a few companies and individuals. You can find testimonials by some of the companies on my main homepage over at My website. You can reach out to me anytime for freelance work. With that in mind, let's begin.

First things first. You need a couple of items in order to complete this project. First you will need a text editor. While any text editor will do, you should look for one geared towards programming. I personally use Komodo edit which is an open source programming editor. You may download it over at

Komodo Edit Download Page

You will also need to Scirra plugin template. You can find that over here:

Scirra SDK Template

The plugin template is a zip file with a few different types of addons you could make. We are going to focus on the plugin directory. Please extract that plugin to your plugin directory. This is usually "C:\Program Files\Construct 2\exporters\html5\plugins" but it may vary based on your system and installation. Please note on some systems, you cannot unzip a file into this directory without administrator rights. If this is the case, first unzip to your download directory and cut and paste it into your plugin directory.

Once you have the plugin inside of your plugin directory, rename it to "FB_Pay". This should avoid confilcts with other directories, but if you already have this directory go ahead and rename it something else.

Now let's open up our text editor and give us permission to open our plugin. Right click on your text editor icon and select "run as administrator". The next step will vary based on your editor but what you want to do when the editor opens is open 'edittime.js" in the plugin directory and move onto the next page.

  • 0 Comments

Want to leave a comment? Login or Register an account!