2D sidescroller only one direction
Hi I want to make a 2D sidescroller game in which the character walks permanent to the right. How can I do this?
asked Aug 30 '16 at 05:26 PM in Blueprint Scripting
If you open the 2D Side Scroller template project you can open the character blueprint and find the "Handle movement" section. If you remove the wire from the False pin of the first branch node the character will no longer be able to move to the left.
answered Aug 30 '16 at 05:52 PM
Use Add Movement Input and set it to a single axis of movement. You can use the 2d sidescrolling template as a good starting point. If you go into Project Settings>Input you can set the axis mapping for moveRight to only move right by removing the second key (should be A).
answered Aug 30 '16 at 06:44 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here