Make your first plugin - Facebook Payments

  • 16 favourites

Index

Stats

3,183 visits, 9,724 views

Translations

This tutorial hasn't been translated.

Tools

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

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