New guy, old experience. I have a few questions
I am not new to coding games at all, just wanna make things clear.
How easy can I create a delay?: I used to code Roblox, which has the wait() function, but since i've been coding in JavaScript myself since. I really miss the wait() function. Does miniscript have anything similar (can it also be used in JavaScript?).
Can I import 3d assets?: It seems that in MicroStudio, you need to write the math yourself... I'm not even done with highschool
Is the limit for game size actually 50mb?: Or does that only include code? 50mb isn't enough for an open-world game
- In MicroScript 2.0 (enabled by default) - there is something like activate after a given time - "after" which executes after a specified time. ""ever" - runs at specified intervals.
"do" - works as an additional thread.
"sleep" - sleeps for a specified time.
init = function()
timeLimit = fale
threadTime = after 5000 do
timeLimit = true
end
count = 0
thread = do
while true
count += 1
end
end
end
update = function()
print( "timeLimit:" + timeLimit + " count:"+count )
end
Of course, you can also use your own methods that will do the same or JavaScript functions.
You can use 3D objects + animations (blender format) - you just need to use the Babylon display library (switch in the project settings which library is responsible for displaying graphics). As part of the tests, I added the PIXI3D library - it also has the ability to display 3D graphics.
Unfortunately, to use this library you have to know it very well - because you create the entire scene without additional visual tools. Which is difficult in itself.
The 50 MB limit is the limit for everything - graphics, music, code - but you can run MicroStudio locally - and change the parameters for projects.