shaowebb's Forum Posts

  • 6 posts
  • This looks pretty good thanks! Sorry it took so long to reply...I was coding other areas and had essentially lost hope thinking this had died here. Glad it didnt!

    Odd thing is when I input SYSTEM EVERY TICK SCROLL Y to PLAYER.Y

    The screen fails to track the player in this file for some reason. Any clue why its not able to scroll and Track? Am I putting the event in the wrong area?

    If I get the camera and the dash to work in tandem then I'll have all I need to carry onward here. I may have to code a delay into the camera Scroll if it causes the dash to look wrong, but its my safety net to use the camera scroll to prevent dashing out of the game window.

  • Anyone? I'm open to suggestions here. You can load the template runner to see what I'm talking about, but dashes dont seem to go that far. I could really use some help setting up one similar to the robot unicorn attack dash.

  • Most I could get with physics by adding them to my character's behaviors was stuff like impulse to cause him to jolt forward similar to "move to" actions and torque to cause him to spin (dont know why I thought I could do much with torque).

    Got any ideas folks. I really need to get that dash functioning in this running game and its not working.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Okay tried the gravity angle+ max fall strength and all that and you get sort of a superman thing. You stop, move back a bit, then accelerate off the screen.

    I'm thinking I'm going about this the wrong way...what if the dash wasn't me adjusting platform actions like vector X and Vector Y....what if I used the physics actions to apply a force? Any thoughts on this?

  • Thanks for the help, but its not working either. As before he jolts forward only slightly and then goes straight back down after coming to a very short and sudden stop in midair. I can get some interesting effects messing with gravity though, but he doesn't accelerate nearly as fast as I want him too when he does it.

    Any idea how to setup an action that reverts the gravity back to its original value after so much distance? Maybe I can cheese it by adding the action of gravity angle =1 and gravity strength =25000 after you hit dash if I can set it to revert back after so much distance.

  • Im making a runner and similar to Robot Unicorn attack I am trying to program in a dash. Problem is regular stuff like acceleration causes issues where he'll jolt forward but due to scrolling in the runner he wont go far. Move to functions cause a jolting teleport and the screen scroll cannot keep up with the player allowing for players to dash off screen.

    I'm looking for a smooth horizontal dash that I can adjust the distance on until it feels right and that the camera will be able to keep up with. If I get a dash and the camera slowly loses ground to the player allowing the player to march further and further to the right its not good in a runner. Ideally I need the runner to always stay framed in the same area of the canvas and for the dash to just sort of jolt him forward noticeably. If I need to add the code to the world so that it dashes to the left horizontally to create the illusion of him dashing to the right then I will.

    Please I'm really stuck on this as I'm fairly new. If anyone has made a runner and has a functional dash similar to Robot Unicorn's it would be MUCH appreciated.

  • 6 posts