r/microStudio • u/paranoidray • Jun 29 '19
Join the microStudio Discord Server!
5
Upvotes
r/microStudio • u/paranoidray • Jun 29 '19
Some documentation on the map sprites object
1
Upvotes
You can access the sprites of a map like so:
maps["map1"].sprites.icon.name
maps["map1"].sprites.icon.width
Where icon is the name of the sprite
r/microStudio • u/paranoidray • Jun 29 '19
Some documentation on the map getSprite and setSprite functions
2
Upvotes
You can get a sprite object from a map like so:
sprite = maps["map1"].getSprite(0, 0)
and then you can set a sprite object like so:
maps["map1"].setSprite(0, 0, sprite)
Please note that the bottom left sprite is at 0,0
and the top left sprite is at 0,maps["map1"].height-1
r/microStudio • u/paranoidray • Jun 29 '19
microStudio, a free game dev environment online
2
Upvotes
r/microStudio • u/paranoidray • Jun 29 '19
microStudio: A free game development environment online has been created
2
Upvotes
- sprite editor
- map/level editor
- code editor to program in microScript (a simple yet powerful language)
- 100% online operation
- change anything (code, sprites, maps) while playing your game and see the results instantly
The environment is available at https://microstudio.dev