Page 8 of 10

Re: SMBX2 Beta 5 RELEASE! ➡️ Discussion & bugs here!

Posted: Mon Apr 22, 2024 3:25 pm
by Just_Thomas
More of a question actually:
Why does the "Power" of the "Launch Barrel Settings" only really work 100% with "Start Angle" 0?
If I set "Power" to 99, I can fling myself in the sky effortlessly, but in all other directions it only works rather powerlessly.
So if I would want to mimic a barrel blast level from DKC, I still would have to put these barrels very close to each other (unless it is upwards, this - like I said - works like a charm). Does somebody know? I don`t think it is a bug, but I still don`t quite get it, why it is not working that well.

Actually I would even say, a change in "Power" only works vertically, otherwise I feel like it just stays on the default value: 15.0

Re: SMBX2 Beta 5 RELEASE! ➡️ Discussion & bugs here!

Posted: Tue Apr 23, 2024 6:32 am
by deice
Just_Thomas wrote:
Mon Apr 22, 2024 3:25 pm
More of a question actually:
Why does the "Power" of the "Launch Barrel Settings" only really work 100% with "Start Angle" 0?
If I set "Power" to 99, I can fling myself in the sky effortlessly, but in all other directions it only works rather powerlessly.
So if I would want to mimic a barrel blast level from DKC, I still would have to put these barrels very close to each other (unless it is upwards, this - like I said - works like a charm). Does somebody know? I don`t think it is a bug, but I still don`t quite get it, why it is not working that well.

Actually I would even say, a change in "Power" only works vertically, otherwise I feel like it just stays on the default value: 15.0
are you holding run while being shot out? smbx caps the player's horizontal speed while run is being held even if the player isn't actually running on the ground, so you might not get the distance you want unless you let go of run first.

Re: SMBX2 Beta 5 RELEASE! ➡️ Discussion & bugs here!

Posted: Tue Apr 23, 2024 7:40 am
by Just_Thomas
deice wrote:
Tue Apr 23, 2024 6:32 am
Just_Thomas wrote:
Mon Apr 22, 2024 3:25 pm
More of a question actually:
Why does the "Power" of the "Launch Barrel Settings" only really work 100% with "Start Angle" 0?
If I set "Power" to 99, I can fling myself in the sky effortlessly, but in all other directions it only works rather powerlessly.
So if I would want to mimic a barrel blast level from DKC, I still would have to put these barrels very close to each other (unless it is upwards, this - like I said - works like a charm). Does somebody know? I don`t think it is a bug, but I still don`t quite get it, why it is not working that well.

Actually I would even say, a change in "Power" only works vertically, otherwise I feel like it just stays on the default value: 15.0
are you holding run while being shot out? smbx caps the player's horizontal speed while run is being held even if the player isn't actually running on the ground, so you might not get the distance you want unless you let go of run first.
I see no difference here.
First gif: I get shot right, first attempt without running, second one WITH running.
Second gif: No difference, in both cases the power is maximum (*insert stupid LSSJ Broly joke here*)

Image

Image

Re: SMBX2 Beta 5 RELEASE! ➡️ Discussion & bugs here!

Posted: Tue Apr 23, 2024 2:28 pm
by deice
Just_Thomas wrote:
Tue Apr 23, 2024 7:40 am
First gif: I get shot right, first attempt without running, second one WITH running.
Second gif: No difference, in both cases the power is maximum (*insert stupid LSSJ Broly joke here*)
ah yea, my bad. i just checked and it's the other way around. the barrels manually apply exponential horizontal momentum decay and thus it's required to hold run + a direction to get a decent amount of speed. this is hardcoded into the barrel ai (you can check around line 300 in launchBarrel.lua) and is thus impossible to change without a lot of tinkering, so you may end up having to compromise.

Re: SMBX2 Beta 5 RELEASE! ➡️ Discussion & bugs here!

