Forum Topic: Can Someone give me Advice

(177 views • 5 replies)

This topic is 1 page long.

<< < > >>
None

Gaiden-Guardian

Reply To Post Reply & Quote

Posted at: 8/18/06 03:30 PM

Gaiden-Guardian NEUTRAL LEVEL 03

Sign-Up: 08/16/06

Posts: 3

Hi guys, I'm new to flash and I really need to know, how can I make a moving background on my flash animation. If someone can give me a link to a guide or just tell me straight off then that would be awesome.


None

Downing

Reply To Post Reply & Quote

Posted at: 8/18/06 03:32 PM

Downing NEUTRAL LEVEL 14

Sign-Up: 01/30/06

Posts: 492

At 8/18/06 03:30 PM, Gaiden_Guardian wrote: Hi guys, I'm new to flash and I really need to know, how can I make a moving background on my flash animation. If someone can give me a link to a guide or just tell me straight off then that would be awesome.

i could explain it but it would be better if you searched "Tutorials" on the NG search engine and go to the Tutorial collection there are some pretty good tutorials on there too


None

reelbigcheese

Reply To Post Reply & Quote

Posted at: 8/18/06 03:33 PM

reelbigcheese LIGHT LEVEL 18

Sign-Up: 08/12/05

Posts: 2,160

Im guessing you mean a moving background, with the arrow keys. It's simpler than you'd imagine.

First draw you BG and give it the instance background

Then do somthing like this on the character:

onClipEvent(enterFrame){
if(Key.isDown(Key.RIGHT)){
_root.background._x-=10;
}else if (Key.isDown(Key.LEFT)){
_root.background+=10;
}}


None

Gaiden-Guardian

Reply To Post Reply & Quote

Posted at: 8/18/06 04:20 PM

Gaiden-Guardian NEUTRAL LEVEL 03

Sign-Up: 08/16/06

Posts: 3

Thank you but how would I go about doing that? I already said that I am very new to Flash and this is for a movie not a game.


None

w1sh

Reply To Post Reply & Quote

Posted at: 8/18/06 04:47 PM

w1sh LIGHT LEVEL 05

Sign-Up: 08/09/06

Posts: 11

-Draw your background.
-Right click on it, Convert to Symbol > Movie Clip
-Put it on the side of your "Stage" (the white area)
-Make a "Keyframe" on something like frame 80 of the "Layer" with your background MovieClip.
-Move your background to the other side of the Stage.
-Right click in between Frame 1 and Frame 80 and "Insert Motion Tween"
-Ctrl + Enter to test play it.

If it turns out right, your background Clip should move from one side of the Stage to the opposite. If the background movieclip is something simple like a large solid green rectangle for grass and a blue rectangle for sky (add a simple tree to test with), then it should "loop" once it gets to the end.

There are a lot of ways to accomplish a scrolling background effect.
You can make a large donut shaped movie clip on it's own layer and set it to "rotate clockwise" infinitely. That seems like it would work..

Something to keep in mind when making a background is that if you don't want it to end up looking like a side scrolling platform game for Nintendo, and more like a movie, then you'll need to focus on more than 1 scrolling background image. Maybe make 3 separate backgrounds and have them scroll at different paces. It's a really nice effect.

Regardless, good luck, and if you figure out a really good way to do it, make a tutorial out of it or something. :)


None

Luis

Reply To Post Reply & Quote

Posted at: 8/18/06 04:51 PM

Luis NEUTRAL LEVEL 02

Sign-Up: 04/23/00

Posts: 11,311

I made this tutorial years ago, i retired from doing it this way actually but it may get you on the right path atleast. You can download the sample FLA if you still have problems.

http://www.brainwash..om/Tuts_scrollbk.htm

BBS Signature

All times are Eastern Standard Time (GMT -5) | Current Time: 09:21 AM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!