qml ¹è¨“è²ç¨‹ -...

Download QML ¹è¨“è²ç¨‹  - 鈲製½œ…¥é–€

Post on 12-Jul-2015

993 views

Category:

Software

9 download

Embed Size (px)

TRANSCRIPT

  • QML DIRO FAN

    diro.fan@gmail.com

    2014/12/20@

  • QtTaiwan https://www.facebook.com/groups/qtdev/

    XD

  • CQML/JS

  • QML

  • 1. QML a. Keysb. Animationc. Imaged. Audioe. Particlef. Timer

    2. DOS ........

  • John Carmack

    1. John Carmack QML ..a. id Software PC

    b. 3D

  • QML

  • QML

  • SAMEGAME

  • SAMEGAME

  • SAMEGAME var column = Math.floor(x/gameCanvas.

    blockSize); var row = Math.floor(y/gameCanvas.

    blockSize); floodFill()

    recursive

  • John Carmack

  • BOX2D

  • BOX2D

    Box2D is an open source C++ engine for simulating rigid bodies in 2D

    Collision detection, friction, restitution, forces/impulses

    http://www.iforce2d.net/b2dtut/forceshttp://clouddeep.pixnet.net/blog/post/30573066-%5Bbox2d%5D-%E5%

    88%9D%E5%AD%B8%E5%85%A5%E9%96%80

  • BOX2D

    API ....

    C++....

  • Quasi-EngineQMLBOX2D

  • Quasi-Engine

    Scene gravity: Qt.point(0, -30.0)

    Material friction, density, restitution

  • Quasi-Engine

    Entity (Body) Static, Dynamic, Kinematic

  • Quasi-Engine

    Fixture A fixture binds a shape to a body(entity) and adds material properties

    such as density, friction, and restitution.

    Joint This is a constraint used to hold two or more bodies together. Box2D

    supports several joint types: revolute, prismatic, distance, and more. Some joints may have limits and motors.

    applyLinearImpulse() applyTorque()

  • NBA90

  • Static Entity backboardHandler backboard basketHandler ground

    Dynamic Entity ball

  • Quasi-Engine

  • Quasi-Engine

  • Quasi-Engine

    BOX2Dunzip Box2D_v2.1.2.zipcd Box2D_v2.1.2/Box2D/Buildcmake ..make

  • 1. ICS a. http://developer.nokia.

    com/community/wiki/images/4/4c/ICSCasualGamesWithQml.pdf?20110622180857

    2. QUITa. http://quitcoding.

    com/download/Qt_Quick_Game_Programming_1_0.pdf

  • V-PLAY

  • V-PLAY

    1. 404 Not Found

  • bugbuild..

View more >