Joe7's Recent Forum Activity

  • vtrix: Yes that's a plugin-bug. I've seen that bug now too.. I'll work on it asop..

  • Construct version?

    Chrome version?

    I cannot confirm this. The 'Preview' works fine in r85,r86

    and Chrome (20.0.1096.1 dev-m), also in Firefox (11.0)

    +) Do you have a firewall (that blocks this port or blocks a local webserver)?

    +) Perhaps changing the preview port helps - perhaps other software use that port?

    +) Have you used a custom plugin? If this throws an exception it can happen that nothings works..

    What logs are in the Chrome-console? [(CRTL)+(SHFT)+ (I) in Chrome]

  • vtrix: It's difficult to find the bug without knowing your project in details.

    I don't know if or how your used library "FileSaver.js" influences the c2 runtime (painting-threads). As far as I've found out during developing this plugin, it's texture has to be "painted" on the construct-canvas (as a blank-image should be possible - the users doesn't see it but it is not "invisible" [in real] ;) ) because some browsers doesn't update the canvas-graphics without a runtime (plugin) redraw. You haven't uploaded the fallback script - so on android-webkit it wont work (but desktop-browsers should have no problem).

    Which Construct release have you used? I haven't testet the plugin with the newest beta r86 - it shouldn't have problems with it but I cannot proof it for now.

  • What do you try to save? Text-objects and objects that are not drawn on the canvas cannot get saved.. sprites on different layers should work-perhaps better with the canvas2d renderer - I suppose but I haven't tried..

  • What do you want to do with that file? Only reading its content or modify it?

    If you want to read its content then the easiest way is using a custom plugin like load Json or csv.. in the plugin thread are examples how to do that.. <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Two possible ways

    -) ajax - read it with php

    -) custom plugins: file reader, csv, Json, call js

    Depends on where is the file, on the server or at the user..

    <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Ajax tutorial to make you familar with the ajax plugin

    --> How Do I - Frequently asked questions - "Ajax" - linked examples..

  • In the linked post is a screenshot of the javascript lines.. but sending score and.. is very easy with the built in ajaxplugin or if you want pass it per post with a custom ajaxpost plugin.. <img src="smileys/smiley2.gif" border="0" align="middle" />

  • You have many possibilities for that:

    With the Id property

    or easier directly with ajax or ajaxpost plugin..

    There are some examples linked in the howto faqs<img src="smileys/smiley2.gif" border="0" align="middle"> and a tutorial for the ajaxplugin..

  • tnewhook

    It should be possible when modifying the runtime.js:

    Copy all codelines that live in the method acts.LoadJSON to the instance-constructor after the variable-initalisation: "instanceProto.onCreate"

    I'll look to this plugin asap - and then make a new release. If you're faster than me and want to share it - post it and I'll link it in the first post.

    Why I have done the loading with an action? My idea was, that it should be possible to reload the JSON-file whenever wanted. It should possible to modify it per ajax and the reload the new JSON-data with then plugin. <img src="smileys/smiley2.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Does it work when you move the sprite with two actions to another place and then back? Should force two redraws - I suppose.

  • History - c2i:

    [Update3] c2i - v 1.3:

    1) The php-file 'createImg.php' gets now created from C2 when exporting the project.

    2) Demo - changed: The demo-project is forced via the project-properties to use the canvas2d renderer. --> should work now properly on whatever.

    [= current workaround to avoid the WebGL-bug - see posts on side 2]

    3) Refactored plugin-sourcecode - no improvements to recognize during edittime but the plugin has now fewer codelines and works as the last release.

    Demo - canvas/sprite/screenshot + Plugin(v 1.3)+capx

    ____________

    [Update2] c2i - v 1.2:

    Screenshots are possible now

    Demo - canvas/sprite/screenshot + Plugin(v 1.2)+capx(WebGL renderer - if possible)

    Known bug: WebKit+WebGL:

    If WebKit-Browsers(Chrome) are forced with the setting in the project-properties to use the WebGL-renderer they create only blank images. Firefox has no problem with WebGL enabled.

    Workaround for now: Use the "canvas2d" renderer. This should work on whatever..

    [/Update2]

    ____________

    [Update] c2i - v 1.1:

    Now the saving of Base64-Strings to images is possible. Together with Pode's behavior "Extract Sprite to base64 string" it's possible to save sprites to images.

Joe7's avatar

Joe7

Member since 14 Oct, 2011

Twitter
Joe7 has 3 followers

Trophy Case

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

Progress

15/44
How to earn trophies