I'd like to suggest the property ".isenemy" which group the NPCs you normally would like to hurt/kill in a custom player moveset or custom npc. This value should be set to 1 by default in all npcs except: -Bosses -Projectiles -NPCs that doesn't damage the player (items, block npcs, platfor...
Added in patch 22: Player char(1).grabbing (Finally!) = returns the ID of the NPC the player is grabbing, read only. char(1).pulling char(1).walljumptimer char(1).icetimer = stands for the time the player is frozen if hit by an ice ball Block block().pcollision block().ncollision The last two proper...
(Hooray, a post that doesn't say smbx.exe is a virus!) Just wanted to point the new features that have been added through patches (to not miss the track): char(1).alive (Writable) char(1).climbing char(1).forecolor (rgba) char(1).inwater char(1).stand char(1).sliding char(1).sjumping char(1).warping...
Can we please have a variable to adjust the frequency the player can throw projectiles? (e.g if the value is 10, then the player can throw fireballs every ten frames.)
I can't take offscreen any window, whenever I try to do the game forces me to have the window always on screen, which is annoying: Honeycam 2019-09-18 13-48-48.gif I suggest doing what Windows does, it lets you take the windows off-screen as much as you want, and when the cursor reaches the right co...
For the second one: do if sys(enablewalljump) if char(1).x = v(x) and char(1).ysp > 0 and ((char(1).facing = 0 and keypress(-11)) or (char(1).facing = 1 and keypress(-12))) v(walljumptimer) += 1 else v(walljumptimer) = 0 end if end if v(x) = char(1).x call sleep(1) loop I don't think a property for ...
I'm not 100% if this is a bug or it's just that I'm doing something wrong, but whenever I try to interact with other npcs (e.g Shells, Bombs, Galoombas, or any other affected by gravity) and I tell it to jump, it won't work. However, trying to executing other orders works fine, it just happens whene...
Sometimes when I work on collisions I find myself in the problem of detecting whether the block is solid or not. I usually make an array containing non-solid blocks (sizables, bridges and slopes) to solve this, but it's not efficient. That's why I'm suggesting the properties: block().ipsolid ("...
This property is meant to work with all kind of coins (including Dragon Coins and Star Coins). It would do nothing in non-coin npcs. scollect stands for "self-collect". If this value is set 1, the npc will "collect itself" like if the player collected it, but without intervention...
The purpose of .curframe wasn't detect the action of the player but it's current frame. For example, doing a running cycle exactly as the player does is quite complex. pulling Not needed. You can already check the direction the player is facing, the direction it's going and if it's stand or not inwa...
In my opinion we should be able to change char(1).curframe as it would benefit us way more than just being able to detect it! You're right, but after thinking on it, I came to the conclusion that it's already very helpful just knowing the current frame of the player. Remember that you can already d...
In this topic I won't focus that much on differences between SMM2 and SMBX's seesaw. I will rather focus on explaining how the seesaw works in SMM2. 1.) Hitboxes If something is stood on the blue zone, the platform won't bow: https://i.postimg.cc/T1WQr3sX/h.png https://i.postimg.cc/2jMNRWmZ/Honeycam...
1. When you're attached to a moving fence, the player won't move along with it. This does however, only happen with fences, not vines. https://i.postimg.cc/FH6NDPWg/Honeycam-2019-09-01-20-25-24.gif 2. Climbing is not respecting "jump force". This is a bit hard to explain but I'll to my bes...
char(1).warping (Read Only) [ADDED PATCH 21] I know there's an auto-run event to check whenever the player entered a warp, however it still requires some setup to know when the player has ended warping. It's not the same entering a door than entering a pipe, and it's not the same entering an pipe h...
It doesn't need to be shorter, it has to be clearer and easier to understand. I really recomend you reading naming convention suggestions since I don't think none of your suggestions actually meets them. What happens with "right" &"run" and "Alt run" & "Alt...