CocoonJS
CocoonJS was a mobile game development framework that enabled developers to deploy HTML5-based games as native mobile applications on iOS and Android platforms. It functioned by providing a custom WebView environment optimized for game performance, effectively acting as a wrapper around the HTML5 game code.
Key features of CocoonJS included its JavaScript bridge, which allowed developers to access native device features like accelerometer, camera, and in-app purchases from their JavaScript code. The framework also implemented various performance optimizations, such as Canvas+ rendering engine designed to accelerate 2D graphics, and support for WebGL for hardware-accelerated 3D rendering.
CocoonJS aimed to alleviate the performance limitations often encountered when running HTML5 games within standard mobile browsers. By compiling HTML5 games into native applications, it provided a smoother and more responsive gaming experience.
The service was initially developed and maintained by Ludei. Later, support and maintenance were taken over by Intel XDK before eventually being discontinued. Consequently, CocoonJS is no longer actively supported, and developers are advised to consider alternative solutions for deploying HTML5 games to mobile platforms. Its legacy remains as one of the earlier frameworks that attempted to bridge the gap between web-based game development and native mobile applications.