Gypopothomas's Forum Posts

  • Whoops!

    Here's how I have it set up

  • Hey. I'm trying to make some falling blocks with the platform behaviour, but they don't work if they're touching a solid at the side (I've attached a GIF). I've tried using the bullet behavior instead, but the same thing happens.

    I've cut the collision box of the block off a pixel at each side n' that works, but I'd rather have the collision be the size of the whole block.

    Any idea what's going on here? Thanks for the help.

  • Push out solid, eh? Sounds vulgar! Haha!

    Thanks for the help. I'll give it a go.

  • Hey. Using a custom movement for a dash move in my game, but the player goes through walls if I dash in their direction. Is there any way to have the custom movement stop when it hits a solid?

  • I'll give it a try, chap. Thanks for the help!

  • Hmm... Don't think I follow you. Would that work for jumping up platforms?

  • Hey. I'm making a game where movements are snapped to a grid, so each movement is the exact same distance. I'm using Rex's Move-To plug in to handle moving left and right (16 pixels at a time), but I can't get a nice fixed jump using it (or I can't figure out how anyway). Any ideas?

  • Excellent stuff, lads. Thanks! I'll give it a go.

  • Hey. I need to move a character 16 pixels in the direction I press, but I don't want him to just snap to the new position like he does with the 'set X' command, I need to see the character move, but he has to stop at exactly 16 pixels from where he started.

    Can anyone help me with this one? Thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey. I have a 2D sidescroller where the enemies don't shoot at the player unless he's near, they can spot him using line of sight. Problem is, when one detects him, they all do! Am I missing something, is there a better way to do this?

    Thanks for help.

  • hey there, this is what i would do.

    You need 1 variable to store the lerping ammunt, let call this one "num".

    So when the player is not mirrored (going right), you add 0.1 to num as long as it is < 1.

    when the player is mirrored (going left), you substract 0.1 from num, as long as it is > 0.

    and then you scroll.X to: lerp( player.X - 40 , player.X + 40 , num)

    I hope it's what you wanted. There is no reason this should flicker, and using lerp every thick should not be a problem either.

    Thanks, chap. I'll give it a go!

  • Hey. Trying to get a smooth camera going. I'm using a lerp command now, it does the job nicely, but my character is jittering about when he's walking. I'm guessing this has something to do with pixel rounding being on and using lerp with every tick, so I have to try something else.

    I have a limited Gameboy screen to work with, so I wanna give my player as much space to see incoming baddies as possible, so I always have the camera 40 pixels ahead of him. This works fine except when I turn around, the camera snaps to 40 pixels to the left, which is really jarring.

    With lerp

    No lerp

    Is there any way to smooth this movement out without using lerp on every tick? I just want the camera moving from side to side to smooth out, then it can go solid after the switch.

    Thanks for the help.

  • >

    > > Full screen option: letterbox integer scale should do that..

    > >

    > Thanks for the reply, but I'm already set to integer.

    >

    And sampling is point and pixel rounding is on?

    Pixel rounding was set to off. Stuck it on there n' everything's good! Thanks a lot!

  • Full screen option: letterbox integer scale should do that..

    Thanks for the reply, but I'm already set to integer.

  • Hey. Working on a wee game for Gameboy Jam 4. Have my resolution set to 160x144 n' have all the graphics drawn up to fit this resolution. It looks fine if I play the game in a tiny window, but if I use full screen, it increases the resolution. Objects move between pixels, if you get what I mean.

    Here's my game windowed.

    Here it is full screen. You can see the feathers are positioned between the low-res pixels.

    Is there any way to keep the resolution authentic in full screen?

    Thanks for the help.