Laserwolve Games's Forum Posts

  • I don't have the "Save to local browser" save option, in either Chrome or Edge. Any ideas?

    Tagged:

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You're correct, but I'm hesitant as replacing sprites wholesale with WEBMs, while theoretically possible, isn't being done in any other engine or game as far as I'm aware. I'll give it shot but I'll be back to Construct again if it doesn't work. haha

  • I've seen a project with hundreds of webm videos.

    That's good to know, as I was worried about CPU usage with playing multiple WEBMs simultaneously. If you're at liberty to share any more details about that project, like who is making or it where I could find it, that'd be greatly appreciated.

    You can preload multiple videos in multiple instances of Video object

    That'd work in a normal Construct 3 project but DaggerQuest is anything but that.

    The player character is actually 16 different sprites: (body, head armor, chest armor, leg armor, boots, gloves, main hand, off hand, and shadows for each of those)

    and each sprite has 12 animations in 16 different directions:

    Ideally what's needed is something similar to the sprite's actions to load and unload images from memory. An action for the Video object to load or unload a project file.

  • So I've got an NPC that has an idle animation. Like any idle animation, she doesn't move much. Here's one frame:

    If I convert all the frames to a WEBM, it's 95% smaller!

    Google Drive link to WEBM.

    Has anyone tried to replace sprites in their project with the video object and use WEBMs? Does anyone know of a way to preload multiple videos into the video object, to use them like different animations for a sprite?

    Tagged:

  • You do not have permission to view this post

  • Issue: github.com/Scirra/Construct-3-bugs/issues/5895

    Each frame in the sprite's animation has a different size, and origin image point location. That's the only thing I can think of that may be causing this issue, although I don't have any theories as in why.

  • Scroll down on the properties and click "Make 1:1" to correct that.

    Typically you shouldn't get values like that. I've gotten decimals like that when I change sizes of scaled objects or something like that. But I don't understand how that occurs for unscaled objects.

    A R0J0hound reply usually means my problem has been fixed. Unfortunately I just dragged the sprites in, so they were already 1:1. I still smacked that button just to be safe but I still have the same issue.

  • These are called floating point errors. Unfortunate result of how computers do math pretty much.

    I figured as much, it's pretty obvious it's some sort of rounding error. I think it may be a sub-bug in a bigger project-specific bug I'm combating, so I'm trying to find the reason why.

    If the Width value of X frame in Animation Y on Sprite Z is 173 pixels, it should always be 173 pixels... If it was consistently rounded incorrectly, I could work with that (.1 + .2 = 0.30004)

    The longer the animation plays, the more the number changes. The first playthrough actually has correct values. I'm filing a bug report, I was able to re-create in a .c3p with nothing but a single sprite.

  • Hello,

    Does anyone know why sprites that play animations have height and width values different from that frame's actual image size? There's no scaling in effect. Sprites that are just static images display their height and width correctly in the debugger.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Update: I've found the issue. If you give a sprite a child during the runtime, and then try to get it's AsJSON value, it throws that error. I can't recreate in stable, only on r287.

  • Hello,

    I'm trying to save a sprite's state as JSON, and get the following error message. I can reproduce the error only on certain sprites in my project. What would cause the properties of a sprite to be undefined, but only when trying to be read by AsJSON? The sprite's properties are visible in the debugger and otherwise functioning normally.

    Tagged: