I'm seeking plugin developer to teach me.

  • Hello, I'm looking a plugin developer which used Javascript SDK.

    I'm currently writing a plugin for FGL platform, it's for every developers who want to upload your mobile games, each game with FGL plugin are approved, you get $ 200 as upfront payment.

    Since the current opportunities are marketplaces, the deals for each will be rev-share based (you earn 70% of net earnings), but they're willing to pay you $200 upfront per game for your time, simply to implement FGL mobile platform API.

    There a screenshot that I'm working with this plugin:

    <img src="http://i.imgur.com/EBKaZsm.png" border="0" />

    Is not completed yet.

    I have a problem, with this plugin, I couldn't manipulate canvas ID element to get it working.

    <img src="http://i.imgur.com/n507lRm.png" border="0" />

    This is volunteer job, I have no resources to offer you, but there no hard work for you... I hope you don't mind.

    Thanks!

  • You are making great job, thank u. Unfortunatelly i could not help u however i really appreciate your effort and i wish u good luck. I am waiting your plugin and start to improve my javascript skills.

  • mustafaaskin Thanks for your feedback, but you say you want to improve your javascript you would mantain this plugin.

  • I'm not a master of HTML but I would think based on your sample that you might want

    <canvas id="game" width="100%" height="100%"> </canvas>

    also are you sure you want "game" and not "c2canvas" which Construct 2 uses? I don't use FGL or been to there site.

  • jayderyu Thanks for your reply, it's easy to fix, no need to use id "game" it would stay with "c2canvas"

    I only have problem is runtime.js which is implemented by myself, it's giving me errors.

  • What kind of error?

  • jayderyu

    I've tried to implement a simple action like, it works in vanilla JS, but with C2 plugin gave me error:

    fgl.showAd();

    <img src="http://i.imgur.com/wqI1M2C.png" border="0" />

    <img src="http://i.imgur.com/xJGjqK6.png" border="0" />

    It already linked with fgl.js as dependency in edittime.js, I don't know how to fix

  • Unfortunatelly <img src="smileys/smiley12.gif" border="0" align="middle" /> Joannesalfa, i can not. My knowledge is not enough. Good luck for u and i believe there are a lot of people in that forum who could help u.

  • I found this tutorial about Yepi API:

    ht*ps://w*w.scirra.com/tutorials/727/implementation-of-the-yepi-mobile-api#h2a3

    Maybe you can PM the developer of this plugin to do the same for FGL SDK.

    I can't PM.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I found this tutorial about Yepi API:

    ht*ps://w*w.scirra.com/tutorials/727/implementation-of-the-yepi-mobile-api#h2a3

    Maybe you can PM the developer of this plugin to do the same for FGL SDK.

    I can't PM.

    Hey, someone did send me a mail about the creation of a FGL plugin (I made the Yepi plugin). <img src="smileys/smiley1.gif" border="0" align="middle" />

    Don't know if this has been resolved already, but without having really looked into it yet, it seems to me you are missing a js file dependency here.

    I will take a closer look in the next few days though for sure.

  • Hi PixelRebirth if you could help me, I'm glad.

    The file depencency is already included, screenshof of preview with chrome dev tools

    <img src="http://i.imgur.com/ldefvXU.png" border="0" />

    If you notice there an error, I'm pretty sure C2 engine conflicts with that. Compared to example file without C2 engine, it didn't show any error.

    <img src="http://i.imgur.com/o9vQPSP.png" border="0" />

  • Hey Joannesalfa,

    would you mind sharing your plugin with me so I can have a closer look?

  • Please share it with me as well. Let's get this plugin out there.

  • I tried to do it myself trying to copy the way the Yepi plugin was made.

    But I have a problem because the FGL API has a big function that contains other functions like:

         window.fgl = new function(){

        var self = this;

        ......

        

        /**

         * Initialises the API. Pass in the element which contains your game, and your game ID

         * obtained from FGL.com

         */

        self.create = function(gameElement, gameId) {

            .......

                }

            }

            self.gameId = gameId;

            self.container = gameElement;

        };

    }

    I need to access the create function from runtime.js

    If the function create was not inside the window.fgl function I would call it directly with "create".

    But now?

    I also tried to remove the whole window.fgl function but now only the first create function is called, and obviously I need all the functions.

    I think I need some help.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)