Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

2.5D Platformer Fake running animation

I have build a simple Sidescroller, where the character is constantly running and has to jump over obstacles. I have placed the components of the world and the obstacles into one blueprint. The blueprint controls the constantly moving obstacles & background stuff in an infinte loop.

I placed a character via a player start into the world and restricted player inputs to jump only. When I hit play the world starts to move. How can I control the animation of the character so it looks like he is running, while actually not moving horizontally, because the world itself moves?

Product Version: Not Selected
more ▼

asked May 31 '14 at 01:44 PM in Blueprint Scripting

avatar image

5 4 7 9

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

So you want the animation running all the time? So this is a runner type game where you cant make the player stand still so... you could setup in the animation to be a running animation that is active when the velocity = 0 since it really isn't moving, I think. if there is speed involved then of course youd want to add a blendspace to adjust it.

So setup your player animation states in your animgraph with whatever states you need for actions but your Idle-Walk-Run would be replaced with of course only a RUN animation.

Then it would go into the jump-falling-land etc etc.

Hope this helps.

more ▼

answered May 31 '14 at 07:53 PM

avatar image

1.2k 50 24 50

avatar image 4ndy Jun 01 '14 at 10:41 AM

Thank you DJMidKnight. Here is what I did so far:

I set the speed of my player in the animation blueprint to a constant value, so he is always running. I have stopped the ground from animating (because that pushed the character away) and since there is no texture but only color on it, it doesn't matter. However since I also have THIS problem (can't communicate between blueprints especially character and animation blueprint), the character is jumping with the running animation constantly playing. My plan was to cast a variable to anim BP while jumping to set the speed to 0...

I'll get the the finished game eventually :-)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question