Ny coders - Cross-platform development with Haxe, openFL and Cocktail
Upcoming SlideShare
Loading in...5
×
 

Ny coders - Cross-platform development with Haxe, openFL and Cocktail

on

  • 4,464 views

 

Statistics

Views

Total Views
4,464
Views on SlideShare
2,237
Embed Views
2,227

Actions

Likes
2
Downloads
7
Comments
0

2 Embeds 2,227

http://www.scoop.it 2225
http://webcache.googleusercontent.com 2

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Ny coders - Cross-platform development with Haxe, openFL and Cocktail Ny coders - Cross-platform development with Haxe, openFL and Cocktail Presentation Transcript

    • Cross-platform development with Haxe, OpenFL & Cocktail openFL
    • Raphaël Harmel @djcodam Speecheo co-founder Intermedia Paris co-founder Silex Labs evangelist
    • http://www.silexlabs.org/
    • Client-server communication protocol Websites and digital publishing Non-profit organisation supporting open-source software. > 800 000 downloads Cross-platform applications creation (mobile, tablet, Smart TV...) Silex Labs
    • Technological Context
    • Technological context Connected application world fragmentation. Explosion of costs and delays.
    • 2008 only computers & web browsers < 10 platforms Technological context
    • 2010 mobiles & tablets > 30 platforms Technological context
    • 2011 Set Top Box, Smart TV, Gaming consoles > 70 platforms Technological context
    • Target platforms
    • Multi-platform language HAXE
    • JS API FLASH API PHP API C++ API Common API (...) + Specifific APIs
    • Most used cross-platform tools 7 supported platforms 600.000 SDK download Applications downloaded more than 35 million times Used in 3.33% of Android applications Chiffres 2012 - estimations sources: http://www.appbrain.com/stats/libraries/dev http://www.visionmobile.com/product/cross-platform-developer-tools-2012/ 5 supported platforms 3 million developers Used in 1.51% of Android applications Some numbers... 5 supported platforms 1.5 million developers 1.85 million SDK download 35.000 applications published and deployed over 40 million devices Used in 0.16% dof Android applications
    • DEMO https://github.com/SilexLabsThirdParty/haxe_samples
    • Haxe JS demo Hello Wxrld!
    • Haxe Flash demo Hello Wxrld!
    • Haxe PHP demo Hello Wxrld!
    • Conditionnal Compilation Haxe JS / FLASH / PHP examples
    • Haxe Remoting Client-Server Communication
    • FEATURES
    • Targets JavaScript / nodeJS php c++ ActionScript c# (beta) Java (beta) neko
    • Libraries
    • Librairies GAMES APPLICATIONS openFL (former NME)
    • Common points ● Natives Applications & Web Apps ● 1 single code base for all platforms openFL OpenFL vs Cocktail
    • Differences Games vs Apps openFL OpenFL vs Cocktail
    • JS APIFlash API OpenFL vs Cocktail openFL
    • http://www.silexlabs.org/haxe/cocktail/ Cocktail
    • HTML & CSS implementation uses DOM HTML API open source Cocktail
    • Targets JavaScript Flash Used with OpenFL, Air & PhoneGap: iOS Android Windows MacOS Linux BlackBerry WebOS Smart TV HbbTV Cocktail
    • Cocktail Features HTML for markup CSS for design W3C DOM API for behaviour application oriented Works in stand-alone mode or embedded in other applications
    • Architecture Written en Haxe Cross-platform code: 90% Specific code for each target: 10% Cocktail
    • THE LEADING GLOBAL PLATFORM FOR SOCIAL VIDEO ADVERTISING Video player Video player allowing: ● Youtube and DailyMotion video streaming ● advertising injection ● social network sharing 15 million impressions / month Cocktail Realisations
    • Cocktail Realisations My TF1 Connect
    • http://openfl.org http://www.joshuagranick.com/ openFL (former NME)
    • cross-platform games framework uses Flash API open-source openFL
    • Targets iOS Android HTML5 Windows MacOS Linux Flash BlackBerry WebOS openFL
    • Features 2D video games oriented bitmap manipulation accelerated rendering (OpenGL) handles keyboard, mouse, multi-touch, joystick halndles spritesheet halndles JPG, PNG, GIF halndles MP3, WAV, OGG openFL
    • Build tool included command line build tool simplifies deployement to any target openFL
    • Architecture most of the code is written in Haxe native code for each platform to access to OpenGL, font, file system APIs. openFL
    • Realisations openFL
    • QUESTIONS ?
    • http://haxe.org
    • Want to know more about Silex Labs ? Official website http://www.silexlabs.org/ Twitter @silexlabs Source code https://github.com/silexlabs/ Forums http://www.silexlabs.org/labs/
    • THANK YOU !