Posted: Tue Apr 23, 2024 3:19 pm
by Just_Thomas
deice wrote:
Tue Apr 23, 2024 2:28 pm
Just_Thomas wrote:
Tue Apr 23, 2024 7:40 am
First gif: I get shot right, first attempt without running, second one WITH running.
Second gif: No difference, in both cases the power is maximum (*insert stupid LSSJ Broly joke here*)
ah yea, my bad. i just checked and it's the other way around. the barrels manually apply exponential horizontal momentum decay and thus it's required to hold run + a direction to get a decent amount of speed. this is hardcoded into the barrel ai (you can check around line 300 in launchBarrel.lua) and is thus impossible to change without a lot of tinkering, so you may end up having to compromise.
Thanks for the reply. If this is almost impossible to change technically, then so be it.
But it's nice to know that, instead of making nonsensical attempts that won't lead to success anyway and will only lead to frustration. (:

Re: SMBX2 Beta 5 RELEASE! ➡️ Discussion & bugs here!

Posted: Sat Apr 27, 2024 1:42 am
by harryhenry
Does anyone know how to use widescreen? I downloaded the latest version, but looking through the config files gave me nothing about changing the screen size, nor did I see anything in the linked documentation about this either.

Re: SMBX2 Beta 5 RELEASE! ➡️ Discussion & bugs here!

Posted: Sat Apr 27, 2024 2:47 am
by mariobrigade2018
harryhenry wrote:
Sat Apr 27, 2024 1:42 am
Does anyone know how to use widescreen? I downloaded the latest version, but looking through the config files gave me nothing about changing the screen size, nor did I see anything in the linked documentation about this either.

Code: Select all

Graphics.setMainFramebufferSize(width,height)
function onCameraUpdate()
camera.width,camera.height = Graphics.getMainFramebufferSize()
end
Default size for width and hight is 600x800

Found it in this video: https://m.youtube.com/watch?v=oqE7a2vHF ... IgYmV0YSA1

Re: SMBX2 Beta 5 RELEASE! ➡️ Discussion & bugs here!

Posted: Sat Apr 27, 2024 3:14 am
by harryhenry
mariobrigade2018 wrote:
Sat Apr 27, 2024 2:47 am
harryhenry wrote:
Sat Apr 27, 2024 1:42 am
Does anyone know how to use widescreen? I downloaded the latest version, but looking through the config files gave me nothing about changing the screen size, nor did I see anything in the linked documentation about this either.

Code: Select all

Graphics.setMainFramebufferSize(width,height)
function onCameraUpdate()
camera.width,camera.height = Graphics.getMainFramebufferSize()
end
Default size for width and hight is 600x800

Found it in this video: https://m.youtube.com/watch?v=oqE7a2vHF ... IgYmV0YSA1
I saw that as well, but where do I put that code? (I'm someone from the old days of SMBX who still hasn't gotten used to the editor, so all the new code/Lua stuff is confusing, though I'm still up for learning more about how all this works).

Re: SMBX2 Beta 5 RELEASE! ➡️ Discussion & bugs here!

Posted: Sat Apr 27, 2024 3:05 pm
by mariobrigade2018
harryhenry wrote:
Sat Apr 27, 2024 3:14 am
mariobrigade2018 wrote:
Sat Apr 27, 2024 2:47 am
harryhenry wrote:
Sat Apr 27, 2024 1:42 am
Does anyone know how to use widescreen? I downloaded the latest version, but looking through the config files gave me nothing about changing the screen size, nor did I see anything in the linked documentation about this either.

Code: Select all

Graphics.setMainFramebufferSize(width,height)
function onCameraUpdate()
camera.width,camera.height = Graphics.getMainFramebufferSize()
end
Default size for width and hight is 600x800

Found it in this video: https://m.youtube.com/watch?v=oqE7a2vHF ... IgYmV0YSA1
I saw that as well, but where do I put that code? (I'm someone from the old days of SMBX who still hasn't gotten used to the editor, so all the new code/Lua stuff is confusing, though I'm still up for learning more about how all this works).
Hm. If you’re confused on the editor, then I can give you this:
https://docs.codehaus.moe/#/general/editor

You’ll want to find script—>LunaLua—>Level Local. Level Local is for that level only, Level Global is for the entire episode (both will be called luna.lua), and World Map Script is exactly what it sounds like. (and will be called map.lua)

Then you’ll paste the code in the luna.lua file that you created. Preferably at the bottom of the file.

Re: SMBX2 Beta 5 RELEASE! ➡️ Discussion & bugs here!

Posted: Sun Apr 28, 2024 9:43 am
by Sednaiur
I found a bug with npc-542 (the falling and shattering icicle-NPC):
Spoiler: show
Image
The bug message occurs when setting "slippery=0" inside a .TXT file of that specific NPC only (the other icicle/stalactite-NPCs do not show this message).
Strangely enough, the code still works and the NPC is not slippery anymore but that message pops up everytime one plays the level.

EDIT:
Another bug related to all the stalactite/icicle-NPCs:
Spoiler: show
Image
This one happens when setting the "breaksound"-flag and triggers continuously. Again, the sound does change but this makes the level unplayable.

Re: SMBX2 Beta 5 RELEASE! ➡️ Discussion & bugs here!

Posted: Sun Apr 28, 2024 11:20 pm
by DisasterMaster
Not sure if this always happened, but Grafs/Weiersgrafs/Van De Grafs stop their horizontal movement after screen wrapping on horizontal wrap sections. If they have back-and-forth movement, they will stop at the screen's edge and return back to their original position.
Image

Re: SMBX2 Beta 5 RELEASE! ➡️ Discussion & bugs here!

Posted: Mon Apr 29, 2024 2:28 pm
by mariobrigade2018
No clue if this is intentional or not, but the piranha plants don't recognize custom SFXs.

Image

Re: SMBX2 Beta 5 RELEASE! ➡️ Discussion & bugs here!

Posted: Sat May 04, 2024 5:57 pm
by PopYoshi
I leave for a good while. I login and there's new update

Sick.

Re: SMBX2 Beta 5 RELEASE! ➡️ Discussion & bugs here!

Posted: Sat May 04, 2024 6:48 pm
by mariobrigade2018
PopYoshi wrote:
Sat May 04, 2024 5:57 pm
I leave for a good while. I login and there's new update

Sick.
Welcome back! Hope you have a good time with the new NPCs and features.

Re: SMBX2 Beta 5 RELEASE! ➡️ Discussion & bugs here!

Posted: Fri May 17, 2024 4:24 am
by Just_Thomas
About the blue yoshi and it`s flying ability (only with blue shells?)
Image
Image
Is this supposed to happen? I am honest, I don`t know for sure. Either it is a bug or the description of the blue shell is misleading.
(red shell etc. also works)

Edit: I can't really check it because I don't know SMW in my sleep and the complete version at NSO has these stupid mario-ed shells where I can't see what's going on. So it's supposed to be like this (I did read it now, ..). Fine, I was just asking through. (:

Re: SMBX2 Beta 5 RELEASE! ➡️ Discussion & bugs here!

Posted: Fri May 17, 2024 5:28 am
by Emral
Please read Blue Yoshi's description as well.

Re: SMBX2 Beta 5 RELEASE! ➡️ Discussion & bugs here!

Posted: Sun May 19, 2024 5:22 pm
by Daring Tombstone
The falling stalactites and icicles lose their hitbox if you take damage on them and respawn them by going offscreen a little bit.

Re: SMBX2 Beta 5 RELEASE! ➡️ Discussion & bugs here!

Posted: Mon May 20, 2024 4:31 am
by Just_Thomas
Ok, after my "brain fart" fail last time with the blue yoshi, I am now asking really really carefully:
What did I set up wrong or what did I forget that I have gotten this error here?

When I want to buy the mushroom:
Image
And when I buy to want the custom addition, the goomba:
Image

Following code is used:

Code: Select all

local lakitushop = require("lakitushop")

local ITEM_GOOMBA = lakitushop.addItem{
    id = 1,
    price = 1,
    name = "Your best friend"
}

lakitushop.addPreset("myPreset", {
    items = {
        lakitushop.SUPER_LEAF,
        ITEM_GOOMBA
    },
    config = {
        confirmPurchase = true
    }
})
It is the example code from: https://docs.codehaus.moe/#/modules/lakitushop
I only changed the price value.
There is no other code in the test level and also nothing else from which I think it could cause this error.
(not posting the gifs as you can not really see there anything releated to the errors, I merely select the items and buy them and the errors do appear)

Re: SMBX2 Beta 5 RELEASE! ➡️ Discussion & bugs here!

Posted: Mon May 20, 2024 1:21 pm
by mariobrigade2018
Just_Thomas wrote:
Mon May 20, 2024 4:31 am
Ok, after my "brain fart" fail last time with the blue yoshi, I am now asking really really carefully:
What did I set up wrong or what did I forget that I have gotten this error here?

When I want to buy the mushroom:
Image
And when I buy to want the custom addition, the goomba:
Image

Following code is used:

Code: Select all

local lakitushop = require("lakitushop")

local ITEM_GOOMBA = lakitushop.addItem{
    id = 1,
    price = 1,
    name = "Your best friend"
}

lakitushop.addPreset("myPreset", {
    items = {
        lakitushop.SUPER_LEAF,
        ITEM_GOOMBA
    },
    config = {
        confirmPurchase = true
    }
})
It is the example code from: https://docs.codehaus.moe/#/modules/lakitushop
I only changed the price value.
There is no other code in the test level and also nothing else from which I think it could cause this error.
(not posting the gifs as you can not really see there anything releated to the errors, I merely select the items and buy them and the errors do appear)
This bug has been fixed for patch 3. (Hasn’t released yet.)

Re: SMBX2 Beta 5 RELEASE! ➡️ Discussion & bugs here!

Posted: Tue May 21, 2024 2:57 am
by Just_Thomas
mariobrigade2018 wrote:
Mon May 20, 2024 1:21 pm
This bug has been fixed for patch 3. (Hasn’t released yet.)
I see, thanks for the info.