Velojet's Recent Forum Activity

  • ... and "randomly pops up every once and a while" is of absolutely no help to a bug hunter. Where do you start? You need to record exactly what the context is for each occasion that it occurs.

  • ZaksCommunicates

    All credit for your initiative, but you really need to have graphics of your themes on your website. Most people won't be bothered downloading your bundles when they can see images of free themes on other sites

  • StephenC

    When you previously reported a 'bug' in this post, I responded:

           See ***READ FIRST***: how to report bugs. In particular:

    "... most people forget to include a .capx file. Most bugs cannot be fixed without your .capx file and usually the first reply to your bug report is "can I see your .capx file?". So please help make things go a bit smoother by including it right away."

    I went to the trouble of trying to help you get your 'bug' fixed, but you don't seem to have taken any notice. Please take notice this time.

  • ... there is a lot of things this program is missing, very SIMPLE things ...

    With a scattershot complaint like this, to be fair, you need to list your "lot of ... very SIMPLE things".

    Let's see them all, please.

  • Yes, "function-like features" for me, too. Would greatly improve Construction.

  • However, I think I may have misunderstood you on one point. Are you actually suggesting that a WordPress plugin be made that, itself, exports a WordPress plugin?

    No, no misunderstanding. I had in mind a standard WordPress plugin that would be listed in the Plugin Directory.

    > But shouldn't even "the tool under discussion at the time" be extracting the width and height from index.html?

    ... it would require a very tricky regex search that could very easily get broken by future C2 versions.

    I can't see that. It's just a matter of looking for the <canvas> tag in index.html and extracting the values from its width and height attributes - pretty standard regex stuff. And because C2, exporting to HTML5, is always going to generate a <canvas> tag, there's just no chance that it "could very easily get broken by future C2 versions".

  • Samples? Thanks!

  • Right, my mention of index.html was in response to yours and Kyatric's responses. I was addressing the tool in specific, as it doesn't currently ask for the index.html contents.

    At that particular point in this discussion, I was not addressing the issue of creating a generalized plugin. I was just referring to the tool under discussion at the time.

    But shouldn't even "the tool under discussion at the time" be extracting the width and height from index.html?

    Two advantages (major goals for all software tools):

    1) Eliminate possible errors in user entry.

    2) Eliminate tedious handwork for users.

  • Ugotsta

    Sorry, I think I'm missing something here. I really don't understand why you say ...

    Right, the index.html has the canvas size, but I didn't want to ask users to paste in yet another piece of text.

    ... when the width and height can be easily extracted by a script from index.html, rather than having "to ask users to paste in yet another piece of text" ??

  • Right, the index.html has the canvas size, but I didn't want to ask users to paste in yet another piece of text.

    Definitely not my idea! I was trying to indicate that your plugin code should extract the width and height, without any user intervention.

    ... Yes, it could be automated as such ...

    Not only 'could', but 'should' :) Make it a real tool that relieves WP users of attending to all those details that can/should be attended to by a sufficiently smart plugin.

  • The type of plugin you're describing would likely allow for the uploading of any C2 exported project and would then make it easy to include the project in a WP page.

    Ugotsta

    Yes, that's exactly what I mean, and what qualifies as a WP plugin in my book.

    It seems to me that all the handwork required by your form/tool could/should be automated by a generalised WP plugin for C2 HTML5 exports. For example ...

    I've just updated the tool so it now asks for height and width and includes that in the output canvas. I couldn't easily regexp search the original c2runtime.js for height/width, especially since dimensions are per-layout, so I've just added it as a setting in the tool's page.

    ... you don't need to regexp search the original c2runtime.js for height/width (they're not there anyway), much less ask users to type them in - they can be taken from the C2 generated index.html (after all that's essentially what the c2runtime.js does).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think I was unclear about what I was getting at. I meant that it would be best to have an exporter for C2 that exports a WordPress plugin, the same way this tool does. :)

    Ugotsta: I wonder if that's what you really mean? A WP plugin is an add-on that WP users only need to do a one-time install into their WP setup, like this Flash plugin that enables Flash movies (or in our case, C2 games) to be embedded into WP-generated posts/pages. Talk of having C2 export a WP plugin just doesn't make sense to me.

Velojet's avatar

Velojet

Member since 22 Nov, 2011

Twitter
Velojet has 1 followers

Trophy Case

  • 13-Year Club
  • x3
    Coach One of your tutorials has over 1,000 readers
  • x2
    Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

16/44
How to earn trophies