Leaufai's Recent Forum Activity

  • No problem. Thanks.

  • Hi rexrainbow,

    The download for CSV is directing to a Dropbox error. Could you please reupload it to somewhere accessible?

    Thanks in advance!

  • The overlap example didn't work out for me, because I want the collision to be pixel perfect and I like to work with power of two sized sprites.

    But... your is-by-wall idea did inspire me to adapt your .capx and write some excluding conditions that seem to the trick. I've been trying out every possible collision and each time the correct side is chosen.

    So thanks for the help!

  • Hi,

    I'm making a little platformer using the Platformer behavior for my player character. What I'm noticing is that there's no clear way to discern if something is hitting my player from a certain side.

    I've been using a check of the player.X or Y with that of the colliding object so far. Combined with a check if the player is falling, jumping, etc. (conditions provided by the Platformer behavior) this method gives a good approximation of the direction of collision.

    This solution is not perfect, however. If the player is falling, using this player.Y<object.X as a condition will trigger for a collision on the side as well as the top of the object. Hitting it perfectly on the side while falling, with the player.Y<object.X, doesn't happen very often but it does happen.

    What I'm looking for is another method to detect which side of the player's collision box is touched by static/non-static objects. My player's collision is always a rectangular shape.

    Any help is greatly appreciated.

  • Can't post links (500 reputation is too much), but try searching for Offline games in construct 2

  • Leaufai thanks for your advice, I really agree with, but I have no choice, I do the game my self, no money to hire designer, I bought the graphics online and it doer not include so many enemies, so I have to buy other style graphics, if I can make some money in this game, my next game will be better. thanks again

    Makes sense.

  • Haven't had a chance to play it, but I did take a look at the screenshots. I realy, really like the minimalist art style of the viking, villagers, etc. but the enemies for are a very different art style. That clashes too much, leaving a negative impression. I think the game would come of better to potential players if the art style was applied universally.

  • Thank you that did it! I had a suspicion that lerp was involved, but I didn't know the method well enough to figure it out on my own. It's still rough atm, but I understand how it works now so I'll no doubt be able to fine tune it to my exact specifications.

  • I'm making a side-scrolling downhill biking game and since the player needs to have good visibility of the track ahead of him. At low speeds the player doesn't need to see as much of the level as when he's going at high/top speed. So I want to have the camera zoom out as the speed increases and zoom in again when the speed decreases. I know how to zoom in and out using layout scale but I can't wrap my head around the solution to make the player speed decide the zoom level in a smooth way.

    If anyone has a solution, I'd love to hear it. Thanks in advance.

  • Thank you both. This will be a good start. I'll let you know if I need any more help.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That's a lot of graphical fidelity for a Construct game. Good job!

  • I've been looking at Chipmunk recently and I like what I'm seeing, but I'm having some travel setting up the system that I want. I'm trying to make a realistic mountain bike. Those have suspension that makes navigating little bump and hard drops easier. I've been able to set up the rigid fork on the bottom of the image below, but I want to get it working like the suspended fork at the top.

    I have a sprite that is the frame, one that is the fork and one that is the wheel. With what joints would I connect those to end up with a realistic suspension? Thanks in advance.

Leaufai's avatar

Leaufai

Member since 30 Jul, 2014

None one is following Leaufai yet!

Connect with Leaufai

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies