• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Angry Developer: Creating a Game in QML and JavaScript for MeeGo N9 @iRajLal
 

Angry Developer: Creating a Game in QML and JavaScript for MeeGo N9 @iRajLal

on

  • 6,787 views

Here is how you can create a simple but advanced Game in QML with JavaScript.

Here is how you can create a simple but advanced Game in QML with JavaScript.
Download code: http://tinyurl.com/AngryDeveloper

Statistics

Views

Total Views
6,787
Views on SlideShare
6,312
Embed Views
475

Actions

Likes
0
Downloads
53
Comments
2

30 Embeds 475

http://irajeshlal.blogspot.com 231
http://irajlal.blogspot.com 150
http://irajlal.blogspot.in 22
http://irajeshlal.blogspot.in 20
http://irajlal.blogspot.fr 8
http://irajeshlal.blogspot.co.uk 7
http://irajlal.blogspot.com.br 6
http://irajeshlal.blogspot.com.au 3
http://irajeshlal.blogspot.de 3
http://irajlal.blogspot.de 2
http://irajlal.blogspot.dk 2
http://irajlal.blogspot.kr 2
http://irajeshlal.blogspot.ca 2
http://irajeshlal.blogspot.ch 1
https://twitter.com 1
http://irajlal.blogspot.it 1
http://irajlal.blogspot.ca 1
http://irajeshlal.blogspot.com.br 1
http://irajeshlal.blogspot.co.il 1
http://irajlal.blogspot.com.au 1
http://irajlal.blogspot.ch 1
http://irajeshlal.blogspot.mx 1
http://irajlal.blogspot.be 1
http://irajlal.blogspot.nl 1
http://irajlal.blogspot.co.uk 1
http://irajeshlal.blogspot.tw 1
http://www.linkedin.com 1
http://webcache.googleusercontent.com 1
http://irajeshlal.blogspot.sk 1
http://irajlal.blogspot.com.es 1
More...

Accessibility

Categories

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

12 of 2 previous next

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

    Angry Developer: Creating a Game in QML and JavaScript for MeeGo N9 @iRajLal Angry Developer: Creating a Game in QML and JavaScript for MeeGo N9 @iRajLal Presentation Transcript

    • Creating a Game Angry Developer
    • Creating a Game using Qt Quick1. Cutting Edge UI 1 QML file & images2. JavaScript binding 1 JavaScript file3. Putting it Together
    • Game: Angry DeveloperPlaying Moving
    • Angry Developer: Missed MissedAngry
    • Angry Developer: Hit “Hurrah!” DestroyedHappy
    • QML Elements
    • State ChangePlaying Angry Happy Pig Moving Pig Destroyed
    • State Change
    • Ball AnimationBouncing Ball Animation Throw Transition
    • Bouncing Ball Animation
    • Throw Transition
    • QML Logic (2 Timers) Pig’s Random Movement Hit or Miss
    • Timer Pig’s Movement
    • Timer Hit or Miss
    • Step 2. Rich Mobile Apps JavaScript Expressions Import JavaScript Files RSS, XML, JSON, REST Multi Threaded JavaScript
    • JavaScript to build Rich Features Qt Container JavaScript QML C++ is not Required
    • JavaScript file: Clock.js
    • QML Binding
    • Putting the Game Together In 5 easy Steps
    • Step1/5: Create New Application1 Create new Mobile Qt Application Select Qt for PR1.3 Remove files • mainwindow.ui • mainwindow.h • mainwindow.cpp
    • 2/5 Add Qt Declarative2 In Project.pro file add QT += declarative In our case add this to NativeQMLJS.pro
    • 3/5 Add Qt Declarative3 In main.cpp, include QtDeclarative and add code
    • 4/5 Add Files QML file , Add Images and as resources JavaScript File* Make sure your JavaScript file name is lowercase
    • 5/5 Add the BindingAdd the binding in QML file and call JavaScript import "clock.js" as MyClock … Text { id:txttime text: MyClock.gettime() }
    • Demo Angry Developer