The Daily Click ::. Forums ::. Klik Coding Help ::. Background system box?
 

Post Reply  Post Oekaki 
 

Posted By Message

Ski

TDC is my stress ball

Registered
  13/03/2005
Points
  10130

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!KlikCast HelperVIP MemberWii OwnerStrawberryPicture Me This Round 28 Winner!PS3 OwnerI am an April Fool
Candy Cane
15th March, 2005 at 17:27:17 -

hi, how exactly do ya use the background system box to make parallex scrolling backgrounds in mmf? Im totally usless at programming but good with graphics so its doin ma head in! cheers.

 
n/a

DistantJ [FZ Games]



Registered
  02/08/2004
Points
  855
15th March, 2005 at 18:31:24 -

Create a background system box with background colour and border colours set to "None", with image set to "Pattern", draw the image into it, then add the events "Start of Frame: Set dimensions to Playfield Width, Playfield Height"(larger than it needs to be but it'll ensure you have as much as you need. Then in the same event line where you centred the camera, add "Set position to X Top Playfield * 0.5, T Yop Playfield * 0.5". Changing the 0.5 will change the speed at which it moves.

That's the best method for 'quick backdrop' styled parallax backgrounds. If you need single backdrop objects then it can be done by storing it's X and Y co-ordinates at start of frame inside it's alterable values and adding "+ alterable value" to both it's X and Y positions in the scrolling action.

 
http://www.fzgames.com

Ski

TDC is my stress ball

Registered
  13/03/2005
Points
  10130

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!KlikCast HelperVIP MemberWii OwnerStrawberryPicture Me This Round 28 Winner!PS3 OwnerI am an April Fool
Candy Cane
15th March, 2005 at 20:02:38 -

Phizzy shut it u big fat turd, n get ur hair cut.

 
n/a

DistantJ [FZ Games]



Registered
  02/08/2004
Points
  855
16th March, 2005 at 19:35:17 -

Now now children.

 
http://www.fzgames.com

YS (YoshiStar)



Registered
  18/03/2005
Points
  16
18th March, 2005 at 20:11:57 -

Erm ... *Starts his off-topic, showing off speech*

I'm good at graphics too! Great at it! You should really see my work...But, later...

*Ends his off-topic, showing off speech*

Image Edited by the Author.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click