Want a premium user account?

Recently, we’ve  received many requests from developers asking to be upgraded to a premium account.

We’re glad to see such a high level of interest in CocoonJS! However, due to this influx of requests, and the exclusivity of our premium accounts, we unfortunately can’t grant everyone access to these premium accounts.

Here’s how it works:

1. Sign into your dev portal
2. Fill out the premium user request form
3. Wait for us to review your request.
* Please note that this is not an automatic process and can take anywhere from 2 days to a couple of weeks.
4. Receive a confirmation email and enjoy the perks of your new and exclusive premium account!

*Update*

Here are the main benefits of the premium user account: 

* Allows bigger ZIP file sizes to be uploaded to the cloud compiler.
* Allows access to configure the CocoonJS extensions: InApp Payments, Ads, Facebook, etc.

That’s all for now! We hope this helps clarify your questions and concerns in regards to the premium accounts for CocoonJS!

Thank you!

The Ludei Team

Why Flappy Bird should have been an HTML5 game

Here at Ludei we do not want to start a new discussion on the virtues and flaws of the (in)famous game Flappy Bird. We think is undeniable that this game has earned a spot on the videogame history. We will leave to the reader and other media to discuss about the game mechanics, enjoyment and frustration that it has fired heated arguments among the community of both players and developers. Just FYI, here are some interesting links about the game (in case you didn’t even heard about it :?), both supporting and demonising it, that we think are worth reading/watching:

The vital and depressing lessons Flappy Bird can teach indie developers (Forbes)

Flappy Bird Creator Pulled Game Because It Was Too Addictive (The Wall Street Journal)

Some awesome Flappy Bird clones and a bot that learns to play the game

Defending the indefensible: Why Flappy Bird is a good game (Video)

The purpose of this post is different. Ludei is actively supporting and promoting HTML5 as a great platform for developing games and apps and Flappy Bird is a great candidate to be developed in HTML5. First of all, we can be quite confident that everyone agrees is a simple to develop casual game. It could be included inside the “endless scroller/runner” type of games category that usually require less game content to be developed as it can be provided programmatically. There are great examples of this kind of games both developed natively and in HTML5 using Ludei’s CocoonJS technology. Here there is a list of some of them:

Headless (iTunes, GooglePlay)

RunPixieRun (Web)

Red Riding Hood Run (iTunes)

R.U.Nuts (iTunes, GooglePlay)

The bottom line is that HTML5 has already proven to be a great option to develop this kind of games. Why?

  1. This games need fast iteration to get the mechanics right and web technologies are great for that. Changing parameters even during the gameplay is as easy as it can get thanks to the interpreted nature of JavaScript.
  2. This game MUST be cross-platform. The game is so simple that is worth to be EVERYWHERE. I do not foresee many ways to monetize this kind of games but with non-intrusive advertisement, so being everywhere is key to maximise possible revenue. And when here at Ludei we talk about being everywhere, means not only iOS and Android, but the ChromeStore, Mozilla Marketplace, FirefoxOS, Tizen, Kik, web based games portals, etc. This kind of cross-platform deployment is only possible today thanks to HTML5 and the web.
  3. In relation to the statement about cross-platform deployment above, as graphics are simple, not much performance is needed, but it is expected. At Ludei we believe a better HTML5 execution is possible and that is what we have been working on for several years now improving iOS and Android performance. Of course, achieving steady 60FPS is our goal that is why our canvas acceleration technology is here to help. Remember, not just acceleration is important but eliminating fragmentation, specially on Android, is also key to achieve success. With CocoonJS a game like this can run steady 60FPS on an Android 2.3 device and that is something that any player would expect at least. But the good thing is that other platforms will also be able to execute the game, like Tizen or FireFoxOS, with not such acceleration but enough power to provide a good user experience. Another win for HTML5.

Well, we think these arguments are enough to realise that HTML5 is a great option for this kind of games (even better than some other stablished platforms like Unity). It will keep your budget under control (don’t need to spend much money on the game, just some time) and you will be able to maximise the reach truly being everywhere.

This is why we think Falppy Bird should have been developed in HTML5 ;).

But do not take our word to believe it. Our amazing developer community has taken this issue into their hands and we have seen a major Flappy Bird Clone deployment using Ludei’s CocoonJS technology. For example, PandaJS, a new and very well developed game engine fully compatible with CocoonJS’ accelerated canvas, has an open source version of a FlappyBird clone that is a great way to better understand how a game like this can be developed easily with the right tools.

Screen Shot 2014-02-21 at 8.24.02 PM
http://www.pandajs.net/games/flyingdog/

