iwannalearn's Forum Posts

  • 7 posts
  • Thanks guys! I'll try to get something to work with your tips.

  • I am making a sort of "Dont Starve" game and I'm having trouble finding an object in a position.

    I want to do this because I want to adjust a "wall" sprite's image with its corresponding position.

    e.g.

    A B C

    D E F

    G H I

    In the above, the A position should be a south-east (r) shaped wall.

    The B position should be a south-east-west (T) shaped wall.

    The E position should be a north-south-east-west (+) shaped wall.

    and etc . . .

    I made all the versions of the wall as an animation so I just change the animation of an object to change the shape.

    The problem is, I can't find a way to find out if there are existing wall objects in the North, South, East, and West position of a newly placed wall.

    I need to find out if there are other walls so that I can set the new wall and the existing surrounding walls to the proper shape.

    Any tips?

  • Hey alextro, thanks for the suggestions, was able to get a version of your sample without using family, but, it caused some bad effects. So I decided to use a different approach to achieve my goal, used tilemaps instead of sprites, right now its performing better.

    Thanks for the help guys!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Use family solution

    Hey alextro, I downloaded your sample file and it looks good! The sprites are no longer overlapping. But right now I'm using the free version, and the free version doesn't support families (lol) so I can't test it on my project.

    Was hoping to make a prototype with the free version before investing some money on the software. Maybe you have other suggestions that can be implemented with the free version?

    Thanks

  • Try giving your boy the BULLET behavior, set 'bounces off solids' to yes and set speed to 0.

    I tried your suggestion, but it doesn't seem to have any effects.

  • check if the collision polygon is the same for each frame of your player

    Hi celstrider I already checked that, the collision polygon is the same for all frames. . . Any other ideas what might be causing this issue?

    BTW, I am using

    mouse click + pathfinding[/code:2byyxkox] for navigation. Maybe it has something to do with that?
  • I have an issue with a game I am working on. The sprite is overlapping with solid objects when it shouldn't (Well I think it shouldn't). See the image below with the red circle:

    The sprite collision polygon looks like this:

    And the solid object's (tent) collision polygon looks like this:

    So shouldn't it overlap like the one seen in the first pic? How do I prevent this? How do I make it more accurate?

    Thanks!

    EDIT

    I am using

    mouse click + pathfinding[/code:2olzygu7] for navigation. Maybe pathfinding is causing it?
  • 7 posts