MicoJS - online multiplatform JS IDE

I hope @FManga will forgive my impatience, but I can’t help but share a great new software development tool that I’m really excited about.

I will write short features that I noticed during the tests, but the author may add more details in the description later.

Beta version of multiplatform online JS IDE made by @FManga
for creating games and applications
(Pokitto, Gamebuino, ESPboy support implemented).

  • Online JS editor, compiler and emulator
  • Ability to load compiled applications on ESPboy from browser

Quick API manual

1 Like

A little update on the JS IDE from @FManga

  • Added support for sprite rotation/scaling on all platforms
  • Added rect function for drawing solid rectangles
  • Finished automatic image conversion for all platforms.
  • Image viewer allows comparing original/converted images (mouse over the image).
  • All built-in fonts are now available on all platforms through setFont(R.fontName)
  • Added a wiki documenting pretty much everything: Home · micojs/micojs.github.io Wiki · GitHub
  • Started working on tilemap support in the IDE.
  • Started looking into supporting GBA or NDS.

2 Likes

News from @FManga

  • finish tilemap support
  • fix bug: files not getting saved done
  • support for sound effects
  • fix bug: debug function freezes on Meta
  • clear/hide debug log
  • fix bug: debug prints one argument per line. done
  • support flashing on Meta. done, but needs more testing

before I get back to tilemap support, I’ll try making a little game as well to be sure there are no other serious bugs

1 Like

News from @FManga

  • Added “Export” button for exporting the entire project as a zip (no way to import yet)
  • Fixed bug in getWidth/getHeight
  • Fixed default font printing gibberish on Pokitto
  • New palette
    image

MicoJS Online IDE

Quick Intro:

  • Generates native code, no VM/interpretor
  • Based on Monaco (VSCode’s editor)
  • Your sourcecode is stored in your browser but can be exported as a zip file
  • Aims for full JS language compatibility, not API/library compatibility
  • Full-res 8-bit graphics engine with sprite zoom/rotation/recoloring support
  • Built-in simulator runs well even on very slow devices
  • Games are platform-independent by default
  • Wiki documenting both the API and language
  • Autocomplete with documentation
  • Built-in asset conversion. Drag-and-drop an image into the file list and it’s ready
  • Uses a general-purpose palette, based on this paper.
  • Built-in ESPboy flashing support

Planned Features

  • Import zipped project
  • Project sharing between multiple users/browsers
  • More UI polish
  • Audio support
  • Tilemap support
  • Hotspot profiling (partially implemented already)
  • Built-in image editor
  • More JS language support (see wiki for up-to-date list of what’s missing)
  • Export game as a single HTML file for sharing
  • Debug builds that tell you where/why a crash happened on hardware without a debugger
1 Like

Latest changes:

  • Zipped project import (drag-and-drop a zip into the file tree)
  • Automatically clear debug log when starting the simulator
  • Ctrl+Enter (or Cmd+Enter on Mac) shortcut to start the simulator
  • Ctrl+S no longer tries to save the IDE as an HTML page
  • 32Blit support
2 Likes