Search found 107 matches

Go to advanced search

by MrDoubleA
Mon Aug 10, 2020 5:27 am
Forum: LunaLua
Topic: rooms.lua - Quick respawn & Celeste-styled rooms (v1.2 update)
Replies: 35
Views: 3931

Re: rooms.lua - Quick respawn & Celeste-styled rooms (v1.2 update)

georgespezi12 wrote:
Sat Aug 08, 2020 1:02 pm
Image

Held npcs disappear when you transition rooms.
I'm aware. You can disable the reset when transitioning between rooms by using one of the settings, though I may include an option to make held NPC's not get reset in the next version.
by MrDoubleA
Mon Aug 10, 2020 5:20 am
Forum: LunaLua Help
Topic: multi hit npcs
Replies: 5
Views: 300

Re: multi hit npcs

My bad! The type in it should be fixed now.
by MrDoubleA
Sun Aug 09, 2020 3:54 pm
Forum: LunaLua Help
Topic: I need a bit of help with coins
Replies: 2
Views: 128

Re: I need a bit of help with coins

If it helps, the current coin count can be accessed using the following:

Code: Select all

mem(0x00B2C5A8,FIELD_WORD)
by MrDoubleA
Sun Aug 09, 2020 3:52 pm
Forum: LunaLua Help
Topic: multi hit npcs
Replies: 5
Views: 300

Re: multi hit npcs

It's not all too hard to do! Put this into your luna.lua file: local multiHitNPCs = { [1] = 2, [2] = 3, } function onNPCHarm(eventObj,npc,reason,culprit) if not multiHitNPCs[npc.id] or (reason == HARM_TYPE_LAVA or reason == HARM_TYPE_OFFSCREEN) then return end local data = npc.data if npc:mem(0x156,...
by MrDoubleA
Mon Aug 03, 2020 5:36 pm
Forum: Graphics
Topic: Default player graphics with uniform offsets
Replies: 2
Views: 343

Default player graphics with uniform offsets

This is a set of player graphics, where the offset for each frame is the same, making it easier to edit and work with. In-case you don't know what all that means: basically, they're no longer smushed into the top left corner. In addition, the inconsistent colouring of Mario & Luigi has been fixed. O...
by MrDoubleA
Tue Jul 28, 2020 5:10 am
Forum: LunaLua
Topic: [NPC Pack] helmets.lua - Protect your head!
Replies: 15
Views: 1125

Re: [NPC Pack] helmets.lua - Protect your head!

GOD_SAMA wrote:
Mon Jul 27, 2020 10:07 pm
What about this?
Image
That looks to just be an early version of the cape.
by MrDoubleA
Mon Jul 27, 2020 4:38 pm
Forum: LunaLua
Topic: [NPC Pack] helmets.lua - Protect your head!
Replies: 15
Views: 1125

Re: [NPC Pack] helmets.lua - Protect your head!

This is awesome, but how would one go about adjusting the GFX offset for the helmets when worn. I have SMW style skins for the players and the helmets are just a little to low on the head. It's not the sprites themselves cause everything else works fine. Just wondering what to adjust in which lua f...
by MrDoubleA
Mon Jul 27, 2020 9:40 am
Forum: LunaLua
Topic: warpTransition.lua (v1.1.2) - Spruce up your warps!
Replies: 32
Views: 2174

Re: warpTransition.lua (v1.1.1) - Spruce up your warps!

This still throws an error when using an SMB2 subcon door on any area that doesn't have a warp attached to it. If you throw a magic potion and then attempt to go through the resulting subcon door placed anywhere a warp doesn't exist exactly , this error occurs: ==> !Warp:entranceSection:9: Invalid ...
by MrDoubleA
Sun Jul 26, 2020 5:09 pm
Forum: LunaLua
Topic: [NPC Pack] helmets.lua - Protect your head!
Replies: 15
Views: 1125

[NPC Pack] helmets.lua - Protect your head!

This is an NPC pack (and library too, I guess?) that allows you to create Mario Maker-like helmets. https://cdn.discordapp.com/attachments/473616657408065536/731977634866659349/2020-07-12_21_56_51.gif https://cdn.discordapp.com/attachments/473616657408065536/731978459253047306/2020-07-12_22_00_20.gi...
by MrDoubleA
Thu Jul 23, 2020 10:45 am
Forum: LunaLua
Topic: warpTransition.lua (v1.1.2) - Spruce up your warps!
Replies: 32
Views: 2174

Re: warpTransition.lua (v1.1.1) - Spruce up your warps!

Do not copy and paste the code into a luna.lua file. Instead, copy all the files into your folder and put this into the luna.lua:

