Mikal's Recent Forum Activity

  • 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:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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

  • Added runtime custom skin support per instance (Create custom skin, Add to custom skin, Set custom skin). Can have multiple runtime created custom skins per instance.

    Release 1.13.0

  • A number of new updates. The batch render improves desktop performance of multiple instances by roughly 4X on my example system. The support for multiple atlas pages allows for multiple pngs to be loaded for a single skeleton (this can help with multiple skins with different textures per skin or attachment.)

    • 09/11/2020 1.12.1 Change to comma separated instead of space separated for png paths.
    • 09/10/2020 1.12.0 Add support for Atlas pages (multiple png, comma separated), finish implementation of Set Attachment action, fix webgl1 support (revealed on iOS w/o weblg2 enabled.)
    • 09/05/2020 1.11.2 Move spineBatcher.init() to prevent race condition (seen on iOS)
    • 09/05/2020 1.11.1 Remove spine instance from batcher when C3 Spine instance calls Release() (e.g. C3 object destroyed.)
    • 09/05/2020 1.11.0 Implement batch render for improved performance with multiple Spine objects and instances.
    • 08/16/2020 1.10.0: Add Keep Aspect Ratio checkbox
  • Nice work, thanks for sharing!

  • One more firebase addon to check out (I have not tried it myself, but looks interesting):

    sparsha-dhar.itch.io/construct-3-firebase-plugin

  • Example from your project:

    	function resizeImage(runtime, bURL) {
    
    	// runtime.objects.BinaryData.getFirstInstance().getArrayBufferCopy()
    	// has the image data in it, but how do we get it into an img.src or ImageData variable?
    	let img = document.createElement("img");
    	img.src = bURL;
    	ctx.drawImage(img, 0, 0);
    	HERMITE.resample(canvas, 450, 300, true);
    	console.log('[resizeImage] resample complete')
    }

    I imagine you want to do something w/ the canvas image to C3 after that...

Mikal's avatar

Mikal

Early Adopter

Member since 22 Apr, 2016

Twitter
Mikal has 103 followers

Trophy Case

  • 8-Year Club
  • Entrepreneur Sold something in the asset store
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x10
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

19/44
How to earn trophies