Page 10 of 32

Re: SMBX Help Thread

Posted: 22 Nov 2012, 03:02
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.

Re: SMBX Help Thread

Posted: 22 Nov 2012, 04:29
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.

Re: SMBX Help Thread

Posted: 25 Nov 2012, 20:36
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!

Re: SMBX Help Thread

Posted: 25 Nov 2012, 21:07
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.

Re: SMBX Help Thread

Posted: 25 Nov 2012, 21:26
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.

Re: SMBX Help Thread

Posted: 01 Dec 2012, 13:13
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?

Re: SMBX Help Thread

Posted: 01 Dec 2012, 13:37
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 :( .

Re: SMBX Help Thread

Posted: 01 Dec 2012, 13:39
by Willhart
It will only affect the horizontal movement of boos.

Re: SMBX Help Thread

Posted: 01 Dec 2012, 19:01
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?

Re: SMBX Help Thread

Posted: 01 Dec 2012, 21:37
by raocow
Willhart wrote:It will only affect the horizontal movement of boos.
that is just crazy bones

Re: SMBX Help Thread

Posted: 02 Dec 2012, 15:48
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.

Re: SMBX Help Thread

Posted: 02 Dec 2012, 15:50
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.

Re: SMBX Help Thread

Posted: 02 Dec 2012, 16:33
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.

Re: SMBX Help Thread

Posted: 02 Dec 2012, 16:55
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).

Re: SMBX Help Thread

Posted: 02 Dec 2012, 17:26
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.

Re: SMBX Help Thread

Posted: 02 Dec 2012, 18:22
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.

Re: SMBX Help Thread

Posted: 02 Dec 2012, 18:29
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.

Re: SMBX Help Thread

Posted: 02 Dec 2012, 18:41
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.

Re: SMBX Help Thread

Posted: 02 Dec 2012, 18:46
by docopoper
Oh, ok - well then - if you can remember how you did that, we can just make a readme file.

Re: SMBX Help Thread

Posted: 02 Dec 2012, 19:08
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.

Re: SMBX Help Thread

Posted: 02 Dec 2012, 20:59
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.

Re: SMBX Help Thread

Posted: 04 Dec 2012, 02:50
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.

Re: SMBX Help Thread

Posted: 04 Dec 2012, 03:09
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.

Re: SMBX Help Thread

Posted: 08 Dec 2012, 16:37
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?

Re: SMBX Help Thread

Posted: 08 Dec 2012, 17:45
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?