CoronaCards is cool. Here’s something even cooler!

CoronaCards is cool. Here’s something even cooler!

We think yesterday’s announcement of CoronaCards is a game changer. It changes the equation. Instead of a choice, it’s all of the above — you get to leverage Corona technology in any existing native app!

Now as hard as this is to believe, I want to give you a taste of something that’s even more exciting.

You may remember our “DebugDraw” sample app, as seen in a couple of the CoronaCards videos and as included in your Corona SDK installation.

Well, check this out (works best in Chrome on a desktop):

Yes, that’s what you think it is. A Corona app running in the browser. No plugins required. Enjoy!!!

[Update: Check browser support. IE11 has a bug we haven’t worked around yet. Finally, you may need to turn on WebGL, e.g. Safari users]

[Update 2: The above demo code is available on github, and also can be used in Corona-based native apps on iOS/Android]

walter
59 Comments
  • dingo
    Posted at 06:12h, 07 March

    haha this is… awesome!! does this mean I can take an app like my game Grooh, and play it in the browser without modifying the source code?

  • Bruno Pinheiro
    Posted at 06:16h, 07 March

    Well, THIS is awesome 🙂
    Now I can give it a chance!

  • Greg
    Posted at 06:17h, 07 March

    That’s awesome! I take it you need Corona Cards to generate http://coronacards.com/html5/Corona_Physics.html ?

  • Erich Grüttner Díaz
    Posted at 06:32h, 07 March

    OMG! Brilliant!
    Thank you for this guys!!!
    AMAZING!!!

  • develephant
    Posted at 06:41h, 07 March

    Way. Too. Cool. 😀

  • Matt
    Posted at 06:44h, 07 March

    Okay, this is ground breaking. How close to Windows 8 builds are we?

  • BeyondtheTech
    Posted at 06:50h, 07 March

    While CoronaCards sounds fantastic in its own right, web-based Corona apps is awesome sauce. Where can we sign up to beta this?

  • Lerg
    Posted at 06:51h, 07 March

    OH MY GOD! I CANNOT BELIEVE IT! FINALLY!
    THANK YOU! sorry for caps

  • Tobias Mueller
    Posted at 07:01h, 07 March

    Very cool! 🙂 It doesn’t run in Safari!?

    • Scott
      Posted at 08:27h, 07 March

      Seems to run fine in safari

    • Tobias Mueller
      Posted at 08:44h, 07 March

      Doesn’t show up in Safari on 4 different systems.

      • Walter
        Posted at 10:06h, 07 March

        See update above. You have to turn on webGL in Safari to view.

  • Pablo Isidro
    Posted at 07:07h, 07 March

    Awesome News!! Thankssss!!!

  • Alex
    Posted at 07:21h, 07 March

    Based on the category of the post (see above), it seems this feature will be available only to Corona Enterprise…

    • Raphael Salgado
      Posted at 07:40h, 07 March

      All I see is “Post Category: Corona SDK, News & Announcements” and “Post Tags: corona html5 javascript webgl,” so I’m not sure where you got the “Enterprise” from. The Enterprise ad below the blog post is shown in every other blog post, too.

      • Alex
        Posted at 07:58h, 07 March

        Raphael, the original breadcrumbs of the posting were: Blog Home ->Corona Enterprise->CoronaCards is cool. Here’s something even cooler!

        Clearly someone updated after my comment… Glad to see it is not related to Enterprise.

  • Sergio
    Posted at 07:21h, 07 March

    Love you Corona. s2

  • Kay
    Posted at 07:23h, 07 March

    Wow. Seriously. When?

  • Yas
    Posted at 07:53h, 07 March

    This is just great!

  • JesterXL
    Posted at 08:05h, 07 March

    Awesome! It appears you’re using ECMAScripten to get efficient JS compiled from C that is compiled from Lua. However, if we now have HTML5 as a target, wouldn’t it be more efficient given the current industry trend just to start in JS and use the Corona suite of tools? The JS industry has really matured enough, especially in games, to help support the value of this compilation target.

  • Alex
    Posted at 08:15h, 07 March

    Besides Chrome, did anyone get success running this sample in another browser? I tried IE9 and IE10 without success on Windows 8 (I am not with my Mac, which has Safari and Firefox, here). It did not worked on Safari iOS7.

    • Hendri
      Posted at 08:35h, 07 March

      Yup Safari 7.0.2 on Mac OS X 10.9.2

      • Raphael Salgado
        Posted at 09:47h, 07 March

        Weird. I’m not getting anything to show up in my Safari 7.0.2. I’ve turned off all extensions and unchecked ‘stop plug-ins to save power’ and still nothing.

        • Walter
          Posted at 10:07h, 07 March

          See update above. You have to turn on webGL in Safari to view.

    • Ime
      Posted at 10:07h, 07 March

      Works on Opera Browser.

    • Nick Nebelsky
      Posted at 18:03h, 24 March

      works Firefox 27.0.1

  • Scott
    Posted at 08:29h, 07 March

    Will this work with Bluetooth Game controllers? Also, can we do a larger caves like 1024 x 768?

  • Chris
    Posted at 08:33h, 07 March

    Doesn’t show up in Safari

  • Lerg
    Posted at 08:34h, 07 March

    Hey guys, I’ve made a web version of Cubic Run! Check this out!

    http://spiralcodestudio.com/tmp/cubicrun.html

    • David
      Posted at 08:42h, 07 March

      Nice!!

    • Kerem
      Posted at 09:14h, 07 March

      Amazing!!! How can we get in on this? Thanks

      • CineTek
        Posted at 13:16h, 07 March

        You need CoronaCards… At least this is what I think after reading the html source code… So Corona is running a closed beta for months again just like Graphics 2.0. It will take ages until we get access to it.

        • David
          Posted at 14:22h, 07 March

          CoronaCards is a different thing from this. Building to the web is just another option, like building to iOS or building to Android.

          • CineTek
            Posted at 14:50h, 07 March

            Thanks David! That is really great to hear. So how do we get access to this? Lerg was able to make a web version of his CubicRun – he must have used some kind beta-build if I am right

          • David
            Posted at 16:43h, 07 March

            We are working on it – like all software, we need to finish a few things first. Lerg doesn’t have official access actually. He seems to have reverse engineered it 🙂

  • 3fold Studios
    Posted at 08:35h, 07 March

    thought that this was going to be the answer to my preiers
    works great on Firefox (Win 7), checked it out on Safari iOS7… and nothing
    you get the loading icon and then just an empty area

    was hoping that this would give me a true mobile to desktop experience

    • Walter
      Posted at 10:07h, 07 March

      See update above. You have to turn on webGL in Safari to view.

      • 3fold Studios
        Posted at 04:37h, 10 March

        thanks, but I meant the iOS version of Safari, it doesnt support WebGL. I would love to be able to make web content that would show on desktop and mobile devices

        • Walter
          Posted at 10:34h, 10 March

          Apple actually does support WebGL under the hood on iOS, as you can use WebGL inside an iAd, but they haven’t exposed it anywhere else (in Safari or webviews in native apps).

          Best thing to do is file a bug with Apple 🙂

          • 3fold Studios
            Posted at 10:40h, 10 March

            yes I’m sure they’ll get right on that! 🙂

  • Kerem
    Posted at 08:48h, 07 March

    This is a great!!! Can think of 1001 ways to utilize this new capability. Thank you very much!!!

  • Lerg
    Posted at 09:20h, 07 March

    Have you considered making a binary plugin to improve performance?

  • Alfred R Baudisch
    Posted at 10:51h, 07 March

    Wow again! That was unexpected. Now add Windows, Mac and Linux export support and you will be par with Unity 😛

  • David MEKERSA
    Posted at 12:55h, 07 March

    Hum… What can I say except… Woaw. Now Corona SDK is the big big competitor for 2D games. I was using Monkey X until now, or Unity3D (when the customer accept the plugin stuff…). Cannot wait to get more info.

  • GreenCastle
    Posted at 14:43h, 07 March

    Firefox users: if it doesn’t work go to about:config and make sure webgl.force-enabled is true. It defaults to false.

  • Greg
    Posted at 17:21h, 07 March

    If only iOS Safari would support WebGL, we’d be set.

  • Ingemar
    Posted at 17:39h, 07 March

    Now *THIS*, is cool!!!

  • JCH_APPLE
    Posted at 23:15h, 07 March

    THIS is really amazing. Hope it will come soon it’s a real “plus” !

  • Steve
    Posted at 00:57h, 08 March

    Does this mean we will be able to submit to the Chrome store?

  • David MEKERSA
    Posted at 14:44h, 08 March

    Wanted to add that the HTML5 export will only be usable if it can call extern js… (like Monkey X allows). It will open Corona SDK to Facebook, web integration, etc. Otherwise, it will just a banner maker…

  • Terry
    Posted at 10:46h, 13 March

    @David Mekersa:

    I would argue there are at least a couple of seriously valuable use cases for this:

    1) Embedding Corona apps (or more specifically samples) into your website. This creates a frictionless opportunity for an app publisher to give a potential customer a real taste of an application. This can be a better experience than producing a promotional video or worse, trying to get the potential customer to download and install a trial application (which is a costly effort for an app publisher.)

    2) Embedding Corona apps into frameworks that deploy to desktop. There are many opportunities for Corona to become a useful development environment for desktops that come from this. I already confirmed that the example provided above can be deployed in a Macintosh application. This is exciting!

  • Aaron Isaksen
    Posted at 11:33h, 13 March

    Hi Walter,

    This is amazing and a huge step for Corona. Mobile apps are just a small part of the game market, and now we can develop apps for PC and Web using Corona. Congrats and I can not wait to see more!

    -Aaron

  • Guy Stockwell
    Posted at 16:31h, 13 March

    Wow, How soon will this be available and how do we become part of the beta?

  • danielnieto
    Posted at 17:16h, 13 March

    Do you have some ETA on this export option???

  • RaxyMan
    Posted at 01:23h, 23 March

    I asked about this capability on a different Corona forum here: http://forums.coronalabs.com/topic/45489-can-chrome-native-client-technology-be-used-with-coronalua/#entry238032.

    Clearly I was in the wrong forum. Not even sure if this Corona SDK forum is the right one either, as Corona doesn’t support this yet.

    My understanding is that Google built the Chrome Native Client technology as open source, so that would explain why it works on Safari. MS is a little slow out of the starting blocks with IE, but I don’t see why MS and Apple wouldn’t eventually support NaCl too – to keep up to the Jones’.

    I LOVE the idea of being able to demo your apps directly on your own website – totally independent of downloading the app to Play Store of Apple Store! And also to let your users RUN Corona/Lua apps on the browser and OS of their choice!

    And if MS is smart, support on Windows Phones should be right around the corner!

    To me, this is closer to reaching the write-once-deploy-everywhere dream than Java! 🙂

  • Nathan
    Posted at 10:28h, 23 March

    It sounds awesome, I will be trying it soon.

  • David MEKERSA
    Posted at 05:57h, 25 April

    Any chance to know the plan for the HTML5 support? Any release date, or at least an idea (Q3… Q4? Next year?).
    This kind of announcement without any planning is creating frustration for professional developers like me. I currently use Monkey X to deliver HTML5 game to my customers, while I’m mostly a Corona developer, I’d like to know if I need to continue with Monkey X…

  • yo
    Posted at 00:39h, 03 September

    Just wondering what the status of this feature is. It was very exciting when it was announced. I haven’t heard anything since, so I felt it was worth a ping.

  • Gary
    Posted at 12:25h, 26 November

    I actually have huge plans in our app for this feature when it comes out. It’s really great.

    Could someone give us a vague idea of when that might be?

    Thanks in advance!