pasting to multiple layers
I am having a problem pasting to multiple layers. My .mfa almost works, but one of my conditions must be wrong as MMF is not changing the background behavior on layer 2 to "not an obstacle". It works correctly, however, on layer 1.
Maybe I'm just going about this all wrong. I tried some other ways that worked, but this seemed like it might be a cleaner/easier way to handle the job.
http://www.mediafire.com/?zzioytjzvyv
(I'd have uploaded it to the mfa repository, except I needed to include an external .bmp for the background)
Thanks in advance for any help. :D
Re: pasting to multiple layers
Try Add Backdrop instead of Paste to Background
Re: pasting to multiple layers
I just tried that... it didn't work either. :/
Thanks for the idea though.
//edit//
I went back to having everything on one layer. I thought it would work if I pasted the second set of background objects outside the frame. This worked fine while I was testing because I had the window stretched to see both layers. When I resized the frame, however, the second set of collisions were lost.
To remedy this, I used the viewport object, stretched it to cover both layers and set the view source to only display one of the layers. Then I used the window control object to resize the window. This works fine, but there has to be an easier/cleaner way to achieve the same or better results.
Re: pasting to multiple layers
Paste into background is erased when it is outside of the frame window. You can resize the frame window without resising the frame or the window using the window control object, but note that you will have to do some tricky things with the camera now.
Re: pasting to multiple layers
Hmm...
So I got the game working decently and decided to compile a version of the game to Flash (for my webpage). I removed all of the extensions and reworked some of my event code so that the game would build. Unfortunately, when I build the game, the "not an obstacle" backdrops don't work... similarly to the layered version I posted above! The game runs fine, however, when I test it in MMF2! :P
http://www.youtube.com/watch?v=VGI1vGN1TC8
/edit/
I just came back to post the link to the vid, but I've seen your post, LB. Thanks!
Re: pasting to multiple layers
Yeah it's a known bug and will be fixed in the next release of Flash export.
Re: pasting to multiple layers
I like your game lost_Child, looks interesting :)
Re: pasting to multiple layers
Re: pasting to multiple layers
Also regarding your first post, paste a backdrop only works on the lowest layer if I remember correctly. On other layers it acts as 'add backdrop' instead. I could be wrong though...
Re: pasting to multiple layers
I think you are right. I wonder if this will be fixed in a future update?
Re: pasting to multiple layers
If thats the cause, I doubt it will. Its to do with how MMF draws the layers. It has to draw everything on the bottom layer before it can move onto higher layers and can't paste over object that should always be in front of backdrops, such as actives for example.
Again I could be wrong