It has been exciting to see the number of Flappy Bird clone games published with CocoonJS grow day by day and to realise how creative developers can get when cloning this basic idea. We ourselves have developed our own version of the game in just 12 hours of work in total with just a developer and a designer involved. Of course, using our own platform for testing (the CocoonJS Launcher) and to introduce advertisement and share capabilities has helped tremendously to speed up this process by orders of magnitude.

Screen Shot 2014-02-22 at 4.16.08 PM
Ludei’s Jumping Submarine (iTunes)
Ludei’s Jumping Submarine (GooglePlay)
Ludei’s Jumping Submarine (Amazon)
Ludei’s Jumping Submarine (Chrome Store)
Ludei’s Jumping Submarine (Kik)
Ludei’s Jumping Submarine (Web)
Ludei’s Jumping Submarine (Facebook)
Ludei’s Jumping Submarine (Mozilla Marketplace)
Ludei’s Jumping Submarine (Flappy Jam)
Also available for OUYA and Tizen!

Here is a list of some of the FlappyBird-like games published with CocoonJS in the last couple of days (and the list grows everyday!). Enjoy!?

https://play.google.com/store/apps/details?hl=en&id=com.maneiros.superminion
http://www.amazon.com/gp/mas/dl/android?p=com.twistedmotion.bouncybird
https://play.google.com/store/apps/details?hl=en&id=com.krunakin.frappy1
https://play.google.com/store/apps/details?hl=en&id=couchknight.lazyrocket
https://play.google.com/store/apps/details?hl=en&id=com.uk4dee.funcat
https://play.google.com/store/apps/details?hl=en&id=com.restylemedia.flappyunicorn
https://play.google.com/store/apps/details?hl=en&id=com.thedigitalchampion.flappysharks
https://play.google.com/store/apps/details?hl=en&id=com.projectstudios.flyingbird
https://play.google.com/store/apps/details?hl=en&id=szymdev.flappyspacedoge
https://play.google.com/store/apps/details?hl=en&id=com.halfgeekstudios.flappyspermiefree
https://play.google.com/store/apps/details?hl=en&id=com.matt.flappybird
https://play.google.com/store/apps/details?hl=en&id=com.wkg.firebird
https://play.google.com/store/apps/details?hl=en&id=org.wisimedia.ravenspike
https://play.google.com/store/apps/details?hl=en&id=com.pixlslave.flapordie
https://play.google.com/store/apps/details?hl=en&id=com.redcube.bird
https://play.google.com/store/apps/details?hl=en&id=com.xgelite.geticy
https://play.google.com/store/apps/details?hl=en&id=com.dg.flyingalong
https://play.google.com/store/apps/details?hl=en&id=com.guizmows.devrelease.tappyflight
https://play.google.com/store/apps/details?hl=en&id=com.visualmoose.fduck

The new and improved CocoonJS is coming for your HTML5 games and now also apps!

We have some much awaited news! As you know, CocoonJS wasan incredible cross platform for only games…up until now at least. The future is now and Ludei has been working hard to make CocoonJS an awesome platform for not only games, but for all kind of HTML5 apps. Exciting, isn’t it? Our entire team is thrilled about expanding our platform to support what everyone’s been waiting for: cross platform development for all kinds of HTML5 projects, even apps! We know you probably got that tingly, exciting feel just itching to use this new and improved CocoonJS for apps and games.

This is a big achievement for us and opens new doors to a whole amazing world of opportunities for you as a developer. You can now focus your development projects on all types of apps and work with Ludei and our cloud and tools for test and deployment, CocoonJS, to publish them across iOS, Android, and more! This web based development will work with native features and with absolutely no code changes. Code once. Publish everywhere. That’s our motto; it’s as simple as that.

You must be excited to know when you’ll be able to use CocoonJS to create your amazing apps. Hang tight and stay tuned- it’s coming soon ;). Before we make this available for everyone, we’re going to be opening up a private beta and we’ll send you more information by email. Interested in learning more? All you have to do is provide us with your email and if you qualify, you’ll get more info, tips, and tricks straight to your inbox.

CocoonJS is really the easiest way to have your web based app on mobile. You’ll save a ton of time…and..well, you know what they say..time = money! Don’t wait, start using CocoonJS for both games and apps!

Do you want more information? Sign up!

Tips on OpenSource tools to the rescue of Javascript developers

Desktop JavaScript/HTML5 tools like in browser debugging, inspectors, profilers, … are great and thankfully, many of these tools are beginning to be available for mobile. Among these tools, there are some open source projects that we, at Ludei, use from time to time to check our javascript code. In this blog post we’d like to introduce you two different tools that can ease your debugging process of Javascript code.

Weinre: weinre is a remote web inspector. This tool enables you to debug remotely your JS code. The only change you’ve to do in your code is to include a small JS file in your index.html. Using this script, you can connect to your remote site running inside CocoonJS through your web browser. You can find more info on this tools in the following url.

