x

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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Backrounds jumps with character

Hello , I started a 2D Side scroller and tried to put a backround so I went in my character's Blueprint and in camera i added a component " Paper sprite" so that makes de backround... But when my character jumps the backround jumps also ... Need help! Any help would be appreciated!

Product Version: UE 4.13
Tags:
more ▼

asked Nov 12 '16 at 09:44 PM in Using UE4

avatar image

PowerofFusion
1 1

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

2 answers: sort voted first

Well that sounds pretty normal to me. You just created a an item in your character, therefor if you character jumps, the background will also jump. Just create your background outside your character's blueprint, and just place it on it's own in the scene. Is there a particular reason why you want the background to be in your character's blueprint?

more ▼

answered Nov 13 '16 at 04:34 AM

avatar image

Night Watcher
1.7k 43 12 71

avatar image PowerofFusion Nov 14 '16 at 10:22 AM

I just want the character to move left or right because otherwise if the character goes to far the backround will not be present anymore... and yes im nub

avatar image Night Watcher Nov 14 '16 at 03:42 PM

Did you try putting the background in the far distance and scaling it a lot?

avatar image Night Watcher Nov 14 '16 at 03:45 PM

Another way to do it would be to use tick to keep setting the Z axis position of your background to 0. Or you can also use a physics constraint.

avatar image PowerofFusion Nov 14 '16 at 08:25 PM

Scaling a lot the backround would be great if i had a one colour backround or something simple you see? But i actually have a image created by myself so i cant scale it a lot , it would just make it ugly. I already tried to use constraint physics in y but it continues jumping. ... I dont know how to do it with event graph

avatar image Night Watcher Nov 14 '16 at 08:41 PM

When you scale it, you push it back in the view port, so it will look the same size, but it will move at a slower rate. This is called parallax, where object in the distance move slower then the one near you. Just try it, scale you image, and push it back, so technically it;s still the same size.

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

Night watcher is correct. Download the paper 2d project from learn section in launcher and learn from it. Watch tutorials on youtube, they will help in learning about the engine. Also tappy chicken would be great to learn for an endless type 2d game.

Backgrounds usually are static in a level.

more ▼

answered Nov 13 '16 at 06:08 AM

avatar image

SHOBBIT
650 13 13 27

avatar image PowerofFusion Nov 14 '16 at 10:24 AM

I just want the character to move left or right because otherwise if the character goes to far the backround will not be present anymore... and yes im nub

avatar image SHOBBIT Nov 14 '16 at 12:31 PM

Create multiple backgrounds and place them adjacent to each other. You don't want to have endless levels, do you ? Make the background as big as you require. Honestly, but my real advice would be to learn about the engine first, there are tutorials regarding everything related to UE4 on UE youtube page. Follow them, learn about the engine and then jump into making your own projects or you might end up just asking questions on answerhub.

avatar image PowerofFusion Nov 14 '16 at 08:09 PM

My backround is a picture created by myself... its not full back or something. .. so if i just copy and paste and put them close tl each other it will just look awfull

(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