Search found 9004 matches

Go to advanced search

by Enjl
Sun Feb 21, 2021 11:54 am
Forum: Diorama Contest 2021
Topic: Diorama Contest 2021 - Rules, Questions, Discussion
Replies: 5
Views: 783

Re: Diorama Contest 2021 - Rules, Questions, Discussion

One more week left for submissions! Go, go, go!
by Enjl
Fri Feb 19, 2021 3:26 am
Forum: Episodes
Topic: 2k1x Subzero Heroes
Replies: 181
Views: 14843

Re: 2k1x Subzero Heroes

No context. Not sure how it happened and can't replicate it. The ghost items cannot be used at all. Inserting another item may help. Would love to fix this. I have encountered it a couple of times myself but also have never managed to get it reliably. If you manage to find a reliable replication me...
by Enjl
Wed Feb 17, 2021 10:10 am
Forum: Site Discussion
Topic: "Page not found" when replying to a PM
Replies: 2
Views: 69

"Page not found" when replying to a PM

I can't send private messages in response to others, getting a "page not found. return home?" error when hitting submit.

sending a private message that isn't already part of a private message chain works
Image
by Enjl
Tue Feb 16, 2021 4:06 am
Forum: Help and Support
Topic: Increasing/Moving the World Map Window
Replies: 2
Views: 34

Re: Increasing/Moving the World Map Window

With some difficulty. You can call this from map.lua: Graphics.activateOverworldHud(WHUD_NONE) to disable the border and draw your own hud in its place. This will give you an 800x600 canvas to work with. You can then prooobably also move the camera in lunalua's onDraw function to offset the viewport...
by Enjl
Mon Feb 15, 2021 11:07 am
Forum: LunaLua
Topic: anothercurrency.lua - Count anything
Replies: 7
Views: 1935

Re: anothercurrency.lua - Count anything

marioman2007 wrote:
Mon Feb 15, 2021 10:11 am
Is there a way to change the font?
Read the first post and/or the in-file documentation.
Enjl wrote:
Sun Oct 20, 2019 7:23 am
- overrideable draw function (you should really override it cause the default is for debugging)
by Enjl
Sun Feb 14, 2021 5:00 pm
Forum: LunaLua
Topic: anothercurrency.lua - Count anything
Replies: 7
Views: 1935

Re: anothercurrency.lua - Count anything

I was using your anothercurrency.lua file to make a shop system with Dragon Coins as a currency. It's working well, except for the fact that entering a level resets the Dragon Coin counter back to zero. How can I make sure that the Dragon Coin counter gets saved in between levels? My code: https://...
by Enjl
Sun Feb 14, 2021 12:39 pm
Forum: Diorama Contest 2021
Topic: Diorama Contest 2021 - Rules, Questions, Discussion
Replies: 5
Views: 783

Re: Diorama Contest 2021 - Rules, Questions, Discussion

Just about 2 weeks left for submissions! Even if you haven't started yet there's still plenty of time to get something done!
by Enjl
Sun Feb 14, 2021 4:09 am
Forum: LunaLua
Topic: tileRandomizer2 by Enjl
Replies: 22
Views: 2695

Re: tileRandomizer2 by Enjl

Shocken Studios wrote:
Sat Feb 13, 2021 8:22 pm
Image
NOW WE GOT MORE PROBLEMS
That error is from your luna.lua file.
by Enjl
Sat Feb 13, 2021 11:39 am
Forum: Art Board
Topic: WIP Graphics Showcase III
Replies: 1390
Views: 148866

Re: WIP Graphics Showcase III

Unearthed an old tileset and gave it a bit of a facelift
Image
by Enjl
Fri Feb 12, 2021 1:18 am
Forum: Help and Support
Topic: Issue with configured NPC
Replies: 4
Views: 85

Re: Issue with configured NPC

Alright then. Picture of the platform in the editor: https://i.postimg.cc/Rq821qRq/info1.png Picture of the platform in game. Notice that Mario is not in his falling animation because the platforms are still there, just invisible. https://i.postimg.cc/hQ7yZbrv/info2.png Picture of the modified plat...
by Enjl
Fri Feb 12, 2021 12:29 am
Forum: LunaLua
Topic: anotherwalljump.lua - I still don't get why people like Walljumps in Mario
Replies: 40
Views: 4886

