raz0rf1sh's Forum Posts

  • I am trying to use the pathfinding behavior and for some reason my paths seem to not be as straight as they could be.

    [attachment=1:17xr0brf][/attachment:17xr0brf]

    The trees are solid.

    Any help would be much appreciated.

  • Thanks Aphrodite! That was the trick! I did not realize it already took into account the origin.

  • I want to detect if my Hero is standing next to a Healer.

    [attachment=1:2uahmqkf][/attachment:2uahmqkf]

    I thought I could do this by checking "overlapping at offset", granted, I would need to do it at every angle. I'm just testing one angle right now, and can't seem to get that to work.

    [attachment=0:2uahmqkf][/attachment:2uahmqkf]

    The collision box of the Hero is offset by 1, while the Healers covers the entire sprite.

    What am I missing here to make this work? Is there a better way?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Resetting the dialogs fixed the issue. Thank you!

  • Problem Description

    I am unable to import frames or a sprite stripe for a sprite ... the options are disabled.

    Attach a Capx

    [attachment=0:1fzw61nw][/attachment:1fzw61nw]

    Description of Capx

    Simple project with a sprite on a layout.

    Steps to Reproduce Bug

    • Double click the sprite.
    • Right click to import a frame or sprite sprite. Observed Result The options are disabled. [attachment=1:1fzw61nw][/attachment:1fzw61nw] Expected Result Options should be enabled. Affected Browsers Not applicable. Operating System and Service Pack Windows 8.1 Construct 2 Version ID 167.2
  • That was it! Thank you blackhornet!

  • Seems like the pick works, except if there are no sprites of the family type created ... the highlighted line never seems to fire ... see the attachment.

  • Does the picked count work with families?

  • Let's say I have (10) Monster sprites with an instance variable called BreedingPitUID. (5) of the Monster sprites have a BreedingPitUID of 121 and the other (5) have a BreedingPitUID of 139. How do I get the count of all the Monster sprites with a BreedingPitUID of 121? I've tried objectcount and Sprite.PickedCount ... neither is giving me what I need.

  • Did you ever figure this out?

  • I would like to create a layout similar to

    https://www.dropbox.com/s/vfb0lpnz0d7174x/RightSideHud.jpg

    Where the HUD, or information area, is fixed to the right, BUT does not overlay the map. I think the simplest way to do this is to just pad the right side of my layout, but is there a way to confine a layer to a specific size and location? Or have a layout on top of a layout?

    Thanks! Happy New Year!

  • That worked! I just created an invisible sprite called Positioner, and moved it to the spot that I wanted to creating something at, and tested for overlap, if there was none, I spawned the new object.

  • I am creating a wandering monster feature in my game and would like to check for a random monster every X seconds, and based on a random value, if fails, then create a monster at a random location.

    The player follows the path of a ground tile ... so I want to create a monster at random ground tile location, which I am able to do. What I want to do is prevent the creation of monster if a monster sprite already exists there.

    What would be the best way to do this?

  • Gotcha! Didn't know about the collision polygon. That would work.

  • Curious as to what is the better practice for storing variables like Experience and Level. My game has a single Hero, and right now I am storing Experience and Level on the Hero, but wondering if I should instead store it as a global variable? Just wondering what the recommendations would be and why?