raesch, gries droidcon 2014

37
Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel x-platform an example-based comparison of sdks

Upload: droidcon-berlin

Post on 09-May-2015

209 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

x-platforman example-based comparison of sdks

Page 2: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

introductionSimon-Lennert RaeschSoftware Engineer / Research Assistant / Mobile Game Developer

[email protected]

[email protected]

Tobias GriesBachelor of Computer Science / Mobile Game Developer

[email protected]

Page 3: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

agendaintroduction

why we are comparing

what we are comparing

how we are comparing

what were our results

conclusion and outlook

Page 4: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

why we are comparing

Page 5: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

why we are comparing

game dev course @ university of Kassel

students tend to simply use sdk based on claimed features and language (i.e. java)

Page 6: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

why we are comparing

mustache sliderios & android

Page 7: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

what we are comparing

corona sdk (2014.1262)

gideros (v2013.09.1)

openfl (Haxe 3.0.0 FlashDevelop 4.5.2.5)

related & popular:unity3dcocos2d-xlibgdx...

Page 8: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

how we are comparingexample-based approachone game - three different frameworks

criteria:speed: increasing complexity and measuring influence on framerateusability: tool support, tutorials/documentation, access to hw (e.g. sensors, storage), features

the gamematch-three-game (e.g. ccs, bejeweled) with a twist

Page 9: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

the game

Page 10: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

what were our results

pros / cons per sdkstatistic(s)deploymentcode forks

Page 11: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

corona sdk

pros● meets all requirements● best documentation● easy start (own ide via sublime)● plugins● easy to use (lua)● 800 loc

cons● simulator vs. real device

Page 12: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

gideros

cons● least powerful

pros● meets all requirements● good documentation● easy to use (lua and own ide)● best performance● gideros studio (instant deployment!)● 840 loc

Page 13: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

openfl

pros● meets all requirements● seems most powerful● most platforms

supported● haxe

cons● documentation● steep learning curve● 1050 loc

Page 14: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

speed

Page 15: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

deployment

via simulator (.ipa/.apk)

export projects (eclipse / xcode)

console (with cli adt/xcode)

Page 16: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

code forks

gideros: no code forks at all

corona: code fork for fonts

openfl: completely code forked sensor-access

Page 17: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

code examples

(background) imageanimationsoundsensorspersistent data

Page 18: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

code example - image

Page 19: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

code example - image

Page 20: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

code example - image

Page 21: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

code example - animation

Page 22: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

code example - animation

Page 23: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

code example - animation

Page 24: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

code example - sound

Page 25: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

code example - sound

Page 26: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

code example - sound

Page 27: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

code example - touch

Page 28: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

code example - touch

Page 29: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

code example - touch

Page 30: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

code example - persistent data

Page 31: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

code example - persistent data

Page 32: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

code example - persistent data

Page 33: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

display resolution

Page 34: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

look & feel

same same, not different

gideros, android and ios version side-by-side

Page 35: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

conclusionall equally easy to use

distinct speed advantage for gideros

ide support main driver for quick adaptation

know your requirements

still a lot of movement going on

Page 36: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

outlook

what to expect from us at the next droidcon

Page 37: Raesch, gries   droidcon 2014

Simon-Lennert Raesch, Software Engineering University of Kassel - Tobias Gries, University of Kassel

questions

contact us:Simon-Lennert Raesch [email protected] Gries [email protected]

more infos:http://seblog.cs.uni-kassel.de/2014/05/09/droidcon-2014/

Images © by Tobias Gries; Black Pants Studio, 2014; respective copyright owners

?