The Daily Click ::. Forums ::. Klik Coding Help ::. Layers Questions
 

Post Reply  Post Oekaki 
 

Posted By Message

Jon C-B

I create vaporware

Registered
  23/04/2008
Points
  237

I'm an alien!VIP MemberWii OwnerI donated an open source project Santa Hat
7th August, 2009 at 03:53:42 -

In my game I want the moon to be parallaxing in the back ground but it's in front of every thing else. THe moons on layer 2 and everything else is on layer 1. And also how can you make a layer visible or invisible in the event editor?

 
n/a

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
7th August, 2009 at 04:34:16 -

If you want the moon behind everything else then drag the layer with the moon on to the bottom of the list of layers on the layer toolbar.

To make a layer invisible make sure that layer isn't highlighted, then click on the eye to toggle visibility.

 
.

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
7th August, 2009 at 09:57:51 -

Set the moons layer behind all others and give it X and Y scrolling coeffeciencies of 1. Or 0.9 if you wan't to gradually move it.

I think you can make layers invisible in the event editor using the Layer extension. In HWA I think you can set a layers transparency but in normal MMF you can just make it visible/invisible (I think at least!).

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

Jon C-B

I create vaporware

Registered
  23/04/2008
Points
  237

I'm an alien!VIP MemberWii OwnerI donated an open source project Santa Hat
7th August, 2009 at 15:53:04 -

Thanks I got the moon to work. But what I mean for the trasnparency is like this.

Mouse clicks on arrow button

>Make Layer 1 Invisible

>Make Layer 2 Reappear

 
n/a

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
7th August, 2009 at 16:19:55 -

That's pretty easy. All you do is add the layer object (looks yellowish-orange IIRC) to your frame and when the user clicks on the arrow button you make layer 1 invisible and layer 2 reappear.

Also you should remember that layers with lower numbers are behind layers with higher numbers. Keep experimenting because layers in MMF are a real GODSEND. I used to have a frame full of junk but after you move them to different layers you can then show / hide different ones while creating and it really helps sort it all out.

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

Jon C-B

I create vaporware

Registered
  23/04/2008
Points
  237

I'm an alien!VIP MemberWii OwnerI donated an open source project Santa Hat
7th August, 2009 at 17:35:24 -

Thanks I got it to work. I expected the layer object but I wasn't sure.

 
n/a

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
7th August, 2009 at 20:11:18 -

Oops i misread event editor as frame editor.

 
.
   

Post Reply



 



Advertisement

Worth A Click