Language…
11 users online: Dan2point5, fsvgm777, Gasterus155, JPhanto, kirsvantas, nonamelol1, reevebarusadar8, signature_steve, Sokobansolver, tOaO, Weeglem - Guests: 249 - Bots: 298
Users: 64,795 (2,377 active)
Latest user: mathew

need help with level design

Hello,
I'm fairly new to using lunar magic and was wondering if anyone can give me some advice. I can't find any help or tutorials on how to insert animated levels...for example, I'd like to have a ghost level where a platform of bricks with spikes is scrolling down from the top of the screen and then back up on a repeated time interval.....How do I do that? Are there tutorials that can show me?

Any help is appreciated.

Thanks,
Anthony


For that, it sounds like you want to use Layer 2. The SNES features up to 4 layers (or rather, only 3 most of the time) which you can put tiles on, and then scroll indespendantly of each other. SMW uses Layer 1 as an object layer (where you put ledges and whatnot), which you edit with #lm{l1}. Layer 2 is generally a background layer (where it's just a flat tilemap), which you edit with #lm{bg}.

However, you can also switch Layer 2 to be another object layer like Layer 1. To do this, open the level header settings with #lm{MARIO69}, and switch the level mode (the dropdown at the top) to either setting 02 (for a horizontal Layer 2 level) or 08 (for a vertical one). You'll notice the text below the box will indicate that fact. When you click okay after doing this, Lunar Magic will give you a couple warnings about how your level will be affected by this; click okay to both. As a result, you'll probably notice your background disappears. That's because Layer 2 is now an object layer, editable with #lm{l2} the same way Layer 1 is.

So, how does this then help you with your scrolling platforms question? Well, go into sprite-editing mode and open the sprite selector, then switch the dropdown to "special commands and generators". Scroll down a bit to sprite E9 and below, and you'll notice there's a bunch of generators that affect Layer 2. You can use these to control Layer 2 in your level and make it scroll or smash the ground (see Wendy's Castle, level 1A, for an example of the smash). Just place that sprite at the top of the screen you want the scrolling to start, change any settings noted in the sprite's description (most commonly, set the Layer 2 vertical scroll rate under #lm{othprops} to 'none'), and you should be good to go.



Also, worth noting that if you still want a background with Layer 2, you'd want to take the next step down and add Layer 3 to the level. Layer 3 is a bit wonkier than Layer 1/2, but there's a basic guide on it here.

Professional frame-by-frame time wizard. YouTube - Twitter - SMW Glitch List - SMW Randomizer
@SkeleTom.....

I can't begin to thank you for taking the time to write all of that out in perfect detail. Your directions are perfect and I have begun to finally understand how it all works. I wish I could repay you...I'm in the dermatology field so, If you have any dermatology concerns, let me know. I'll be glad to help.

Thanks again!!!
Anthony