Innovo's Recent Forum Activity

  • Ah yes. An easy fix as I thought it would be. Thanks! Haha.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm trying to create a magnetic attraction to specific instances of an item towards the player character when they are within a certain distance of the specific instance.

    I have the magnetize logic down and it seems to work fine except I can't seem to find a way to make it only work for the nearest instance. Instead it works for every instance on the level.

    I'm new to this program so this might be an easy fix, but any help would be appreciated! The capx file is links below and I've set the movement to WASD.

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

  • Yeah! I can see how setting it to a Global variable and then simply setting an event that checks different tools instanced variables and assigning the value of the global variable to the tool's range variable would allow for an increase or decrease in distance. Awesome.

  • 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. (:

  • 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

Innovo's avatar

Innovo

Member since 24 Apr, 2015

None one is following Innovo yet!

Connect with Innovo

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies