SMBX Help Thread

The second SMBX collab!
User avatar
Cadwyn
Posts: 0
Joined: 10 years ago

Re: SMBX Help Thread

Post by Cadwyn »

Pholtos wrote:
I'm trying to make a rush-style level where you have to complete the level quickly or else die, either by time or some other factor. Got any ideas on how to implement something like this? I'm terrible at trying to understand how to make events.
One easy way is to make a new layer (call it timer or something) and build most of the platforms on that. Then make a new event called time, have it auto-start and give it a duration of 100 seconds or however long you wanna give the player. Then make a second event called timeup, and have it hide the timer layer. For the time event, under Trigger Event select timeup. This means that after 100 seconds from the start of the level, the timeup event will be called and hide the platforms, effectively killing the player.

If you had something more specific in mind, you'll have to give details so we can work something out.
User avatar
pholtos
Loves adorable things.
Posts: 1590
Joined: 13 years ago
Location: One of the States in the Center of the U.S.

Re: SMBX Help Thread

Post by pholtos »

SAJewers wrote:
Pholtos wrote:
I'm trying to make a rush-style level where you have to complete the level quickly or else die, either by time or some other factor. Got any ideas on how to implement something like this? I'm terrible at trying to understand how to make events.
Create a new layer, and put a bunch of lava on it. Then use the "Layer Movement" option in Events to make the lava layer move.
Ah thanks this is sort of what I was going for. I just needed an understanding of how to do it. You wouldn't believe how long it took me to find layer movement. It was off the screen.
Host and Organizer of the Rando Pokemon Tournaments. Completed: I, II, III, IV, V
Dealer of the Pokermon Discord Tourneys.

ImageImageImageImage
ImageImageImageImage
ImageImageImageImage

I do LPs, check them out if you'd like.

Currently playing:
Image

The 500 char limit is evil. :P
Frozelar
Retired Screamer
Posts: 5
Joined: 11 years ago
Location: The Place You Wish You Were

Re: SMBX Help Thread

Post by Frozelar »

What exactly does the framestyle flag do? I was gonna do a video on flags but then I was like "I'm pretty sure I know what framestyle does but I'll check just to make sure" and I changed it on a bunch of different enemies and I have noticed no difference in what happens with them whatsoever. Also the editor manual is kinda vague in my opinion in explaining them, unless it's just me being stupid which wouldn't be too surprising.

Thanks!
User avatar
Sturg
Gets his freak on with VGM
Posts: 708
Joined: 11 years ago
First name: sturgyman
Location: - :noiƚɒɔo⅃
Contact:

Re: SMBX Help Thread

Post by Sturg »

The framestyle is just the type of animation the npc goes through when walking left or right, here's some better descriptions of what each number does.

framestyle=0 - acts like a goomba, means, both left and right movement use the same sprite.

framestyle=1 - the NPC have sprites for both left and right, the first half of the sprite sheet is for left movement, the later half is for the right movement.

framestyle=2 - NPC has both left and right movement, and upside down movement for when the NPC is grabbed (such as the SMB2 enemies).

Hopefully that helps.
ImageImage
Image ImageImage
RIP FISH NIPPLE BANNER
Frozelar
Retired Screamer
Posts: 5
Joined: 11 years ago
Location: The Place You Wish You Were

Re: SMBX Help Thread

Post by Frozelar »

sturgyman wrote:The framestyle is just the type of animation the npc goes through when walking left or right, here's some better descriptions of what each number does.

framestyle=0 - acts like a goomba, means, both left and right movement use the same sprite.

framestyle=1 - the NPC have sprites for both left and right, the first half of the sprite sheet is for left movement, the later half is for the right movement.

framestyle=2 - NPC has both left and right movement, and upside down movement for when the NPC is grabbed (such as the SMB2 enemies).

Hopefully that helps.
Thank you! Yeah that's what I thought they did, but... when I change them on enemies it doesn't seem to do anything for some reason. I dunno. Maybe I'm missing something. EDIT: Nevermind, I was being incompetent of things I should have known already.

Those are pretty good and clear descriptions also anyways.
User avatar
raocow
the death of the incredible huge
Posts: 3899
Joined: 13 years ago
Location: maybe the Wizards are the most complex, and the sales guys are up their daily
https://raocow.talkhaus.com/

Re: SMBX Help Thread

Post by raocow »

Question!!

Can you make boos slower? I ask because I think what I need to do to make murder death place zone a little more doable is to slow down the boo driving the 'net' a tiny little bit. I know there's a thing using .txt to make goombas and whatnot walk slower/faster but does it work with boos?
the chillaxest of dragonsImage
Image
Image
User avatar
Duker
I post u2be tags I guess
Posts: 266
Joined: 12 years ago
Location: The Comment Section

Re: SMBX Help Thread

Post by Duker »

If you're talking about the 'speed' NPC flag I think it does technically function but I couldn't make it understand decimals so it was either 100% or 200% speed when I wanted something in between, guessing it's the same for lower speeds :( .
fart.
User avatar
Willhart
Stalker, Doxxer, and Sexual Harasser
Banned
Posts: 2434
Joined: 12 years ago
Location: Finland

Re: SMBX Help Thread

Post by Willhart »

It will only affect the horizontal movement of boos.
freelop
Posts: 3
Joined: 12 years ago
Location: England

Re: SMBX Help Thread

Post by freelop »

I have a section on my level in which the player can enter a room and then leave back to where they came from. The problem is that when they go back to the original area all of the enemies despawn.

Is there a way to stop this?
Image
User avatar
raocow
the death of the incredible huge
Posts: 3899
Joined: 13 years ago
Location: maybe the Wizards are the most complex, and the sales guys are up their daily
https://raocow.talkhaus.com/

Re: SMBX Help Thread

Post by raocow »

Willhart wrote:It will only affect the horizontal movement of boos.
that is just crazy bones
the chillaxest of dragonsImage
Image
Image
zephyr
Posts: 0
Joined: 10 years ago

Re: SMBX Help Thread

Post by zephyr »

raocow wrote:Question!!

Can you make boos slower? I ask because I think what I need to do to make murder death place zone a little more doable is to slow down the boo driving the 'net' a tiny little bit. I know there's a thing using .txt to make goombas and whatnot walk slower/faster but does it work with boos?
The thing to watch out for with the "speed" flag is that some countries use periods for decimals and others use commas. So it is best to avoid them as much as possible since a lot of people from many different countries play smbx.

Using periods in "comma countries" will cause the npcs to go much faster than you want them to.
User avatar
Ignoritus
O◡O
Posts: 207
Joined: 10 years ago
Pronouns: he/him/his
Location: U.S.

Re: SMBX Help Thread

Post by Ignoritus »

zephyr wrote:
raocow wrote:Question!!

Can you make boos slower? I ask because I think what I need to do to make murder death place zone a little more doable is to slow down the boo driving the 'net' a tiny little bit. I know there's a thing using .txt to make goombas and whatnot walk slower/faster but does it work with boos?
The thing to watch out for with the "speed" flag is that some countries use periods for decimals and others use commas. So it is best to avoid them as much as possible since a lot of people from many different countries play smbx.

Using periods in "comma countries" will cause the npcs to go much faster than you want them to.
Correction. Using periods in "comma countries" will give them a runtime error and crash the game on the level loading.

The thing to keep in mind is that Redigit seems to think speed is only horizontal movement. Thus, altering the speed flag will only alter horizontal movement of an NPC. The vertical speed will remain the same.
Image
zephyr
Posts: 0
Joined: 10 years ago

Re: SMBX Help Thread

Post by zephyr »

Ignoritus wrote:
zephyr wrote:
raocow wrote:Question!!

Can you make boos slower? I ask because I think what I need to do to make murder death place zone a little more doable is to slow down the boo driving the 'net' a tiny little bit. I know there's a thing using .txt to make goombas and whatnot walk slower/faster but does it work with boos?
The thing to watch out for with the "speed" flag is that some countries use periods for decimals and others use commas. So it is best to avoid them as much as possible since a lot of people from many different countries play smbx.

Using periods in "comma countries" will cause the npcs to go much faster than you want them to.
Correction. Using periods in "comma countries" will give them a runtime error and crash the game on the level loading.

The thing to keep in mind is that Redigit seems to think speed is only horizontal movement. Thus, altering the speed flag will only alter horizontal movement of an NPC. The vertical speed will remain the same.
Actually what the engine does if it doesn't recognize the period/comma is pretend it isn't there. So 1.5 becomes 15 etc. Sometimes this can cause a runtime error and sometimes it just makes the npc much faster than intended.
User avatar
docopoper
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla non pharetra enim, nec maximus odio.
Posts: 78
Joined: 11 years ago
First name: Shane Farrell
Pronouns: they/he
Location: Ireland

Re: SMBX Help Thread

Post by docopoper »

Does that apply to layer movement too? Because that would destroy one of my levels. (not that I can do anything about it).
The first thing I would do with infinite power would be to make myself a cave where I could look at my shadow forever.

Image <- Go team Yeah Doctor Shemp.!
Image <- That's everyone being nice to me. ^^

I made a game called Utter Confusion! Play it! :D
It's a lot of fun and has been incredibly popular at every indie game dev party I've brought it to.
User avatar
lukaramu
not lukaramu
Posts: 0
Joined: 10 years ago
First name: not lukaramu
Location: the place where i live

Re: SMBX Help Thread

Post by lukaramu »

docopoper wrote:Does that apply to layer movement too? Because that would destroy one of my levels. (not that I can do anything about it).
I think not. I live in a 'comma country' and have to use periods there.
User avatar
raocow
the death of the incredible huge
Posts: 3899
Joined: 13 years ago
Location: maybe the Wizards are the most complex, and the sales guys are up their daily
https://raocow.talkhaus.com/

Re: SMBX Help Thread

Post by raocow »

A solution is to add a textfile with the game that explains how to 'fix' this, considering I applied said fix and now smbx works flawlessly, and my computer menus and whatnot are still all french.
the chillaxest of dragonsImage
Image
Image
User avatar
docopoper
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla non pharetra enim, nec maximus odio.
Posts: 78
Joined: 11 years ago
First name: Shane Farrell
Pronouns: they/he
Location: Ireland

Re: SMBX Help Thread

Post by docopoper »

Wouldn't asking the player to go into each level's folder and change periods to commas be a bit much to ask.
The first thing I would do with infinite power would be to make myself a cave where I could look at my shadow forever.

Image <- Go team Yeah Doctor Shemp.!
Image <- That's everyone being nice to me. ^^

I made a game called Utter Confusion! Play it! :D
It's a lot of fun and has been incredibly popular at every indie game dev party I've brought it to.
User avatar
raocow
the death of the incredible huge
Posts: 3899
Joined: 13 years ago
Location: maybe the Wizards are the most complex, and the sales guys are up their daily
https://raocow.talkhaus.com/

Re: SMBX Help Thread

Post by raocow »

No, I mean this is somethign you can actually fix in your windows setting! I forgot what I did exactly, but ever since then I can play smbx levels with decimal variables and whatnot.
the chillaxest of dragonsImage
Image
Image
User avatar
docopoper
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla non pharetra enim, nec maximus odio.
Posts: 78
Joined: 11 years ago
First name: Shane Farrell
Pronouns: they/he
Location: Ireland

Re: SMBX Help Thread

Post by docopoper »

Oh, ok - well then - if you can remember how you did that, we can just make a readme file.
The first thing I would do with infinite power would be to make myself a cave where I could look at my shadow forever.

Image <- Go team Yeah Doctor Shemp.!
Image <- That's everyone being nice to me. ^^

I made a game called Utter Confusion! Play it! :D
It's a lot of fun and has been incredibly popular at every indie game dev party I've brought it to.
User avatar
SAJewers
ASMBXT Level Wrangler/A2XT Project Coordinator /AAT Level Designer
Posts: 3920
Joined: 10 years ago
Location: Nova Scotia

Re: SMBX Help Thread

Post by SAJewers »

I know what you have to do, at least in Windows 7. In the Control Panel, open "Region and Language" and either hit "Additional settings..." and change "Decimal symbol:" to "." and Digit grouping symbol:" to ",", or change "Format:" to one of the English options.
ImageImageImageImageImage
Sharenite | RetroAchievements | NameMC | IGDB
User avatar
Ignoritus
O◡O
Posts: 207
Joined: 10 years ago
Pronouns: he/him/his
Location: U.S.

Re: SMBX Help Thread

Post by Ignoritus »

zephyr wrote:
Ignoritus wrote:
zephyr wrote: The thing to watch out for with the "speed" flag is that some countries use periods for decimals and others use commas. So it is best to avoid them as much as possible since a lot of people from many different countries play smbx.

Using periods in "comma countries" will cause the npcs to go much faster than you want them to.
Correction. Using periods in "comma countries" will give them a runtime error and crash the game on the level loading.

The thing to keep in mind is that Redigit seems to think speed is only horizontal movement. Thus, altering the speed flag will only alter horizontal movement of an NPC. The vertical speed will remain the same.
Actually what the engine does if it doesn't recognize the period/comma is pretend it isn't there. So 1.5 becomes 15 etc. Sometimes this can cause a runtime error and sometimes it just makes the npc much faster than intended.
I don't know, but when I was tweaking levels for ToB2, Valtteri said every level with a decimal crashed for him. Might depend on the nationality of the computer. Some might omit it and some might crash.
Image
User avatar
raocow
the death of the incredible huge
Posts: 3899
Joined: 13 years ago
Location: maybe the Wizards are the most complex, and the sales guys are up their daily
https://raocow.talkhaus.com/

Re: SMBX Help Thread

Post by raocow »

Question~~n!!

When using a custom background, does it have to be the same dimensions of the 'original' background it replaces? I assumed as such when making mdpz, but it's not something I know for sure.
the chillaxest of dragonsImage
Image
Image
User avatar
Ignoritus
O◡O
Posts: 207
Joined: 10 years ago
Pronouns: he/him/his
Location: U.S.

Re: SMBX Help Thread

Post by Ignoritus »

raocow wrote:Question~~n!!

When using a custom background, does it have to be the same dimensions of the 'original' background it replaces? I assumed as such when making mdpz, but it's not something I know for sure.
Yes

and 8flight, no.
Image
freelop
Posts: 3
Joined: 12 years ago
Location: England

Re: SMBX Help Thread

Post by freelop »

freelop wrote:I have a section on my level in which the player can enter a room and then leave back to where they came from. The problem is that when they go back to the original area all of the enemies despawn.

Is there a way to stop this?
I still can't get this sorted and it is breaking my level. Has anyone else had this issue?
Image
User avatar
docopoper
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla non pharetra enim, nec maximus odio.
Posts: 78
Joined: 11 years ago
First name: Shane Farrell
Pronouns: they/he
Location: Ireland

Re: SMBX Help Thread

Post by docopoper »

freelop wrote:I have a section on my level in which the player can enter a room and then leave back to where they came from. The problem is that when they go back to the original area all of the enemies despawn.

Is there a way to stop this?
Are they being spawned by spawners or did you place them individually in the editor?
The first thing I would do with infinite power would be to make myself a cave where I could look at my shadow forever.

Image <- Go team Yeah Doctor Shemp.!
Image <- That's everyone being nice to me. ^^

I made a game called Utter Confusion! Play it! :D
It's a lot of fun and has been incredibly popular at every indie game dev party I've brought it to.
Post Reply