Lighttable: lighttable is a Javascript IDE where the JS code is evaluated as you write it. You can perform REPL on code that is executed inside CocoonJS. In a similar way to weinre, adding a small script to your index.html empowers lighttable to evaluate Javascript code. You’ll be able to see the results of CocoonJS variables and so on inside lighttable. You can find more info on light table at their official site.

Pro tip: Using tools is fine, but if you want to have more verbosity on our CocoonJS console, you can override the following function:

window.onerror = function(a, b, c) {

               alert(“Error: ” + a + ” ” + b + ” ” + c);

}

Drop us a line about your experiences debugging javascript in CocoonJS in our community site!

CocoonJS 1.4.7

We have updated CocoonJS to 1.4.7 version. Please, take a look to the change log below and update the launchers on your iOS and Android devices 😉

  • Core
    • XHR improvements.
    • Fixed life cycle issue: app resume when lock screen is disabled in Android.
    • iOS 7 compatibility improvements.
    • Handle back button in the Webview.
    • Geolocation bugfixes.
    • V8 update to version 3.22
    • Accelerometer bugfixes.
    • Implemented onreadystatechange event and readyState property in document.
    • Added the orientation, DeviceMotionEvent and DeviceOrientationEvent properties in window.
  • Audio
    • Memory leaks fixed in audio.
    • Stereo audio fixes.
    • Added x-wav format support in canPlayType.
    • New dispose method for audio objects allows to release the inner audio resource.
  • Render
    • Support added for device independent pixel ratio (this may affect your game, please read more here).
    • Support added for handling screencanvas in WebGL (read more here).
    • Increased shader precision for patterns to avoid the pixelation problems with huge patterns.
    • Fixed bug in WebGL (ignored offset arguments in texSubImage2d).
    • Optimizations.
  • Extensions
    • Box2D
      • Added support for b2Vec2.NegativeSelf, B2DistanceJointDef.Initialize, B2Body.GetMass, B2Body.SetAngularDamping and B2Body.SetBullet methods.
    • Multiplayer
      • Fixed missing parameter in getLocalPlayerID
    • Ads
      • Updated all existing ad networks. (read more here).
      • Support added for Brightroll ad network.
  • Launcher
    • Added support for launching apps in either the WebView or CocoonJS.
    • Added URL history button to choose among the already used URLs.
    • Unified settings in iOS and Android.

The Nick App on Amazon Powered by Ludei

The much awaited Nick App powered by Ludei is now available on Amazon! 

As you may have read on Techcrunch and Venturebeat, Nickelodeon has become one of the biggest and latest Fortune 500 customer for Ludei till date. The debate about whether HTML5 is a viable option for app and game development seems to be an issue of the past. With the popular Nickelodeon joining hands with Ludei’s HTML5 expertise and CocoonJS technology, this exemplifies that HTML5 is truly ready for app and game development. CocoonJS is a cross platform development tool that allows developers to code once, and then publish their app or game across multiple web platforms and mobile devices with native like performance and HTML5. It even supports amazing features like WebGL, multiplayer support, etc.

Nickelodeon strongly feels that Ludei’s CocoonJS technology has helped them speed up their game performance for Android mobile devices, thus allowing Nickelodeon to get the HTML5 performance they want and need for their games.

These past months, Ludei has been working with Nickelodeon to help them launch a very important app. This much awaited, Emmy award winning, Nickelodeon App, is published and ready on Amazon. All the games in this application are powered by Ludei’s CocoonJS technology. Check it out here and download it for free on your Amazon Kindle Fire or any other Android device. It will also be available on Google Play soon.

Ludei’s CEO, Eneko Knorr, states “Nickelodeon’s use of HTML5 technology is another example that HTML5 is ready for prime time, and Ludei’s technology will be instrumental in powering HTML5 game deployment,” said Knorr.  It’s already received 5 stars with great reviews from customers. The Nick App is merely just an example of what all HTML5 and the CocoonJS development platform can do.

Here’s wishing you all a Happy New Year from the Ludei team! We wish you the best, and cheers to a wonderful 2014!

 

CocoonJS 1.4.6

We have updated CocoonJS to 1.4.6 version. Take a look please to the changelog below. Please, send us your feedback! 🙂

Core

  • Fixed memory leaks on apps reload

  • Improved app lifecycle management

  • Improved iOS Font Manager

  • Improved XHR

  • Added additional error-checking to OpenAL audio system

  • Fixed status bar visibility in iOS 7

Launcher

  • Added version number to the launcher main menu screen

Javascript

  • Improved JS Context initialization and shutdown behaviour

Extensions

