Search found 37 matches

Go to advanced search

by Ninji2701
Fri Apr 17, 2020 1:07 pm
Forum: Help and Support
Topic: General Help and Quick Questions
Replies: 29
Views: 2949

Re: Auto-Clear Levels

Enjl wrote:
Fri Apr 17, 2020 1:06 pm
Ninji2701 wrote:
Fri Apr 17, 2020 1:04 pm
Ninji2701 wrote:
Fri Apr 17, 2020 12:55 pm
Is there any way that I can automatically trigger a level's exit as soon as it is visible?
Should clarify that I want it to be cleared as soon as it is visible on the world map.
Put a path tile behind the level tile.
I need certain directions to be unlocked while keeping other directions locked.
by Ninji2701
Fri Apr 17, 2020 1:04 pm
Forum: Help and Support
Topic: General Help and Quick Questions
Replies: 29
Views: 2949

Re: Auto-Clear Levels

Ninji2701 wrote:
Fri Apr 17, 2020 12:55 pm
Is there any way that I can automatically trigger a level's exit as soon as it is visible?
Should clarify that I want it to be cleared as soon as it is visible on the world map.
by Ninji2701
Fri Apr 17, 2020 12:55 pm
Forum: Help and Support
Topic: General Help and Quick Questions
Replies: 29
Views: 2949

Auto-Clear Levels

Is there any way that I can automatically trigger a level's exit as soon as it is visible? Lua is okay, I've worked with it before.
by Ninji2701
Fri Apr 17, 2020 12:26 pm
Forum: LunaLua
Topic: worldPlayerDisable.lua
Replies: 6
Views: 630

Re: worldPlayerDisable.lua

Fixing the one-frame thing is incredibly trivial: Just use onTickEnd. Actually no, because the game doesn't run ticks while paused. Then, onDraw Causes issues where attempting moving right past characters will simply raise the preview of your current character instead of switching to the next valid...
by Ninji2701
Fri Apr 17, 2020 12:20 pm
Forum: LunaLua
Topic: worldPlayerDisable.lua
Replies: 6
Views: 630

Re: worldPlayerDisable.lua

Enjl wrote:
Fri Apr 17, 2020 12:15 pm
Fixing the one-frame thing is incredibly trivial: Just use onTickEnd.
Actually no, because the game doesn't run ticks while paused.
by Ninji2701
Fri Apr 17, 2020 12:09 pm
Forum: LunaLua
Topic: worldPlayerDisable.lua
Replies: 6
Views: 630

worldPlayerDisable.lua

worldPlayerDisable.lua is a script(?) that (mostly) fixes a bug in SMBX2 BETA 4 Patch 1 where the player can select a character that is not allowed within the episode in episodes where more than one character is allowed. Do NOT use this script for episodes with only one character allowed, because it...
by Ninji2701
Fri Apr 17, 2020 11:16 am
Forum: LunaLua Help
Topic: Need help with lua? - LunaLua General Help
Replies: 277
Views: 40297

Re: Need help with lua? - LunaLua General Help