local warpTransition = require("warpTransition")
by MrDoubleA
Wed Jul 15, 2020 6:10 pm
Forum: LunaLua
Topic: anotherpowerup.lua - and another one
Replies: 14
Views: 1777

Re: anotherpowerup.lua - and another one

Thanks for the update! There's just 3 new bugs I've found recently. (Sorry for all the hassle...) - The reserve powerup is much more functional now, though it still doesn't seem to work 100% properly. you're a mouse? - If you collect a custom powerup with nothing in 0x46, you'll get the custom power...
by MrDoubleA
Mon Jul 13, 2020 1:21 pm
Forum: LunaLua
Topic: anotherpowerup.lua - and another one
Replies: 14
Views: 1777

Re: anotherpowerup.lua - and another one

I've been using this library for a bit, and I have a couple bugs/annoyances to share. - If you pick up a custom powerup but you already have that powerup, it'll still play the animation. - When picking up a custom powerup, often times the wrong powerup will appear in the item box. This could maybe b...
by MrDoubleA
Sat Jul 11, 2020 5:47 pm
Forum: General
Topic: Old smbx.exe file
Replies: 5
Views: 309

Re: Old smbx.exe file

SMBX2 requires SMBX 1.3 to run. The way it works is by running that exe, and then adding stuff onto it via ASM hacks and the like. In fact, if you right click on X2 in the taskbar and click on this option, it'll open up 1.3. https://cdn.discordapp.com/attachments/473616657408065536/73162757979845436...
by MrDoubleA
Sat Jul 11, 2020 5:11 pm
Forum: LunaLua Help
Topic: Custom Counters in HUD? (Purple Coin Challenge)
Replies: 1
Views: 134

Re: Custom Counters in HUD? (Purple Coin Challenge)

If you want any custom HUD element, you can do this: local function myHUDElement(camIdx,priority,isSplit) -- Do stuff here end Graphics.addHUDElement(myHUDElement) ... or, if you want to override the HUD entirely, you can do this: local function myCustomHUD(camIdx,priority,isSplit) -- Do stuff here ...
by MrDoubleA
Wed Jul 08, 2020 11:28 am
Forum: LunaLua
Topic: warpTransition.lua (v1.1.2) - Spruce up your warps!
Replies: 32
Views: 2174

Re: warpTransition.lua (v1.1.1) - Spruce up your warps!

There was a minor bug with warps that lead to the world map, and that's now been fixed.
by MrDoubleA
Tue Jul 07, 2020 12:12 pm
Forum: LunaLua
Topic: warpTransition.lua (v1.1.2) - Spruce up your warps!
Replies: 32
Views: 2174

Re: warpTransition.lua (v1.1) - Spruce up your warps!

I downloaded it to take a look at the shaders for the transitions... surprised to find swirl not using one, when it could easily use a texture. Check out this video: https://www.youtube.com/watch?v=LnAoD7hgDxw That seems like a really useful technique! I'll keep that in mind for the future, thank y...
by MrDoubleA
Tue Jul 07, 2020 9:48 am
Forum: LunaLua
Topic: warpTransition.lua (v1.1.2) - Spruce up your warps!
Replies: 32
Views: 2174

Re: warpTransition.lua (v1.1) - Spruce up your warps!

It's now been updated to v1.1, fixing a few things, making all the transitions functions (which greatly improves the code itself and make it possible to add your own transition types), adding an option to let instant/portal warps trigger transitions, and two new transition types, TRANSITION_MELT and...
by MrDoubleA
Thu Jul 02, 2020 4:50 am
Forum: LunaLua
Topic: MrDoubleA's NPC Pack v1.2.1 - Seesaws, custom piranha plants, and one-way walls!
Replies: 88
Views: 9253

Re: MrDoubleA's NPC Pack v1.2.1 - Seesaws, custom piranha plants, and one-way walls!

It would seem you're using an outdated version of SMBX2, as that function was added in one of the patches.
by MrDoubleA
Mon Jun 29, 2020 11:24 am
Forum: LunaLua
Topic: anotherpowerup.lua - and another one
Replies: 14
Views: 1777

Re: anotherpowerup.lua - and another one

I've been wondering... why exactly is the mini mushroom not possible? Couldn't the issues be avoided with onNPCHarm and onBlockHit, and onPlayerHarm?
by MrDoubleA
Sun Jun 28, 2020 10:41 am
Forum: LunaLua Help
Topic: onFunction Question
Replies: 3
Views: 214

Re: onFunction Question

Ah yeah, forgot about that. It seems to base it off of the offset that was thought to be "has jumped", but turns out it was if the player can do a purple yoshi ground pound.

Go to advanced search