Innovo's Forum Posts

  • Change the Line of Sight to custom, then distance of line of sight is in pixels

    Line of sight was what I tried at first, but I couldn't get it to work for the life of me. But I see now setting it to custom is what I was missing. Thanks!

    ..add another condition...

    System..compare two values.... distance(Player.X.Player.Y.Ground.X,Ground.Y) is less than ...

    Thanks for this! Super easy, I'm kind of new to the program and I learn better by example so this helps a ton. (:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The title of this thread isn't necessarily the greatest in terms of explaining what I'm trying to do, so I'll try to explain a bit better.

    If you've ever played a game like Terraria, you know that the player can only break blocks within a certain distance from the player (which (I think) can be altered depending on the tool/weapon you are holding).

    I'm wondering how to do this myself. Below is a link to my current capx proof of concept file. Currently, no matter where the player character is standing, one can click on any of the resource blocks and collect them at will. I would like this to change so you can only collect blocks within a certain radius of the player that is reliant on the tool the player is using (I have not yet implemented tools yet but this is my end game so a small explanation for that would be amazing).

    drive.google.com/file/d/0B_fsFsHtHjNqVkVNX0tVVGJhYlU/view

  • Well, I certainly feel dumb. Haha. I've only really looked over the initial tutorials and wasn't introduced to that feature in the image editor. Haha. Thanks!

  • Hopefully this is the correct place for this question. But I'm almost positive this should be working... I've assigned the 'Solid' behavior to my Ground tileset sprites and all of it's instances and then the 'Platform' behavior to my Player character sprite but when I test the game, the Player goes through the ground tiles slightly and I can't for the life of me figure out why.

    The sprites seem to be correct in their bounding box in the image editor so any help would be appreciated! I'll attach the capx file below. Am I missing something here?

    drive.google.com/file/d/0B_fsFsHtHjNqS2VHZUZWUDk0YkU/view