Installer Steam
Logg inn
|
språk
简体中文 (forenklet kinesisk)
繁體中文 (tradisjonell kinesisk)
日本語 (japansk)
한국어 (koreansk)
ไทย (thai)
Български (bulgarsk)
Čeština (tsjekkisk)
Dansk (dansk)
Deutsch (tysk)
English (engelsk)
Español – España (spansk – Spania)
Español – Latinoamérica (spansk – Latin-Amerika)
Ελληνικά (gresk)
Français (fransk)
Italiano (italiensk)
Bahasa Indonesia (indonesisk)
Magyar (ungarsk)
Nederlands (nederlandsk)
Polski (polsk)
Português (portugisisk – Portugal)
Português – Brasil (portugisisk – Brasil)
Română (rumensk)
Русский (russisk)
Suomi (finsk)
Svenska (svensk)
Türkçe (tyrkisk)
Tiếng Việt (vietnamesisk)
Українська (ukrainsk)
Rapporter et problem med oversettelse
I believe that pulling down the version of the Lua Debug extension to 1.6.x will solve the problem.
Translated by DeepL
please help
In VSCode you can view the "Details" page for the extension, from the extensions tab - and it lists the things it can do *generally* (although might now be a bit out of date/some new stuff added)
For the actual code library - the MC one is nice and small, just have a look through the code and use bits you like.
For the Addon library, it's in development, and because it's more of a paradigm shift - I'll write up better docs soon to explain the main ideas behind it.
Thanks!
So now you can share your code with others, and use code from others without any stress - just right click "Add Library From URL" and enter any git repo, it'll pull it into the libs folder and setup all your paths.
Then just `require` the files you want from your code as normal
If you want to set the inputs; you can look in the file _build/_simulator_config.lua
You'll call __simulator.config:addNumberHandler or ...addBoolHandler
and the arguments it takes are addNumberHandler(inputIndex, functionThatProvidesANumberEachTick)
You can use the LBSimulatorInputHelpers class to get some useful functions quickly, and pass that in to the parameter.
If it still doesn't make sense, can come onto Discord and find me (nameous) there. I'm happy to help explain it.