Search found 9198 matches

Go to advanced search

by Enjl
Sun Nov 21, 2021 5:07 pm
Forum: Help and Support
Topic: How do I keep Mario as big Mario?
Replies: 5
Views: 160

Re: How do I keep Mario as big Mario?

try putting this code in your level's luna.lua file: function onStart() player.powerup = PLAYER_BIG end function onTickEnd() if(player.powerup == PLAYER_SMALL and player:mem(0x13E, FIELD_WORD) == 0) then player:kill() end end also, just a heads up, but you should probably post questions like this i...
by Enjl
Tue Nov 16, 2021 6:21 am
Forum: Guides
Topic: How to host a contest
Replies: 0
Views: 122

How to host a contest

Hello! Welcome to this guide of assembled thoughts on hosting contests. I've observed, helped with and hosted quite a number of those over the years, and before the common pitfalls and considerations are forgotten I would like to archive them here. Each spoiler contains one action that □ must, □ sho...
by Enjl
Thu Nov 11, 2021 5:12 pm
Forum: Episodes
Topic: Deeper [v1.11]
Replies: 9
Views: 526

Re: Deeper [v1.01]

once i sufficiently erased that misconception from my mind i had a nice and easygoing time at least, hah!
especially love the atmosphere at play here. the little touches like the changed sfx and the "onto the next stage" at the end add a lot imo.
by Enjl
Thu Nov 11, 2021 4:27 pm
Forum: Episodes
Topic: Deeper [v1.11]
Replies: 9
Views: 526

Re: Deeper [v1.0]

half of my deaths in my playthrough (10) were because i kept jumping into stalagmites in the cave level pits because the first level taught me that if i see a bgo on the lower screen edge there is a warp that leads to a secret area
by Enjl
Wed Nov 10, 2021 12:14 pm
Forum: LunaLua Help
Topic: Need help with lua? - LunaLua General Help
Replies: 410
Views: 76663

Re: Need help with lua? - LunaLua General Help

Eh... apologies but I may have misunderstood the scope at play here. If I get more specific we might be here for weeks, hah. Littledialogue.lua has basically what you're looking for, so you might wanna check that out. It won't teach you how to do all of this on your own, of course, but it's a quick ...
by Enjl
Wed Nov 10, 2021 5:38 am
Forum: LunaLua Help
Topic: Custom NPC Boss Exit
Replies: 4
Views: 210

Re: Custom NPC Boss Exit

