Laserwolve Games's Forum Posts

  • Edit: I think the only reason for the absence of the option to crop all the animations in the sprite is that it wasn't an option in Construct 2, so I never even thought about adding it.

    It would be a very great feature, should I submit a feature request?

    Normally I'd do all my cropping in a professional photo editor before uploading to Construct, however the Construct editor does a very magical thing in that it preserves the location of previous image points.

  • Thanks guys. Yes, there's plenty of functionality to switch between frames, but I'm looking to crop all the animations in an entire sprite.

    AutoHotKey, Keyboard Maestro and other top-level automaters are a last ditch solution as they tend to be unreliable, especially when going through exact mouse movements and not keyboard shortcuts. It seems like that's my only choice going forward for now though.

  • There's a way to crop all the frames in an animation, is there a way to crop all the animations in a sprite?

    Alternatively, is there a way to select the next animation via keyboard shortcut?

  • Yeah, that would definitely get pretty messy. Might be my only choice though.

    I had hopes for this to work, but as soon as the family has more then 1 member, it breaks. Even an additional condition to pick Nth family member or last created family member doesn't seem to do the trick. I'll keep playing around with it.

  • > You could use an empty dummy object and load images into it on runtime.

    With "Load Images from URL"? oof, yeah, I guess that would work.

    Can "Load Images from URL" be used with animations?

  • You could use an empty dummy object and load images into it on runtime.

    With "Load Images from URL"? oof, yeah, I guess that would work.

  • I need to set a 3D object's face object by name; the object that'll be used for its face isn't pre-determined, and also doesn't exist on layout start. Any ideas for a workaround?

    I basically need "Set face object (by name)"

    Tagged:

  • Quick and dirty solution. Thanks!

  • I'm dragging and dropping in a lot of animations. Is there any way I can make them all Loop without manually checking each one?

  • After some further digging, I tried the following two blocks:

    Pressing Q is all fine and dandy, setting the camera to the standard angle found in the orthographic projection example. Upon pressing E, the camera goes completely haywire, it almost looks like a distorted view parallel to the ground.

  • Hello,

    I'm trying to make a Diablo-esque camera configuration and struggling to get the camera at exactly 30 degrees.

    The first action sets the camera position somewhere arbitrary; doesn't matter too much in an isometric perspective.

    The second action is where the problem is:

    1. If I initialize a 3D camera without specifying its up vector, which way is it pointing?

    2. Upon which axes does the "Rotate Camera" action rotate the camera?

    Tagged:

  • If you try to load that during runtime, it'll have a heart attack, vs. having it preload on startup.

    Interesting, I thought everything for all layouts was loaded during the loader layout, minus stuff that got created during runtime. Good to know, thanks for all the input.

  • Hi, my project has a sprite that has approximately 4 megabytes worth of images for its various animation frames. Four hundred 160x160 PNGs.

    Removing that sprite from a layout reduces the "estimated image memory" by 64 megabytes.

    1. Are there any optimization techniques to reduce the amount of RAM consumed?

    2. For a game that's intended to be played in a browser, what's a good maximum estimate peak memory usage?

    3. If I have a layout that requires more memory than is available, what would happen?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you use inner scaling, you won't be able to fit every screen perfectly. It's literally in the name, it will scale (i.e. change size) to fit the screen. If your background is tiled and repeating however, you're in luck, because you shouldn't need to come up with a custom image for your background. Just slap that puppy into a Tiled Background.

    If you have stuff you need to always need to be in certain corners or positions of the screen, look into the Anchor behavior.

  • Hello,

    Is there a way to prevent the game from loading until certain checks are made? For example, I'd like to check that the user is on my website, before the game starts loading.

    Something along the lines of