Hello there.
I just can't seem to get a grip on the parallaxer object.
When I add an object to the image of the parallaxer, it get's all distorted? To elaborate, lines get added on the top and at the bottom. How do I disable this?
Printable View
Hello there.
I just can't seem to get a grip on the parallaxer object.
When I add an object to the image of the parallaxer, it get's all distorted? To elaborate, lines get added on the top and at the bottom. How do I disable this?
I guess what I want is an object that can autoscroll without any distortion effects?
Alright, so to sum up the problem.
I have a cloud object that has its position set to current x position -1 every 0.30 seconds.
This cloud object is on a layer that has the coefficient of 0.1 compared to the player.
I want the cloud to wrap around when it has gone far enough so it creates the illusion of an endless steam of clouds. The cloud object comes in two duplicates so as to avoid gaps .
The problem I'm having is that I can't tell the cloud to set the position to right before the visible area in absolute numbers, since it's x position will change depending on how the player moves.
Does anyone have an idea on how you could do this in a smooth manner?
Assuming I understand you correctly, couldn't you just do it like this?
if
X position of cloud is lower than X position of left visible edge (minus whatever, depending on the hot spot of the cloud)
then
set X position of cloud to X position of right visible edge (plus whatever)
Aye that's what I wanted, but I don't know if it's possible to check for visible edge?
Oh, apparently you can. Now I feel silly! Thanks alot!
No problem!
Hi there,.here is an example for you. Layers with clouds scrolling repeating. I hope this is what you are looking for.
You can adjust all events to suit your application.
John
Thanks KliK-iT, that works for individual clouds too :)
You're welcome, you can add in as many different types of clouds as you want and adjust their speeds randomly. Please don't use my cloud graphics. They are owned by me and The 2 Gary's animation and design CO.
Enjoy.....!!
No worries KliK iT, I like mine better ;)
LOL..... Can I have yours then?!! J/K