Posts by Lx Xzit

by Lx Xzit
27 Aug 2020, 20:19
Forum: Ideas & Suggestions
Topic: Please make char().stand writable too!
Replies: 0
Views: 419
  • 1

Please make char().stand writable too!

Currently, the .stand property for players is read only. Can you please make it writable too? I'm making custom physics that relies on the movement of an NPC, and there are a few animation errors I can't fix due "stand" being incorrectly set (for example, sometimes the player is on landing...
by Lx Xzit
27 Aug 2020, 20:09
Forum: Ideas & Suggestions
Topic: char().invanim
Replies: 2
Views: 632
  • 1

char().invanim

This function returns true when player cannot move after getting a power-up/getting hurt (37 frames for powering up/down, 11 for getting an special power up) Read only. It's really hard (or even impossible) to detect accurately when the player is frozen due powering up/down without using Autorun eve...
by Lx Xzit
27 Aug 2020, 17:30
Forum: Projects
Topic: [1.4.5]vk's world [V1.18 | Finished]
Replies: 8
Views: 2815

Re: [1.4.5]vk's world [V1.18 | Finished]

Wow it looks really promising! Can't wait for play it.
by Lx Xzit
26 Aug 2020, 14:23
Forum: SMBX-38A Bug reports
Topic: SMBX 1.4.5: The player accidentally slides down(fixed path 31)
Replies: 3
Views: 907
  • 1

Re: SMBX 1.4.5: The player accidentally slides down(fixed path 31)

In fact, players shouldn't be able to slide Seesaws at all . I reported in multiple times, in SMM2 you can't slide Seesaws because if you do, you couldn't jump crouched and the jumps would be significantly harder. (In SMBX you can crouch midair but there are still situations where you slide accident...
by Lx Xzit
25 Aug 2020, 18:36
Forum: SMBX-38A Bug reports
Topic: Dim variables bug (inside "if" statements)
Replies: 0
Views: 383
  • 2

Dim variables bug (inside "if" statements)

Variables initialized inside "if" statements doesn't seem to work correctly. Their operations drop random values (probably due a wrong memory address reference?) For example: if -1 then dim i as integer = 1 dim j as integer = i+2 dim k as integer = j-i call showmsg("i:"&i&...
by Lx Xzit
22 Aug 2020, 11:58
Forum: SMBX-38A Bug reports
Topic: Character forcing facing bug
Replies: 0
Views: 413
  • 1

Character forcing facing bug

When I force the player to face to a specific direction while is holding an item, when I press the opposite direction of which is facing the carried item shows in the wrong position:

Honeycam 2020-08-22 05-53-49.gif
Honeycam 2020-08-22 05-53-49.gif (76.09 KiB) Viewed 413 times


Code: Select all

do
char(1).facing = 1
call sleep (1)
loop
by Lx Xzit
21 Aug 2020, 19:19
Forum: Ideas & Suggestions
Topic: CNPC flag: wallturnound
Replies: 1
Views: 481
  • 3

CNPC flag: wallturnound

When NPCs collide into a wall they face the opposite direction. While this is great, it's a bit annoying sometimes, especially since there's no an easy way to disable it. Can we have a function to prevent NPCs facing the opposite direction when colliding into a wall? And when a wall if sound, the .x...
by Lx Xzit
20 Aug 2020, 7:27
Forum: Sandbox
Topic: How to apply custom npc´s in SMBX B4?
Replies: 4
Views: 1095

Re: How to apply custom npc´s in SMBX B4?

Scripts made in 1.4.X aren't compatible with SMBX2 and vice versa. They're two completely different programming languages.
by Lx Xzit
19 Aug 2020, 15:27
Forum: SMBX-38A Bug reports
Topic: Access violation (struct)
Replies: 4
Views: 1252
  • 1

Access violation (struct)

I wrote this code: struct npc_struct dim ivala as integer dim ivalb as integer dim ivalc as integer end dim mynpc as npc_struct mynpc.ivala = 1 But when struct variable is called, it gives me a "Runtime Error (Access Violation)" in the debugger: error.PNG And the script stops executing. Is...
by Lx Xzit
17 Aug 2020, 7:45
Forum: SMBX-38A Bug reports
Topic: [1.4.5] Bugs Involving the background2
Replies: 10
Views: 1792
  • 1

Re: [1.4.5] Bugs Involving the background2

Just what I thought. The maximum texture size the game can render depends on your hardware, yours support 2048*2048 so that's why you can't see the animated backgrounds while others can. The only reasonable fix I see 38A could apply is increasing the minimum limit to 4096*4096, but I'm not sure what...
by Lx Xzit
17 Aug 2020, 5:13
Forum: Ideas & Suggestions
Topic: sysval(deathtimer)
Replies: 0
Views: 361

sysval(deathtimer)

This sysval would determine the lasting time after the player died and is send back to the world map (or if enabled, repeat the level). This would be super useful for doing our very own death events/effects! This would apply only when the player-1 died and there's not a player-2 (either is dead or n...
by Lx Xzit
17 Aug 2020, 4:54
Forum: SMBX-38A Bug reports
Topic: [1.4.5] Bugs Involving the background2
Replies: 10
Views: 1792
  • 1

Re: [1.4.5] Bugs Involving the background2

Victor can you open the level editor, go to Debugger and tell me the values shown in "Max Texture"?
by Lx Xzit
6 Jul 2020, 6:23
Forum: Ideas & Suggestions
Topic: [NPC] npc(Index).deathfx
Replies: 2
Views: 729
  • 3

Re: [NPC] npc(Index).deathfx

I like the idea, but I think it would benefit the game more if this was a CNPC code instead of a property in the NPC class.
by Lx Xzit
2 Jul 2020, 0:57
Forum: Super Mario Bros. X by 38A (SMBX-38A)
Topic: [Released] Super Mario Bros. X by 38A v. 1.4.5 - Patch 31.1
Replies: 1010
Views: 1033581
  • 2

Re: [Released] Super Mario Bros. X by 38A v. 1.4.5 - Patch 31.1

I just put teascript-vb wiki in the main post. It would be great if 38A could help us to complete it by either adding missing functions (there are probably a few) or by adding new functions as new patches are released. Everyone can edit the wiki by the way, all you need is an account.
by Lx Xzit
2 Jul 2020, 0:18
Forum: Super Mario Bros. X by 38A (SMBX-38A)
Topic: Does anyone have a problem with SMBX and any CAD tool?
Replies: 5
Views: 1247

Re: Does anyone have a problem with SMBX and any CAD tool?

That program has nothing to do with SMBX. I assume you somehow clicked on a tricky link. Are you sure you downloaded it from this topic?
There are cases where your computer is infected by a virus and it converts trustable links to spam ones.
by Lx Xzit
30 Jun 2020, 2:00
Forum: TeaScript
Topic: TeaScript Help Thread
Replies: 40
Views: 9906

Re: TeaScript Help Thread

Toy Bonnie wrote:Is there any way to know when a NPC entered a liquid? I'm trying to make a SMW Dolphin script.
Use "inwater" property, (like "if .inwater = 1 then") you can also detect liquids through iterators
by Lx Xzit
29 Jun 2020, 0:48
Forum: Script submission
Topic: [1.4.5] Grab player 1 or 2
Replies: 1
Views: 708
  • 1

Re: [1.4.5] Grab player 1 or 2

Amazing! I wish this was implemented in the game.
by Lx Xzit
25 Jun 2020, 22:34
Forum: Spanish - Español
Topic: Reputacion
Replies: 2
Views: 783
  • 2

Re: Reputacion

Cada vez que haces un post, otros usuarios pueden darte un +1 o un -1. De ahí surge la reputación.
by Lx Xzit
23 Jun 2020, 7:51
Forum: SMBX-38A Bug reports
Topic: Bug Mega-thread (Part II)
Replies: 1
Views: 616
  • 3

Bug Mega-thread (Part II)

Before to start this topic I want to point something. In the previous part of this point I pointed that shells should not damage the players after 36 frames they were released. Well, it turns out that this doesn't happen only with shell, but with all NPCs. For example: example.gif Players: ⋅&nb...

Go to advanced search