JohnnySheffield's Forum Posts

  • maybe this pode's behaviour will be of assistance?

  • You could try to use browser's "execute javascript" action and try to append script to head; something along the lines:

    $('head').append( ... );

    or

    document.getElementsByTagName('head')[0].appendChild( ... );

    but i'm not sure how it will work, and you'll probably have hard time debbuging it.

    You can look on this thread here, seems like a lot of good info:

    http://stackoverflow.com/questions/1900 ... javascript

  • If you're using SDK to develop a plugin for your needs, refer to the manual: https://www.scirra.com/manual/18/plugin-settings and look for "dependency". They will automatically be added to the html file.

    Cheers,

    Nikola

  • What plugin have you been using for generating pdf's?

    Also, can you give more info on the errors you get?

  • Au contraire!

    I've been living from C2 and teaching C2 for more than a year now. With my company i'm responsible for more than 300 new users of C2 in Croatia. I've been developing C2 games for clients also, and am currently opening my second company which will be focused on creating software with c2 and other tools and game engines. Also, i'm one of the first C2 users to export C2 games to NW, and first to create a plugin for Node-Webkit. Even the documentation and plugins i created served as a basis for implementing official support for nw export in C2.

    I was implying that if you have a client that requires some features, your job is to find a solution for this problem (and you don't need to look far, the solution for the problem that caused this whole thread is posted in the original bug thread and requires c/p a few files). And if you see that C2 isn't suited for the job, you either find a solution, or deny an offer. And believe me, there are situations when C2 isn't just the tool for the job (3d apps are the most obvious).

    I've vested a lot of time in C2, and i believe it's a superb software. But don't be afraid to step outside of C2, and, let's say learn more about node and nw and, even perhaps, pack your nw apps manually. It's a rewarding and surprisingly easy, and you'll get more fine-grained control.

    edit:

    I just wish there was more due care taken when you update 3rd party software to newer versions, just test them first to ensure its not utterly broken before including them in C2 updates.

    ...

    We don't need more fancy features so much as we need the native exports to just WORK and with the ability to monetize our games.

    • Yes! I fully agree!!
  • JohnnySheffield

    Your answer sounds like one of those fanboys I post earlier about, who can't see real issues with C2 - and I'm not talking about current exporters problem.

    So yeah, I'm sorry but I won't even bother to answer to your points.

    shinkan

    That's cool.

    Thankfully C2 isn't the only tool i'm using for creating, so i don't get bothered when a tool designed to create javascript games doesn't work properly as a native application.

    Each task requires it's own tool. That's why there are plenty of languages, engines and devices to choose from.

  • ...

    BUT it will definitely mean well written and robust export options that work best for Construct2.

    ...

    Whenever you are in a chain, you're only as good as the weakest link.

    Do you really believe that Scirra, no matter how many employees gets, could really compete with number of contributors and man-hour spent in development of Chromium and Nodejs? And i'm just talking desktop here, i won't even touch mobile. You're getting robust as it gets in the world of javascript games.

    And that gets us to your second point i would like to address. You're always in a chain and depending on some third party software. You're using Windows, remember? Even if you go down and write in pure assembly, you still have some hardware beneath your code which is out of your control. Things are like that, get used to it.

    I paid money for this product and other did as well. That means they are obligated to support every single issue I or any others are having with this product.

    ....

    It looks like Ashley can not understand the gravity of this situation, that people actually use this software for a living.

    Unfortunately, no. They are obligated to send you an installer for their product called 'Construct 2'. That's same as arguing that when you buy a car, the producer of the car is responsible to support every issue you have with that car.

    Regarding using this software for a living, it's just your risk to take, and expect to provide solutions without first checking if they can be implemented.

    I feel like we're becoming a bunch of spoiled kids without seeing how many advanced technologies we're given to use without thinking about them. Almost every project created with C2 could fall into category of "Chrome experiments".

    And regarding NW and problems with it, my only words to you is:

    Fork it, read the source, identify your bugs, fix em and continue with your game. If you're polite, send a merge request and specify which bug you're fixing. We would be still stuck with awesomium if it weren't a bunch of people spending their time fixing and creating NW for zero money so we can complain here how it doesn't work.

    Please keep in mind, C2 is still young, no matter how mature it looks. Scirra is doing a superb job.

    Could it be better? Sure, it could. If you don't like it, go use Unity. You'll see the grass is not so greener on the other side, and the problems are similar.

  • i havent test it on phonegap yet...

    i'll look into phonegap support and report here my findings.

  • i'm relyng on thehen 's flurry plugin for some time now, and it's working great. if i'm not wrong, it works with cjs also. a big thanks to thehen!

    at first i was sceptic regarding flurry, but after a talk with one of the engineers from nordeus ( developers of top11, a footbal manager with milions of daily users) and his assurance that flurry is working for them as a charm, i had nothing to say no more.

    tl;dr: flurry analytics

  • Please use the manual. A simple search with query "clipboard" would have sent you to a node-webkit page manual which states:

    ClipboardText

    The current text that the user has copied to the clipboard, if any. This allows you to 'paste' the data automatically.

    Although this will help you only if your game is meant to run on node-webkit. If you're targeting browsers, there is no viable solution supported across browsers, except IE's

    window.clipboardData.getData('Text')[/code:qsqqilv7]
    
    I've managed to come across this data with two searches, one on manual, one on google, and i've spent 8 minutes of my time on this post in hope that someone will learn to use the resources given to him. 
    
    Please use the search function on the manual, forums  and google before asking questions.

    Superb news! Finally a great way to sell plugins here, we were on a breach of a wild west on the forums and all kind of selling mechanisms without any quality insurance.

    spongehammer I wouldn't be so worried, there will be a lot of free versions of paid plugins soon, and this is a great mechanism to promote quality in plugins. I'm all for open-source, and this won't stop open-source plugins but this is the right way to go! Props to Scirra!

  • Maybe this gives some valuable clues; i experienced the same bug on win 7, but only with Kyatric's CBhash plugin. I can confirm this bug is happening with r175 and Kyatric's plugin. All other plugins work flawlessly.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • [quote:3g252y0v]Updates do not wipe installed plugins, since they are also installed to %appdata%\Construct2\plugins which the installer should never touch. If you delete this folder as well as the install directory, all your plugins will consequently be uninstalled.

    Thanks for the reply, this explains a lot! Since nobody seems to be able to reproduce this, problem is obviously on my side.

    Cheers!

  • I've played with hacking on physics plugin. I found it useful to create joints between objects with picking by uid (if i'm right you can currently pick an object only in editor). it was simple but very useful edit, maybe you could implement something like that in your plugin.

    Regarding edittime properties, please give more detail, not sure what's going on...

  • Problem Description

    Sometimes after C2 re-install/update i'm missing some/all previously installed third party plugins and behaviours.

    Attach a Capx

    Non applicable

    Description of Capx

    Non applicable

    Steps to Reproduce Bug

    • Install C2
    • Install third-party plugin/behaviour
    • reinstall/update C2

    Observed Result

    After reinstall sometimes i'm missing all/some plugins/behaviours. I saw this problem multiple time, although i couldn't pinpoint what causes this issue so i refrained from posting this issue. On average every 15 re-installs i loose some plugins. Also, i've done multiple re-installs of my whole system in between this bug occurring, so i'm 99% sure it's not linked to my system. Seems that uninstall sometimes cleans the whole install folder. Maybe it's possible to load third party plugins from some external location on hard drive?

    I haven't saw any posts of this problem so i'm not sure is this a problem on my side, but it happened again after updating to r175 so i'm posting here. Also, i'm interested am i the only one seeing this problem.

    Expected Result

    All third party plugins and behaviours remain intact

    Affected Browsers

    non applicable

    Operating System and Service Pack

    win 7 ultimate

    Construct 2 Version ID

    r175, although i'm seeing this for some time now.