<r><QUOTE author="Hoeloe" post_id="369408" time="1587121694" user_id="7197"><s>[quote=Hoeloe post_id=369408 time=1587121694 user_id=7197]</s><QUOTE author="Ninji2701" post_id="369395" time="1587088578" user_id="19722"><s>[quote=Ninji2701 post_id=369395 time=1587088578 user_id=19722]</s>(BTW I couldn...
by Ninji2701
Fri Apr 17, 2020 10:47 am
Forum: Projects
Topic: Mario's Quest
Replies: 18
Views: 1417

Re: Mario's Quest

Cedur wrote:
Fri Apr 17, 2020 10:42 am
Ninji2701 wrote:
Fri Apr 17, 2020 10:24 am
Cedur wrote:
Fri Apr 17, 2020 9:34 am
since this seems to be quite a trivial error cause, you can bring back the download link, right?
I'm unclear as to what you mean by this.
It's still removed from the first post. Are there any other reasons to this?
The download link was never in the first post. I should probably do that, though.
by Ninji2701
Fri Apr 17, 2020 10:24 am
Forum: Projects
Topic: Mario's Quest
Replies: 18
Views: 1417

Re: Mario's Quest

Cedur wrote:
Fri Apr 17, 2020 9:34 am
since this seems to be quite a trivial error cause, you can bring back the download link, right?
I'm unclear as to what you mean by this.
by Ninji2701
Thu Apr 16, 2020 11:15 pm
Forum: Projects
Topic: Mario's Quest
Replies: 18
Views: 1417

Re: Mario's Quest

What version of SMBX are you using? Added in 3 minutes 39 seconds: I should mention that this is 2.0 only. I'm currently developing this on 2.0β4 Patch 1, although I will move to the full release of 2.0 once that is released. It looks like you need a VERY big Patch to fix this Or I could just, you ...
by Ninji2701
Thu Apr 16, 2020 9:56 pm
Forum: LunaLua Help
Topic: Need help with lua? - LunaLua General Help
Replies: 277
Views: 40297

Re: Need help with lua? - LunaLua General Help

Actually, I've decided to cancel this project for now, as the bug is planned to eventually be fixed, and I have a specialized solution for what I'm doing right now. Thanks for the help though!
(BTW I couldn't get it to work)
by Ninji2701
Thu Apr 16, 2020 6:46 pm
Forum: LunaLua Help
Topic: Need help with lua? - LunaLua General Help
Replies: 277
Views: 40297

Re: Need help with lua? - LunaLua General Help

local worldPlayerDisable={} --config local allowedPlayers={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16}--List of characters allowed in the episode. Should usually match the flags set in the 'Disable characters' field of the your world map. --/config local playerMask={} for i=1,#allowedPlayers do playerM...
by Ninji2701
Thu Apr 16, 2020 4:15 pm
Forum: LunaLua
Topic: SMBX2 BETA 4 Release - Feedback and Suggestions here!
Replies: 621
Views: 93413

Re: SMBX2 BETA 4 Release - Feedback and Suggestions here!

<r><QUOTE author="Enjl" post_id="369372" time="1587065021" user_id="284"><s>[quote=Enjl post_id=369372 time=1587065021 user_id=284]</s><QUOTE author="Ninji2701" post_id="369368" time="1587064515" user_id="19722"><s>[quote=Ninji2701 post_id=369368 time=1587064515 user_id=19722]</s><QUOTE author="Enjl...
by Ninji2701
Thu Apr 16, 2020 3:15 pm
Forum: LunaLua
Topic: SMBX2 BETA 4 Release - Feedback and Suggestions here!
Replies: 621
Views: 93413

Re: SMBX2 BETA 4 Release - Feedback and Suggestions here!

Why is it that characters that are disabled in the world map settings can be selected by pushing left or right while paused in the overworld? This isn't an issue in the world map tester portion of the editor, so why does this happen in-game? Was this a deliberate decision within the game, or a bug ...
by Ninji2701
Thu Apr 16, 2020 3:12 pm
Forum: LunaLua
Topic: playerSymbols.lua
Replies: 2
Views: 577

playerSymbols.lua

playerSymbols.lua is a script that replaces the usual ‘1UP’ sprite next to the level counter with a custom emblem specific to each character. These character emblems are accessed under the name pattern ‘icon-#.png’, where # is the character ID of the current character. This is also compatible with l...
by Ninji2701
Thu Apr 16, 2020 3:03 pm
Forum: LunaLua
Topic: SMBX2 BETA 4 Release - Feedback and Suggestions here!
Replies: 621
Views: 93413

Re: SMBX2 BETA 4 Release - Feedback and Suggestions here!

Why is it that characters that are disabled in the world map settings can be selected by pushing left or right while paused in the overworld? This isn't an issue in the world map tester portion of the editor, so why does this happen in-game? Was this a deliberate decision within the game, or a bug t...
by Ninji2701
Thu Apr 16, 2020 12:45 pm
Forum: LunaLua Help
Topic: Need help with lua? - LunaLua General Help
Replies: 277
Views: 40297

Re: Need help with lua? - LunaLua General Help

function onStart() if player.character==CHARACTER_MARIO then playerName=Graphics.loadImageResolved("name-1.png") else if player.character==CHARACTER_LUIGI then playerName=Graphics.loadImageResolved("name-2.png") else playerName=Graphics.loadImageResolved("name-3.png") end end end function onDraw() ...
by Ninji2701
Thu Apr 16, 2020 7:43 am
Forum: LunaLua Help
Topic: Need help with lua? - LunaLua General Help
Replies: 277
Views: 40297

Re: Need help with lua? - LunaLua General Help

<r><QUOTE author="Enjl" post_id="369328" time="1587012443" user_id="284"><s>[quote=Enjl post_id=369328 time=1587012443 user_id=284]</s>1. Google what the local keyword does in lua<e>[/quote]</e></QUOTE>Fixed that, but still get the same error.<QUOTE author="Enjl" post_id="369328" time="1587012443" u...
by Ninji2701
Wed Apr 15, 2020 11:14 pm
Forum: LunaLua Help
Topic: Need help with lua? - LunaLua General Help
Replies: 277
Views: 40297

Life counter displays character name

function onStart() if player.character==CHARACTER_MARIO then local playerName=Graphics.loadImage("name-1.png") else if player.character==CHARACTER_LUIGI then local playerName=Graphics.loadImage("name-2.png") else local playerName=Graphics.loadImage("name-3.png") end end Graphics.sprites.hardcoded["...
by Ninji2701
Tue Apr 14, 2020 11:22 pm
Forum: Projects
Topic: Mario's Quest
Replies: 18
Views: 1417

Re: Mario's Quest

<r>What version of SMBX are you using?<br/> <br/> <SIZE size="85"><s>[size=85]</s><COLOR color="green"><s>[color=green]</s>Added in 3 minutes 39 seconds:<e>[/color]</e></COLOR><e>[/size]</e></SIZE><br/> I should mention that this is 2.0 only. I'm currently developing this on 2.0β4 Patch 1, although ...

Go to advanced search