NPC.get() returns a table of NPC s. trying to compare that with a number will always yield false, and thus the loop will never execute. if you want to try checking whether or not an NPC is valid, do something like while(boo[1] ~= nil) instead of while(boo == 1) and vice-versa (of course, this is as...
by Enjl
Tue Nov 09, 2021 5:08 pm
Forum: LunaLua Help
Topic: Need help with lua? - LunaLua General Help
Replies: 410
Views: 76663

Re: Need help with lua? - LunaLua General Help

Okay, and I take it I get one of these .JSON files from the data file? And then I put it either in the episode folder or level folder depending on which NPCs I want it to affect on which scale? (Sorry if I seem confused right now, I best learn from example) A json file by the name of global_npc.jso...
by Enjl
Tue Nov 09, 2021 3:57 pm
Forum: LunaLua Help
Topic: Need help with lua? - LunaLua General Help
Replies: 410
Views: 76663

Re: Need help with lua? - LunaLua General Help

You could for instance use extra settings in a global_npc.json to give every npc a new boolean called v.data._settings._global._hasDialogue as well as a text field for a string of responses _responses and reactions _reactions https://docs.codehaus.moe/#/concepts/extra-settings local reactions = {} l...
by Enjl
Tue Nov 09, 2021 1:43 pm
Forum: LunaLua Help
Topic: Need help with lua? - LunaLua General Help
Replies: 410
Views: 76663

Re: Need help with lua? - LunaLua General Help

Is there anyway I can get or reference an NPC by it's array ID as opposed to its NPC ID? I'm asking because I want to reference an NPC that triggers an event/script when you talk to him. I believe the onMessageBox event passes the NPC you talk to as its fourth parameter function onMessageBox(eventT...
by Enjl
Tue Nov 09, 2021 7:29 am
Forum: Help and Support
Topic: zoom in the screen?
Replies: 6
Views: 172

Re: zoom in the screen?

While it's not documented on the docs yet, I recommend checking out handycam.lua in the scripts folder. I thinkkkkk you access the zoom via handycam[1].zoom = 2 for instance?
by Enjl
Mon Nov 08, 2021 4:27 am
Forum: Episodes
Topic: Mario and the Missing Shine Sprites
Replies: 8
Views: 873

Re: Mario and the Missing Shine Sprites

This episode feels very oldschool, both in its layout and scope, as well as how it feels like it could have been made in 1.3. It's almost nostalgic. Unfortunately, with the close resemblance to older episode comes a set of nitpicks that get in the way of the play experience. Here are a few suggestio...
by Enjl
Sun Nov 07, 2021 4:01 am
Forum: General
Topic: Why background not showing?
Replies: 2
Views: 116

Re: Why background not showing?

When I put SMB Overworld or SMW Hills, It doesn't show up in the game. All I see is just a black background. Both SMB Overworld or SMW Hills has an asterisk in the name. Sounds like you accidentally hit the edit icon on them, which created empty background2-n.txt files in your level folder. Remove ...
by Enjl
Fri Nov 05, 2021 11:04 am
Forum: General
Topic: How do you put enemies in Clear Pipes?
Replies: 1
Views: 110

Re: How do you put enemies in Clear Pipes?

You can't natively place them in such a way that they spawn in them. I have however written some code for my MAGLX3 level which lets you do that. https://drive.google.com/file/d/1FQLmUHRMDP6F6K1SFwAghJ-u0FstNPlj/view?usp=sharing MAKING ENEMY TYPES ABLE TO ENTER CLEAR PIPES In the file luna.lua, near...
by Enjl
Thu Nov 04, 2021 2:13 pm
Forum: Sandbox
Topic: Should i be scared of college?
Replies: 7
Views: 1615

Re: Should i be scared of college?

SethFawsitt wrote:
Thu Nov 04, 2021 11:35 am
This thread is like 4 and a half years old.
by Enjl
Tue Oct 19, 2021 5:23 pm
Forum: LunaLua Help
Topic: NPC refuses to stand still.
Replies: 2
Views: 104

Re: NPC refuses to stand still.

the "iswalker" config auto-applies goomba properties to an npc, and goombas have the annoying habit of just running forever. I believe the dry bones either don't set the iswalker flag and handle speedX manually (v.speedX = v.direction * some multiplier, commonly) or set dontMove while in t...
by Enjl
Tue Oct 19, 2021 2:53 pm
Forum: LunaLua Help
Topic: How to make "One Hit Deadly" npc?
Replies: 8
Views: 304

Re: How to make "One Hit Deadly" npc?

Instead of performing those checks in the onTickNPC of any given NPC, it might make more sense to put them into onPostPlayerHarm, to ensure that they don't fire/misfire as often. sorry for not noticing this reply earlier, but i wanted to ask under which conditions would these misfires happen? accor...
by Enjl
Tue Oct 19, 2021 2:05 am
Forum: General
Topic: OGG Loop Archive - v1
Replies: 5
Views: 515

Re: OGG Loop Archive - v1

idk what i missed, but i can't fully understand what this is for (probably because i'm an idiot) so these are music tracks in .ogg format made to make episode file sizes a tad smaller? so you can come here and grab what you're looking for if it exists yet yeah i'm not at 100% brain power rn sorry F...
by Enjl
Wed Oct 13, 2021 3:12 am
Forum: LunaLua
Topic: Eeries not appearing?
Replies: 2
Views: 225

Re: Eeries not appearing?

Eeries (and Bullet/Banzai Bills) usually only spawn if they scroll on-screen by means of camera movement, or if they are generated.
by Enjl
Sun Oct 10, 2021 6:41 am
Forum: General
Topic: Critical Review of SMBX 2.0 as an Update
Replies: 29
Views: 1741

Re: Critical Review of SMBX 2.0 as an Update

Wohlstand wrote:
Sun Oct 10, 2021 6:23 am
you still reject on making more fixes with a worry to break the compatibility, etc.
That sounds awfully accusatory. Do you have any specific examples?
by Enjl
Sun Oct 10, 2021 5:43 am
Forum: General
Topic: Critical Review of SMBX 2.0 as an Update
Replies: 29
Views: 1741

Re: Critical Review of SMBX 2.0 as an Update

Wohlstand wrote:
Sat Oct 09, 2021 8:42 pm
therefore the flexible compat.ini system was been designed to manage this
Oh you mean like our glitch toggle functions that we have because fixing glitches conditionally is not something that's impossible for us?

Go to advanced search