Mikal's Recent Forum Activity

  • Grimmy - I have found with the variety of Android devices, it really depends on exactly which platform you are testing on.

    You can also get it on itch and if it doesn't work out for you, we can do a refund through itch.

  • samuelbromley fun, you might want to check out the ProUI addon.

    aekiro.itch.io/proui

  • Is it possible to get the project sampling setting in the editor? I am using it to set the options for dynamic texture appropriately (as I can already do in runtime.)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • GLB and GLTF support with single embedded texture

    The addon now supports both glb and gltf embedded file formats, including support for a _single_ embedded texture.

    If a texture is present in the glb or gltf embedded file it will be used as the texture of the 3DObject model (there then is no need to load the image of the 3DObject, it can be left blank or fill with a solid color, etc.)

    If a texture is not present in the glb/gltf, then the 3DObject image will be used (e.g. load texture manually into the image.

    kindeyegames.itch.io/c3-3dobject-alpha/devlog/343359/glb-and-gltf-support-with-single-embedded-texture

  • Understood, thanks.

  • Think of bbox override as the area your Spine instance will render into. If scale is set to 1, it will be the same 'coordinates' as your Spine project.

    In general, your Spine animation should stay centered around a point in your Spine project. If you have a jump or leap animation, it should be done 'in place' and the actual vertical or horizontal movement should be done by moving the C3 Spine object during runtime in C3.

    The width and height are the size of the area that is rendered into, so it should be sized to encompass all the movements of your Spine object (e.g. large enough to capture a swinging sword.)

    The offset x and y are used to center the area around your character. For example, if your character is centered around 0,0 in the Spine project, the offset should generally be -1/2*width and -1/2*height.

    The main thing we usually do is experiment a little, using a scale of 1.0, then use height and width of the object itself to scale as needed.

  • Is it possible for a plug-in to fetch a file from the web in the editor?

    For my 3DObject plug-in, I'm adding an option to fetch the glb 3D model from the web during runtime, I have implemented this for runtime, but it seems like due to the specific cors setting for the editor, I cannot do this in the editor.

    I know I have alternate ways to do this for the editor to work (e.g. have a placeholder model included in project files), but I wanted to see if I was missing something about the editor cors settings.

  • If you are trying this in preview, it may be due to how C3 remaps project files into blob URLs. Here's what works for me in preview:

    const fileName = '1.png'
    
    const url = await runtime.assets.getProjectFileUrl(fileName)
    
    var image = new Image();
    
    image.onerror = function() {
    	console.log("No image");
    }
    
    image.onload = function() {
    	console.log('image:', image)
    }
    
    image.src = url;
  • Sorry, this is an old project and it no longer works in C3.

  • tuzke good job figuring it out! So, no raw data uris, that's much easier to handle!

    reimuxx do you have a simple test case I can look for the animation mix/finish issue?

  • For instant games, I think C3 changes the files into raw data URIs. In previous versions of the plug-in (1.x.x), raw data URI are not supported by spine-ts 3.8, so it will not work.

    However! In the beta version of the plug-in 2.x.x which uses spine-ts 4.0, there may be a chance for this to work, but I have not tested it yet, there may be work to do.

    You could try the 2.x.x C3 spine plug-in version, just to see. Otherwise, wait for me to test and figure out if some changes are needed to enable the raw data URI support (I have not developed FB instant games before.)

  • You are welcome reimuxx.

    It works for me in R278.2, did you try the sample project with the release?

    If it does not, can you check the dev console for errors?

Mikal's avatar

Mikal

Early Adopter

Member since 22 Apr, 2016

Twitter
Mikal has 112 followers

Trophy Case

  • 9-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • 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

21/44
How to earn trophies