Backgrounds

Get help using Construct 2

Post » Sat Jun 08, 2013 9:05 am

Yes this is a wonderful [email protected] is a Lifesaver I love this effect in parallax,But lets say i wanted to keep my horizontal parallax but wanted to restrict the movement of the mountains to the view when i move up and down.I ask this because i will implement several different rooms each containing a different style of biome.I will be having a different effect with my backround in those rooms.RookieDev2013-06-08 09:06:17
GMO FOOD = DEATH
B
23
S
9
G
5
Posts: 567
Reputation: 6,368

Post » Sat Jun 08, 2013 9:17 am

Hmm I cant picture the style that you are wanting to achieve, maybe if you drew a picture it would help.

But, lets say you wanted the far set of mountains to have the normal X parallax but you want to control when it moves up or down (so its not actually parallax for the Y), you would then have to manually move it up or down.

Simplest way to do this is add bullet behaviour and control the speed and angle of motion.
ImageImage
B
99
S
20
G
6
Posts: 1,056
Reputation: 11,636

Post » Sat Jun 08, 2013 9:31 am

I do apollogize for my lamen way of explaining this,Basicly i want to make it so all of my Mountains stay within my view when i change my Y movement without scewing up the X parallax movement of my Mountains.I know if i use the default Scoll TO function on my Backround it will screw with the X Parallax movement.I hope this helps alittle more than how i explained it in my last post.If not its ok i will just keep testing around a bit.
GMO FOOD = DEATH
B
23
S
9
G
5
Posts: 567
Reputation: 6,368

Post » Sat Jun 08, 2013 9:43 am

That's ok, I have been there.

Try the link again. Im not sure this is what you want but I have just reset the parallax for the Y axis on one of the mountains to 0 (and positioned it in the editor to always be at the bottom of the window).

Am I getting close?

ImageImage
B
99
S
20
G
6
Posts: 1,056
Reputation: 11,636

Post » Sat Jun 08, 2013 9:53 am

its hard being the new guy lol,

And yes you are close,is there a way to make it so it sticks to the character that way but with no hesitation.All in all im just trying to keep the mountains in view nomatter where the player is at.I cant say thanks enough man you didnt have to go through everything you have.RookieDev2013-06-08 09:57:48
GMO FOOD = DEATH
B
23
S
9
G
5
Posts: 567
Reputation: 6,368

Post » Sat Jun 08, 2013 10:13 am

Its a pleasure,

I think you will like this, same link as before.

I have adjusted the numbers so that you still have some Y scrolling but not enough that you lose view of any set of mountains.

One thing to keep in mind with this is its based off how high your stage is, so if you doubled the height of the stage you would have to again adjust the Y values accordingly.
ImageImage
B
99
S
20
G
6
Posts: 1,056
Reputation: 11,636

Post » Sat Jun 08, 2013 10:55 am

[QUOTE=GenkiGenga] Its a pleasure,

I think you will like this, same link as before.

I have adjusted the numbers so that you still have some Y scrolling but not enough that you lose view of any set of mountains.

One thing to keep in mind with this is its based off how high your stage is, so if you doubled the height of the stage you would have to again adjust the Y values accordingly.[/QUOTE]

This is exactly what i was looking to do!! I dont like this i LOVE it! This is also exactly the kind of smooth movement i was hoping to try and get.I think this should be somewhere on the Tutorial section you did an awesome job man.Thank you,You sir are getting credits in this game.
GMO FOOD = DEATH
B
23
S
9
G
5
Posts: 567
Reputation: 6,368

Post » Sat Jun 08, 2013 12:03 pm

We got there in the end :)

No need for the mention Rookie, glad to have helped.
ImageImage
B
99
S
20
G
6
Posts: 1,056
Reputation: 11,636

Post » Sat Jun 08, 2013 12:40 pm

Thank You @GenkiGenga and there is no way that im not giving you a mention for what you have done.I have been learning alot from seeing your workings.RookieDev2013-06-08 12:43:56
GMO FOOD = DEATH
B
23
S
9
G
5
Posts: 567
Reputation: 6,368

Previous

Return to How do I....?

Who is online

Users browsing this forum: Soulmachine and 10 guests