lucid's Recent Forum Activity

  • Ashley - thanks. I mistook that as edittime stuff similar to C2.

    I got almost everything working. The API is excellent and thorough. I did run into a few things I can't figure out:

    1. I can't find anything about creating families and adding object types to them. Is this supported yet?
    2. I'm getting TypeError: eventBlock.AddCondition is not a function. The same for AddAction. In fact, if I log an IEventBlock to the console, it looks like it doesn't contain any properties or functions not derived from its parent:
    3. I don't seem to be getting the 'promise'd IAnimationFrame from ReplaceBlobAndDecode. I need it to specify the pivot point on the first frame. I don't see an option to remove a frame either. This works: currentFrame = await firstAnim.AddFrame(imageBlob, fileWidth, fileHeight); But for this currentFrame is undefined: currentFrame = await currentFrame.ReplaceBlobAndDecode(imageBlob); I tried using a separate variable to hold the result just to be sure there wasn't anything strange happening, and it had the same result.
    4. I couldn't find a way to make the first blank frame of an animation a specific size. IObjectType.AddAnimation would let me specify the first frame size, but I don't see a RemoveAnimation. IAnimation.AddFrame is the same situation with no RemoveFrame.
    5. IWorldInstance has GetOpacity but no SetOpacity. Is there any way to set the opacity?
    6. I'm still getting a bunch of these errors, though everything seems to be working anyway. Is it safe to ignore or will it cause issues down the line?
    7. How would I get a blob from an entry to use with IProject.AddOrReplaceProjectFile(blob, filename, kind = "general") - say I started with: const entry = zipFile.GetEntry(fileName); Also, how would I create a subfolder in the project Files and place it in there?
    8. Any way to import sounds yet?
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ashley - finally got around to trying this out on the Spriter plugin. I had a couple of questions. First, is this documented anywhere aside from the CustomImporterPlugin in the sdk?

    Could you please provide a link if so? I wasn't able to find it in the sdk documentation.

    If not, I had a few specific questions.

    1. How would I go about making a blank frame in a sprite of a specific size?

    2. How would I add additional frames to an animation?

    3. Is it possible to add events yet, and if so how?

    4. I'm getting a bunch of errors like this:

     main.js:63 Error loading texture: Error: no content set
     at n.ǃIkK (main.js:80)
     at window.ǃISB.ǃIkG (main.js:80)
     at n.map (main.js:80)
     at Array.map (<anonymous>)
     at window.ǃISB.ǃIky (main.js:80)
     at window.ǃISB.ǃIkN (main.js:80)
     at window.ǃISB.ǃIkR (main.js:80)
     at window.ǃISB.ǃIki (main.js:80)
     at window.ǃISB.ǃIgS (main.js:80)
     at n.ǃIgS (main.js:80)

    when attempting to load images from the Spriter json format. I've confirmed with console logs that it is correctly retrieving valid filenames that exist within the zip. Any ideas?

    Thank you.

  • NetOne - I won't get to working on the plugin until after Spriter 2 1.0, which will be a while, but that's the idea, yes.

  • XpMonster - thank you. There will be a new runtime for Spriter 2.

  • sagispin - That isn't currently supported. I can't give an eta for that feature, but that is something I want to add.

    - indeed. Again, I can't give an eta, but I do plan on updating the runtime as soon as I can.

    Here's the latest Spriter 2 gif:

    A new way to animate

  • - You probably know about this already, but just making sure.

  • Anyone following this thread, please refer to the main Spriter thread to avoid multiple posting each time. Thanks!

  • Dragging multiple soft selected points

  • thanks tarek2

    here's some basic patch editing - toggling between access to internal control points

  • Spriter 2 Teaser!

    Subscribe to Construct videos now
  • Subscribe to Construct videos now
  • yrokhlin I will get to this as soon as I can. Sorry for the delay. Still deep into some Spriter 2 related things.

lucid's avatar

lucid

Member since 16 Jan, 2009

Twitter
lucid has 22 followers

Connect with lucid

Trophy Case

  • 15-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
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

22/44
How to earn trophies