Re: anotherwalljump.lua - I still don't get why people like Walljumps in Mario

Hey there, there's a bug in the script that was causing me a few issues; invisible blocks didn't properly register as being invisible, and kept allowing me to wallslide on them. Looking into the code, at line 132, I replaced "o:mem(0x5A, FIELD_WORD) > 0" with "o:mem(0x5A, FIELD_WORD) < 0" and that ...
by Enjl
Thu Feb 11, 2021 3:53 pm
Forum: Sandbox
Topic: Happy CNY!!!
Replies: 6
Views: 128

Re: Happy CNY!!!

It's called Lunar New Year and is celebrated by a large number of asian cultures.
by Enjl
Thu Feb 11, 2021 2:47 pm
Forum: LunaLua Help
Topic: Hardcoded-30-4 & 9, Episode Override
Replies: 8
Views: 118

Re: Hardcoded-30-4 & 9, Episode Override

It might be that it was changed with one of the earlier ASM patches to read from that folder so that we don't have to recompile lunadll whenever Nintendo releases a new console and we have to change the screen. I recall patching the screen taking quite a while last time.
by Enjl
Thu Feb 11, 2021 12:32 pm
Forum: LunaLua Help
Topic: Hardcoded-30-4 & 9, Episode Override
Replies: 8
Views: 118

Re: Hardcoded-30-4 & 9, Episode Override

Changing the startup screen is not supported.
by Enjl
Thu Feb 11, 2021 2:47 am
Forum: Help and Support
Topic: Issue with configured NPC
Replies: 4
Views: 85

Re: Issue with configured NPC

Nothing to say unless you share screenshots of the changes you've made and whatever else you might find to be relevant.
by Enjl
Wed Feb 10, 2021 6:59 am
Forum: LunaLua Help
Topic: Need help with lua? - LunaLua General Help
Replies: 312
Views: 50387

Re: Need help with lua? - LunaLua General Help

marioman2007 wrote:
Wed Feb 10, 2021 4:50 am
Enjl wrote:
Wed Feb 10, 2021 4:46 am
nil in every other scenario.
So you can access obj1 as part of t[player.character] if the player is mario.
What are the other scenarios.
If the player is not mario. Because you only have one table entry for when player.character is mario (CHARACTER_MARIO).
by Enjl
Wed Feb 10, 2021 4:46 am
Forum: LunaLua Help
Topic: Need help with lua? - LunaLua General Help
Replies: 312
Views: 50387

Re: Need help with lua? - LunaLua General Help

t[player.character] returns the object at that index, so in your case { obj1 = Graphics.loadImage(Misc.resolveFile("modernhud-2.png")) } if the player is mario, and nil in every other scenario.
So you can access obj1 as part of t[player.character] if the player is mario.
by Enjl
Wed Feb 10, 2021 4:37 am
Forum: LunaLua Help
Topic: Need help with lua? - LunaLua General Help
Replies: 312
Views: 50387

Re: Need help with lua? - LunaLua General Help

obj1 is part of the t table. You must access it through the table. See my previous post for reference.
by Enjl
Wed Feb 10, 2021 3:29 am
Forum: LunaLua Help
Topic: Need help with lua? - LunaLua General Help
Replies: 312
Views: 50387

Re: Need help with lua? - LunaLua General Help

Is there any way to load a specific image for a specific chracter, I tried searching for it in the documentation but couldn't find it. It's not on the documentation because it's not a thing. What you can do is load an image and internally structure your code so that it's interpreted as something on...
by Enjl
Tue Feb 09, 2021 3:22 pm
Forum: LunaLua Help
Topic: Any way to update a global save variable when beating level?
Replies: 4
Views: 82

Re: Any way to update a global save variable when beating level?

Not documented yet cause whoever added it didn't document it...
function onExitLevel(winType)

Then you can use the winType variable.

Go to advanced search