Four direction mouse and WASD

0 favourites
From the Asset Store
Footsteps SFX Four contains 400 sounds of steps and jumps on different surfaces.
  • I am still not actually seeing what your question is here, what is it you need someone to help you do?

    Hello, I want to do the function of movement is similar to the game Warspear online.

    When I clicked the required place and the hero moves like a Warspear online.

    And add ????????? keyboard WSAD, too, for the movement.

  • I'm pretty sure Godspear is asking how to setup a dual movement system, a 4 directional grid moving with WASD as well as the option to click on a location to pathfind to said location within the grid tile to tile.

  • I'm pretty sure Godspear is asking how to setup a dual movement system, a 4 directional grid moving with WASD as well as the option to click on a location to pathfind to said location within the grid tile to tile.If as warspear online is Yes. But how do I don't know=(

  • first day, no one answered. Unsubscribe somebody?

  • Have you looked into Invisible sprite simulate control action at the require spot. And you can have the event set up to disable player control with variables. That is the best guess I can do. Either that or ask a Math Genius on the correct pixel move to.

  • Have you looked into Invisible sprite simulate control action at the require spot. And you can have the event set up to disable player control with variables. That is the best guess I can do. Either that or ask a Math Genius on the correct pixel move to.

    If you know how to do. That would put capx

  • GodSpear

    I think you'd have much better luck getting help if you write out exactly what your goal is. For example:

    "I want the player to be able to click somewhere in the layout, and then the HeroMale Sprite follows a path to that spot. The HeroMale Sprite should move in a grid, so it only moves up, down, left, and right."

    I'm guessing that English is not your native language, so just do your best.

    Referencing another game's behavior (WarSpear Online) requires us to know how that game's movement works, and severely limits the number of people who could help you. Based on what you've said so far, I think I know what your goal is. Check out this Capx:

    Capx

    I hope this helps.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Check it out. I just do not know English. That makes a bad translation =)

  • I liked what you did. But not enough. Turn hero animation(

    And when the purpose of the chosen and appears (the effect of the goal)

    <img src="http://cs309518.vk.me/v309518472/6842/qhGbvyGIoHo.jpg" border="0" />

  • Controlling animations is something completely different. Since it's such a common element of games, there are many existing resources to learn from. I highly recommend checking out some C2 tutorials, and the "How To" topic, to really learn the basics of C2.    

    Here's an example of one way to control animations when using the bullet behavior:

    If Sprite.Bullet.AngleOfMotion is between 45 and 135 degrees

         Set animation to Down

    If Sprite.Bullet.AngleOfMotion is between 135 and 225 degrees

         Set animation to Left

    If Sprite.Bullet.AngleOfMotion is between 225 and 315 degrees

         Set animation to Up

    If Sprite.Bullet.AngleOfMotion is greater than 315 or less than 45 degress

         Set animation to Right

  • The hero is the animation.

    What you wrote ??????? I did not understand

    idle0 = it is, looks down

    idle1 = it is, looks up

    idle2 = it is, looks right

    idle3 = worth it, look to the left

    --

    run0 = Run down

    run1 = Runs up

    run2 = Run to Right

    run3 = Runs to the Left

    "These are the animation is already there.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)