Discord
Login
Community
DARK THEME

A few suggestions

Over my time using Microstudio, I have encountered a few places where it would have been nice if it was implemented.

Primarily, the lack of switch statements. It sounds stupid, but it would be great if it had been implemented, since scripts that are in need of those statements run much slower without.

Another problem I have noticed is that you cannot check if a strong contains a specific pattern. So if I want to check if "Home" contains "o" for example, I would have to manually implement it.

Would it be possible to have separate files containing python code or lua code? Or would it cause executables to become extremely bloated? Because right now, I can only run JavaScript alongside another language.

A suggestion almost everyone can agree on, is that the map editor finally gets zoom, and possibly layers.

And finally, something of little importance: A few functions get put into the base syntax. Stuff like distance, clamp etc

For the string thing, I think you can just the String.includes function.

string = “Hello”
pattern = “ll”
print(string.includes(pattern)) // Expected: 1 (true)
// Returns true if the string contains the character(s)
String.contains=function(chars) this.includes(chars) end

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community