Schoening's Recent Forum Activity

  • Hi, I also tried CocoonJS... it is not worthy! Compilation takes a lot of time and it can be even slower.. =(

    Seems like I have to quit using embedded physics and aim some work-around....

    Physics is always an issue with JavaScript. But I am getting smooth 60fps on my old desktop.

  • Cheers mate

  • I don't see how anyone else can help you if you are testing non-standard plugins that no-one but yourself has access to.

    Do images normally show, especially on a 'vanilla' installation?

    If so, then the finger of suspicion points to your plugin devs.

    Thanks for the tip! I did a vanilla install to check.

    I must accidentally have changed the Sprite Plugin...

    Done here. Ty

  • Did not want to put this in the Bug Report quite yet. As It could just be that I messed something up working on plugins in the SDK.

    But take a look. Colors and Images are not showing inside the editor:

  • Since I am working on a 3D plugin + 3D model importer I was wondering if it is possible to render the 3D models inside the Editor? It uses V8 but does it support the <canvas> element? This is not really necessary for the plugin. But it would make things look a lot nicer if I could show my 3D models inside the editor rather than just colored squares.

    The models I import are in the JSON format. So I suppose if I went out of my way I could write something that at least would draw the wiremap. But if there is support for the <canvas> tag I could skip all this and just use the 3D rendering library inside the engine.

  • I got a plugin that acts like a array. And I would like create a second plugin that can then select one of the array plugins at edit-time to be added to them. I can't find anything in the sdk manual that looks like that. Could you point me in the right direction?

  • Thanks Ashley. I look into it from the Three.js side then

  • It appears that my function is called twice. This is a problem obviously.

    And my console log displays THREE.WebGL Renderer 67 twice!

    Do you have any idea why that could be?

    There only is one object in the game.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am writing a plugin + behavior.

    In the simplest way explained the plugin will be a Array.

    And I want to add objects with the Behavior to be pushed into the Array.

    Any tutorials on this? Or plugins I should read through?

  • Aye? Node-webkit plugin or something?

  • Hey, ! I'm kind of a noob when it comes to Construct 2, though I've been trying to discover some form of a "save" functionality that you just described for saving JSON. As it stands there is this tutorial(manual entry) called 'Using project files in Construct 2' on scirra.com. If you search for the 'Making level editors' section in the manual entry, it will describe some plugins you could use to save data, which are the Array and Dictionary Plugins. Both the Array and Dictionary Plugins have DownloadJson and LoadJson Actions which can be used to store the data in a file and load the data from a JSON string. You'll also need the AJAX plugin to request the JSON file. Below I'm providing an attached .capx demo project of saving/loading the JSON. I'm using Project files though so I had to import the test_json.json file that contains the saved JSON format of the Array Plugin Object that I used in the demo project to store a JSON string of the example_json.json file. It automatically asks you to save a file test_json.json upon running the project. And you can click the 'LOAD JSON' button to load the JSON format of the Array Plugin which was orginally saved and then imported into the project unfortunately. If you used the Request GET or Request POST Actions to call scripts to return/save the JSON instead of the RequestFile Action on the Ajax Plugin, you could bypass the need to import files and use the Array Plugin. And if you're interested search for this work in progress Plugin for parsing/forming JSON strings: '[plugin] JSON (import/export/generate/edit/inspect/...)' .

    Thank you so much man!

    That's all I need I'm good to go. YAY!

  • I am currently writing a 3D game in JS with a Text Editor.

    But I would like to use Construct 2 to quickly prototype a level editor for my project.

    It would greatly simplify things if I could just download a JSON via a "save" button.

    Is this possible?

    Or is there a third party plugin that can do this?

Schoening's avatar

Schoening

Member since 24 Jan, 2012

None one is following Schoening yet!

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