Multiplayer and Social

  • Added support for Google Play Games

  • Improved Multiplayer API

  • Added missing method to Multiplayer Loopback Implementation

  • Added default implementation for the show achievements method using a Web Dialog

Help center: Info about CocoonJS 1.4.6

New venture with Nickelodeon!

Ludei Brings New Technology to Nickelodeon’s Emmy Award-Winning Nick App for Android

nickelodeon logo

Ludei, a leading app and game development platform, is working with Nickelodeon to apply its newest CocoonJS technology to the games section of Nick’s Emmy Award-winning Nick App for Android devices. Scheduled for a December release on Android, Ludei’s CocoonJS technology will deliver significant performance improvement to the HTML5 games featured in the Nick App for Android.

“Technologies like HTML 5 allow us to create games and content that are playable across multiple platforms.” says Dhimiter Bozo, Vice President Engineering, Nickelodeon Group. “Performance is a key metric for Nickelodeon and is a goal we aim for with every game. Ludei’s easy-to-use solution will help us deliver a consistent gaming experience in our Android app.”

 “Nickelodeon’s use of HTML5 technology is another example that HTML5 is ready for prime time and Ludei’s technology will be instrumental in powering HTML5 game deployment,” said Eneko Knorr, CEO of Ludei. “Nickelodeon’s focus on HTML5 technology for its game development strategy is a big vote of confidence for HTML5 and its ecosystem. It looks like 2014 will be a big year for HTML5, and engagements like this one further underscore Ludei’s role driving the mobile HTML5 app development industry.”

More than 10,000 developers, including top game publishers, are using Ludei’s CocoonJS to power HTML5 applications, helping customers achieve the speed, complexity and features normally reserved for native apps.

More than 700 games have been published using Ludei’s CocoonJS, including ScribbleMix, iBasket, Lunch Bug, Bubble Soccer and Rhino Hero. Developers can finally code once and publish on every store with one click: Apple Appstore, Google Play, Windows, Amazon, Nook, FirefoxOS, Pokki and more.

CocoonJS 1.4.5

The new version of CocoonJS is ready  (changelog below). Please, send us your feedback about this 1.4.5 version, it helps to find bugs and determine next improvements. Enjoy!

  • Added support for iOS7
  • Dropped support for iOS 4.3

Core

  • Updated to iOS7 SDK
  • Slight performance increase due to migration to C++11
  • Improvements in Core Javascript communication

Launcher

  • Updated launcher service UI for both iOS and Android
  • New CocoonJS and Ludei logos!

Javascript

  • Moved the “focus” function to Node instead of having it inside HTMLElement and Canvas

 

CocoonJS 1.4.4

Just two weeks ago we launched CocoonJS 1.4.3 and today we are back with a new version, CocoonJS 1.4.4. As always, it comes with some bug fixes and improvements. Take a look to the changelog:

  • Support for Ouya compilation.
  • Added gamepad extension (primarily for OUYA and nVidia Shield support).

(More info on this post)

Core

  • Renderer
    • Fixed blend function preservation in WebGL when switching rendering contexts
  • Networking
    • Do not return error if the HTTP return code is between 200 and 300
    • iOS XHR: force NSURLConnection cancel in the finish delegate before releasing it
    • Fixed EventSource reconnection bug
    • EventSource: a client can now be told to stop reconnecting using the HTTP 204 No Content response code.
    • Improved network listener. Use the context instead of the activity and solver the leaked intentReceiver error.
  • Audio
    • Doubled audio buffer size, as it solves streaming audio issues on Samsung devices and nVidia Shield
    • Fixed possible race condition
    • Fixed currentTime positioning which made streaming audio repeat the first few milliseconds of audio
    • Fixed hang when audioSources were stopped by OpenAL
    • Increased time the streaming system is inside mutex to avoid possible race condition
    • Made Ogg decoder print the specific error it gets from the vorbis lib

Javascript

  • Make navigator.language more standard in iOS & Android. Now we always return the language dialect (ie. en-GB, es-ES, en-US,…)
  • Improved createEvent implementation. Now it supports “Event” type too.
  • Added Event.initEvent
  • Added “focus” function to both HTMLElement and Canvas.
  • Added requestAnimationFrame. CocoonJS was currently only exposing webkitRequestAnimationFrame.
  • Improved way geolocation API works so Construct2 games work alright.

Extensions

  • Box2D
    • Small performance improvement in Box2D binding
  • Notification
    • Updated Parse library to version 1.2.15
  • In-app purchases
    • Fixed wrong price parsing
    • Fixed mock store service to support purchases verification.

The CocoonJS Lauchers for iOS and Amazon are under review, the Google Play version is live. Enjoy!

We are working on a post to give more details about the OUYA support

UPDATE: Read more information about the OUYA and HTML5 Gamepad API. 😉