Announcement

Collapse
No announcement yet.

4-8 Directions 2D Rpg Movement

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    4-8 Directions 2D Rpg Movement

    Hello everyone!

    I'm working for a DG and currently we have a project made in RPGMAKER XP. Since UE 4 has been released as free used we have decide to give a tried. Results so far show that UE 4 is a powerfull tool to build up our project, therefore I started to study how to use blueprints.

    I'm quite newbie with this stuff but I'm following the official tutorials and I'm reading the documentation and pick info up really quick.

    I have a problem mainly with the character movement, because I tried to create a blueprint based on 2D platform tutorial but it's limited to left-rigth direction.

    We would like to set a 2d player into a 3d enviroment and so far we did it, but following this tutorial: https://www.youtube.com/watch?v=Af-j...K42twB&index=7

    Problem emerged when we tried to combine flipbooks to up and down direction with bluepritns, because movement keep stack and rusty sometimes.

    Does anyone know how to set a blueprint for this kind of character 8 movement?

    Thanks in advance,

    Xexu
    Attached Files
    Last edited by XexuME; 03-28-2015, 12:29 PM. Reason: screenshot added

    #2
    hi
    i made this for you , there is axactly what you need
    http://bit.ly/1CjOemP
    Website [ LINK ]
    Twitter [ LINK ]
    Support ! [ LINK ]

    Comment


      #3
      Thanks dude! that's exacly what we were looking for!
      Just one question, how do I add jump movement (key space bar-> jump, doesn't work :S) or change flipbook for other actions (for example atacking, pushing and object)?
      Input-> Key ->select flipbook?¿
      Thanks!

      Xexu

      Comment


        #4
        jump is working but you don't see it , because the camera is set to orthographic , change it to perspective

        for the actions , all the direction are already setted up , all what you need is adding conditions of each action

        Click image for larger version

Name:	test.PNG
Views:	1
Size:	51.7 KB
ID:	1071406
        Website [ LINK ]
        Twitter [ LINK ]
        Support ! [ LINK ]

        Comment


          #5
          thanks once again! now is everything clear.
          I truly appreciate it man
          Cheers!

          Xexu

          Comment


            #6
            One more question please.

            How can I call this ReturnNode function?

            Thanks!

            Xexu
            Attached Files

            Comment


              #7
              add output variables

              Click image for larger version

Name:	selected_function_myblueprint.jpg
Views:	1
Size:	86.7 KB
ID:	1071456
              Website [ LINK ]
              Twitter [ LINK ]
              Support ! [ LINK ]

              Comment


                #8
                Gotcha!
                Thanks one more time,
                Cheers!

                Xexu

                Comment


                  #9
                  Thanks Mhousse1247! Helped me out too.

                  Comment


                    #10
                    I don't know where i went wrong but I can't get this to work for me...What are the limitations of this solution, like does this solution only work for a top down camera or am I bad at copy paste blue prints, then recreate variables and replace flipbook animations in the state machine? Would really appreciate help on how I can get this solution to work for my project also.

                    Comment

                    Working...
                    X