diggbladush's Forum Posts

  • 8 posts
  • Also, you disabled the currentmeter=100 when releasing j. I put this on as to have the full charge be the only time I switched states. Whenever I enable it, it doesn't seem to work anymore.

  • Wow that definitely helped. I didn't know that you could enable and disable groups like that, so I didn't even think to do a workaround that way. I searched the other forums and there were some workarounds that used the 'pin' function, but I can't get that to work either. I'll play around with the enabling and disabling.

    Thank you!

  • AH I found the reason. I didn't know that construct was incapable of switching behaviors on the fly. The two behaviors were conflicting and cancelling each other out. I think I'm going to try a spawn workaround. Thank you for the help though.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I was actually following that particular part as a guide. There was also a wordpress tutorial for the same kind of concept. The problem is that everything switches states successfully, but my jump function is gone for some reason.

  • Hello All,

    After following instructions from Kyatric and keepee, I've created an 8 way directional control for a movement I'm trying to create. I've got it so that I'm charging a meter variable attached to the player and after releasing the "action" button J, the state for the player switches to an 8 way movement and has 0 gravity. However, it seems to have cancelled my jumping action and I'm not exactly sure why.

    I've tried separating the states into groups and reorganizing and everything else seems to be working fine, despite there being a slightly glitchy movement while the player is in platform state. I'm wondering if I could get some assistance.

    Here's the capx:

    dl.dropbox.com/u/65206613/TestPlatform.capx

  • Thanks guys! That really helped. I thought that 8-direction was for things that moved freely rather than having dedicated directions. I'll see how I can implement it so it's as tight as I need it.

  • With the default controls it seems to rotate and accelerate towards a direction, but I need it so that the sprite is at a constant speed, but once a direction is pressed, it's dedicated to that direction until changed. Kind of like a light-cycle, but in 8 directions rather than 4. I've gotten it to where the WASD changes the direction of the object towards 90, 180, 270 and 360 degrees, but I need the angles halfway in between them.

    I'm sorry if my language isn't clear, as I'm sort of stumped at this point.

  • Hello Construct Community,

    I'm a bit new to this program, so I'm a bit confused as to how to make an 8-directional movement. If any of you have played they game Rocket Knight or Sparkster, there's an 8 way jetpack movement(ie Up, Left, Down, Right, UpRight, DownLeft etc.)

    I'm trying to recreate that directional movement, but I'm not sure how to do it using custom movement. I need to be able to cancel velocity unless a button is pressed (I'm reassigning to WASD) as well. Please help.

    Also, I'm trying to have the overall speed be around 400. I'm running into an issue where the speed cancels in every direction other than the one that was pressed.

  • 8 posts