Mikal's Forum Posts

  • Looking in your project it looked like you are using an element ID that does not exist? 'ElementQa' for ElementQuad2?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can experiment with using my ElementQuad plugin. Here's an example. It will allow you to put your Babylon canvas anywhere in the C3 layers / order (and also add effects to it.)

    construct.net/en/forum/construct-3/general-discussion-7/babylon-3d-simple-js-147886

    The head is a Babylon canvas changed into a texture for C3 ElementQuad.

    Check perf with your platforms of interest.

  • For quite a while now, webkit on iOS has not supported GetUserMedia. Here's the thread on it:

    bugs.webkit.org/show_bug.cgi

    We keep hoping the next iOS release will enable it, but no luck so far. If you find a solution, please post it here (or in that thread.)

    One idea is to try to find a cordova plugin.

    This may or may not work (there are some methods to capture.)

    github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview

    github.com/apache/cordova-plugin-camera

    Also QRScanner cordova plugin:

    github.com/bitpay/cordova-plugin-qrscanner

  • Glad you solved it! In general, any C3 distortion effect usually gets impacted if it's not the 'first' effect in the stack (opacity and color are 'built-in' effects and will be the first effect if enabled).

    There are ways around this which cost some performance in the shader.

  • I like the bunny character, nice style! The bandaid when he 'dies' is a fun touch.

    FYI I helped create a Spine plugin which can probably work with your Dragon Bones character if you export the character in Spine JSON format and convert to Spine 3.8 JSON (there is a converter on the plugin website.) It may help make the transitions between animations smoother (you can add a default mix time between animations.)

    However, in general it's a little more complicated than doing a Sprite w/ an animation sheet.

    gritsenko.github.io/c3_spine_plugin

  • Let's not hijack Artpunk's thread with other requests, look here: construct.net/en/tutorials/grass-interactive-dust-2398 . If you want to discuss more, please create a new topic/post.

  • I understand. If you know JS, it wouldn't be too bad. It's pretty straight forward to integrate into C3 (If it was worth it, you could hire a C3 JS dev, there are definitely a few people who could implement this for you on the forum or on the Construct Community Discord Server.)

  • It's a rest API, so you might be able to some of it with the AJAX plugin and use of the JSON object.

    If that doesn't work, you can use JS C3 scripting to access the API (using fetch / XMLHttpRequest, etc.). It seems definitely possible. I looked at the SR API github, it has not been updated in a few years. It might be good to make sure it's still working and operational before doing too much work.

    It does look a little clunky, you may need the user to copy and paste their special auth keys and save into local storage (but you can perhaps do this 'in game' with an iframe, etc.)

    Here's a library that you may be able to use for this (JS):

    github.com/SwitchbladeBot/node-speedrun (would need to package for web user browserify or something like that.) Also note this library only 'reads' values from the site. It does not have functions to post runs. The full Speedrun API supports posting runs.

  • Thanks for the links, very interesting reading!

  • Nice work, pleasantly addictive as is the genre :)

    Did you make a spreadsheet to figure out the costs, levels, timers, etc.?

  • Release 1.15.0

    Set Slot Color (temporary until new skin set), Set Custom Color Attachment (set color of attachment of a custom skin and set to the custom skin.) Fix one frame animation bug.

    The new ACEs are useful for runtime customization of the Spine skeleton instances.

    Example:

  • Blackhornet, if you are interested, we can discuss C3/WebGL over on the Construct Community Discord (R0J0hound gave me some great tips based on their C2 work.)

  • Here's a JS line clipping library in case you want to do the clipping yourself:

    github.com/mapbox/lineclip

  • In my experience, C3 renderer drawing lines or drawing quads will draw anywhere on the viewport/screen regardless of the worldinfo bounding box.

    If you want to clip to the size of particular bounding box, you might trying to clip the line yourself (e.g. find the line intersection(s) of the bounding box and draw the line with the new coordinates.) Using GetBoundingQuad() to get the coordinates to clip against.

    In the current public plugin SDK I have not yet seen a way to draw into another C3 texture (though I imagine this is what the Drawing Canvas does.)

    Perhaps you could try extending the Drawing Canvas plugin class and add the features you want to it? Or add a behavior to a Drawing plugin object which could do something similar?

  • You are welcome, if you are using it please post screenshots, I am always interested to see it in action.

    Release 1.14.0 Added C3 web worker support.

    Release 1.14.1 Fix PMA bug regression (introduced in 1.11.0)

    Thanks to Erikari over at Esoteric for noticing the PMA issue.

    I added Web Worker support for spine-ts in the SharedAssetManager class, which is used in the Construct 3 Spine plugin. This enables us to use spine-ts and the Spine addon with Construct 3 in Web Worker mode (which can reduce FPS jank in a web browser, decoupling from the main browser thread.)

    The main changes for web worker: use fetch() instead of img.src (loading a HTMLImageElement), use ImageBitMap instead of HTMLImageElement, enable OffscreenCanvas instead of HTMLCanvasElement.

    Construct 3 web worker description here:

    construct.net/en/blogs/ashleys-blog-2/performance-isolation-html5-1512