(request) Volcanic Debris

Post here for help and support regarding LunaLua and SMBX2's libraries and features.

Moderator: Userbase Moderators

TheGameyFireBro105
Eerie
Eerie
Posts: 747
Joined: Thu Jan 09, 2020 6:09 pm
Flair: Good at remakes
Pronouns: he/him

(request) Volcanic Debris

Postby TheGameyFireBro105 » Sat Oct 24, 2020 5:59 pm

I would like it in SMB, SMB2, SMB3, and SMW styles. Give the options to set whether or not they will create lava puddles or explode. They should activate bob-ombs once hit, and be destroyed by invincible mario/other characters. large volcanic debris should be able to go through multiple blocks before being shattered, however, the lava variants should create lava geysers upon hitting the bottom of the screen, or lava. (though this is my own original idea; they arent associated with lava geysers in the base games)

you should be able to place both a volcano background object that acts as a generator and the rocks themselves, as well as the geysers.


DrMekar
Eerie
Eerie
Posts: 781
Joined: Sat Apr 08, 2017 7:16 am
Flair: CUSTOM CHARACTER CREATOR
Contact:

Re: (request) Volcanic Debris

Postby DrMekar » Sat Oct 24, 2020 8:56 pm

Oh Boy, good Luck finding anyone willing to do sich a complex request..

Chipss
Monty Mole
Monty Mole
Posts: 107
Joined: Fri Jul 25, 2014 9:47 pm
Pronouns: he/him
Contact:

Re: (request) Volcanic Debris

Postby Chipss » Sat Oct 24, 2020 10:08 pm

I am laughing at how you actually think someone would just nonchalantly take on such a big request. I thought you would figure out by now that forum requests rarely get fulfilled, and because of the complexity of this one, you might as well just forget about it...

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9865
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: (request) Volcanic Debris

Postby Emral » Sun Oct 25, 2020 4:10 am

Making a spawner is actually reeeeally easy. I made a spawner system for future SMBX2 versions recently and it only is like 50 lines per spawner. Fundamentally speaking you can take this code and just change the spawn location, speeds and npc id by tweaking some numbers. For something volcanic, the reznor or ludwig fireball could be a good vanilla option.

Code: Select all

local cams = {{enabled = true, timer = 0, delay = 200}, {enabled = true, timer = 0, delay = 200}}

function onTickEnd()
    if Defines.levelFreeze then return end

    for k,v in ipairs(Camera.get()) do
        local c = cams[v.idx]
        if c.enabled then
            c.timer = c.timer + 1
            if c.timer % c.delay == 0 then
                local y = v.y 
                local p = Player.getNearest(v.x + 0.5 * v.width, v.y + 0.5 * v.height)
                local n = NPC.spawn(282, v.x + RNG.random(0, 800), y, p.section, false, true)
                n.speedY = 4
                n.layerName = "Spawned NPCs"
            end
        end
    end
end

TheGameyFireBro105
Eerie
Eerie
Posts: 747
Joined: Thu Jan 09, 2020 6:09 pm
Flair: Good at remakes
Pronouns: he/him

Re: (request) Volcanic Debris

Postby TheGameyFireBro105 » Mon Oct 26, 2020 4:17 pm

I really want something that explodes, without having to be set as a projectile; like a peach bomb with water physics that hurts you.



Update: I still do.


Return to “LunaLua Help”

Who is online

Users browsing this forum: No registered users and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari