JohnnySheffield's Recent Forum Activity

  • It's pretty readable.

    Did you try to tick off the "minify script" tick on the export dialog?

    Cheers!

  • Ahh, i forgot, regarding full screen and node-webkit...

    Not sure, but i think it's safe to presume that it uses the same method of "fullscreening" as chromium.

    If anybody wants a detailed answer, your safest bet is to ask on the node-webkit mailing list, guys are pretty active so you'll probably get an response!

    Cheers!

  • sqiddster

    exe

    Here's a really rudimentary demo of the set window width/height function in node-webkit. Just type some values in the texboxes and hit ok. (You can even try with 1/1, for the ultimate fun.)

    To try it yourself you'll need my node-webkit gui plugin from here.

    Cheers!

  • Nope, no preview for node-webkit...

    I'll whip a demo up tommorow or monday, so i'll reply here!

    Cheers!

  • I agree, but i don't see how to do it, except for scirra team to implement an official node-webkit plugin.

    Currently, all node-webkit functionalities are dispersed on all others plugins, where they can fit (some in browser plugin, some in others).

    I would like to see an official node-webkit plugin in the "platform specific" section of the plugins, with additional stuff that node-webkit provides, but i don't see it as something that is crucial.

    I would prefer that scirra team works on more important stuff, get/set window functionality is easy to implement in a third party plugin, if somebody needs it!

    Cheers!

  • Node-webkit does support changing window width/height:

    window width/height // get/set

    I implemented it in my unofficial node-webkit plugin.

    You can even change the position of the window on the screen, etc... It's documented pretty well. Check out node-webkit github page.

    Even though i'm not sure will the changing the size of the window help performance issues.

    Cheers!

  • Yup, spent few minutes investigating and found a bug in some old plugin. Weird how it didn't show any error on older version of Construct...

    Well, it's all good now, thanks for the quick response!

  • Please move to the closed bug section.

    Re-installed a clean version without third-party plugins, now works properly.

  • Link to .capx file (required!):

    None. The error shows up when i start C2.

    Steps to reproduce:

    1. Start C2.

    Observed result:

    Check failure appears:

    ---------------------------

    Construct 2 Check failure

    ---------------------------

    Check failure! This is probably a bug:

    ACE table: Expression ID duplicated in ACE table

    Condition: exp_ids.find(id) == exp_ids.end()

    File: c:\c2\source\exporters\html5\..\..\common\ERAHelpers.h

    Line: 254

    Function: void __cdecl era::ACETable::AddExpression(int,int,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,void (__cdecl *)(const class era::StaticResult **,int,class era::StaticEvaluation *))

    Build: release 124 (64-bit) checked

    Component: HTML5 exporter

    (Last Win32 error: 0)

    You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way. Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports! Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.

    ---------------------------

    Abort   Retry   Ignore   

    ---------------------------

    If i hit "Retry" or "Ignore", C2 loads and works normal.

    Expected result:

    C2 loads without check error.

    Browsers affected:

    None.

    Operating system & service pack:

    Windows 7 Ultimate, 64bit, Intel i7-2600K 3.40GHz

    Construct 2 version:

    r124

    EDIT: I've just installed r124, graphic driver is up to date, according to the graphic driver check-tool.

  • That's good. When you set it up, please notify me, so i can start contributing to the project!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Nice progress with this plugin!

    You've made some nice additions to the whole socket.io plugin.

    I see that you're using the "unstable" version of the plugin that has the "On any event" condition.

    Although it is crucial to have that kind of condition for making something useful without editing the runtime.js everytime you need a trigger for a custom event, it uses some pretty hackish solution to achieve this. Socket.io doesn't have the Socket.on("*"){} or some other wildcard event that will catch all received events as for now, altough there is some talk about it; see here.

    I had some problems with current implementation with "On Any event" and sometimes it caused problems (non triggered events, although i sent them to client).

    Another issue with this plugin is received data handling. Currently, data is stacked in the LastData array, then extracted from it with some dubious(?) methods. Official websocket plugin has a much more tidy way of handling this, but i'm not sure is that solution suitable for this kind of plugin.

    Also, this plugin became really dispersed on a bunch of variants across the forum. Can we find something like github or sourceforge to track changes and sum our efforts to have one great plugin, instead of 5 different ones? Any suggestions?

    Cheers!

  • I played a bit with the capx; i'm in a hurry so it's not perfect but hopefully it will point you in some direction:

    Platforms will start apearing beneath you, but you'll have to tweak the code more to make it smooth!

    Here's the .capx

    Cheers!

JohnnySheffield's avatar

JohnnySheffield

Member since 31 Jul, 2012

Twitter
JohnnySheffield has 1 followers

Trophy Case

  • 12-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies