twoshoelaces's Forum Posts

  • 14 posts
  • This is a top-down game. Tha camera is supposed to center on you as you walk, and it worked just fine for the past few days that I've been working on this. A few days ago I coded in an attack that shoots a beam out in the direction you press, and it worked great! But now -- I don't know what I changed -- it's bugging out. As you walk, the point of origin that the beam starts at gets farther and farther from you, until they appear to be coming in from off-screen.

    The only thing I can think of is that yesterday I changed it so that instead of being one sprite, the player character is two objects: feet/shadow and upper body/cloak. So maybe the beam is being created relative to an invisible sprite that is moving faster than me but doesn't have the camera centered on it? But even so, this problem never showed up until just a few hours ago, so that seems unlikely.

    You walk with WASD and shoot with the arrow keys. Sorry, but the code is pretty cobbled together; it might be hard to find a solution just by looking at it.

    capx: https://www.dropbox.com/s/s685o8d3c1pok ... .capx?dl=0

  • imgur.com/bFoRbgU

    Above is a picture of the error when I click "Run Layout". I've been working on this project for a few days and this has never happened up until now, after Construct crashed and I had to reload from an autosave. (which also corrupted my sprite animations for some reason?)

    this shows up when I click "OK": imgur.com/buDICwb

  • I can't find anything in the manual that applies here. Any help?

  • I'm going through the manual again. If anyone has an idea, please speak up!

  • use set vector X or Y action

    in 8 Direction? I can't, because I need the enemy to move in the opposite direction of the attack, and the attack could come in any direction. Unless I'm wrong, vector X or Y only lets you move in specific directions.

  • Hey, I've been making a zelda clone and this is what I've got so far: h t t p s ://vine.co/v/OV3adl6DOOK

    I want to make it so that the enemy jumps in the opposite direction when it gets hit by the magic attack. I'm pretty sure this is where Custom Movements come in handy, but the manual isn't very helpful. Any clue?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well sort of! I found a solution (included in an edit to the top post) where I made it so that my character doesn't keep walking after they've stopped moving.

  • [quote:yfqc7pcf]very easy to fix, I suggest you to read the manual and start to read some post from this forum:

    anyway, I suggest you to post a capx and use different events logic, same for hyenaman

    This does not help me in any way.

  • made a vine

    h t t p s : //vine.co/v/OVF9PK7FHI0

  • Nope, it's still the same :/

  • Just starting out! Downloaded Construct 2 on a whim and now I'm making a Zelda clone. Frustrated that I can't post URLs and looking to get more reputation.

  • Thanks, but this doesn't seem like what I'm looking for.

  • I just started making a Legend of Zelda clone. Here's the event sheet:

    The Zelda sprite is placeholder, ripped from a rom hack.

    I'm having trouble with object collision. When I walk into a wall, I start sliding sideways along it instead of just stopping. Is there a way I can make myself just stop when I hit a wall?

    h t t p s : //vine.co/v/OVF9PK7FHI0

    EDIT: Okay I found a solution on my own! Thanks anyway folks!

  • 14 posts