Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Flappy Bird for N9

    Reply
    Page 6 of 7 | Prev |   4     5   6   7   | Next
    laith.m.y | # 51 | 2014-03-18, 22:38 | Report

    Originally Posted by elros34 View Post
    Sound works but it's just disabled by developer in script.js file.


    I don't know n9 but on n900 enabling opengl make it usable. Check -graphicssystem opengl as a argument.

    蝉曦m, thanks DoodleJump works nice on n900. I just need to change rs.reading.y to -rs.reading.x.
    can you explain more how to enable the sound from script.js ?

    and how to enable opengl? (because the game run very slow on my n900)

    thanx in advance

    Edit | Forward | Quote | Quick Reply | Thanks

     
    freemangordon | # 52 | 2014-03-19, 07:31 | Report

    Originally Posted by laith.m.y View Post
    can you explain more how to enable the sound from script.js ?

    and how to enable opengl? (because the game run very slow on my n900)

    thanx in advance
    I think one should open a separate thread for n900 (not me, I am really not that interested in gaming).

    however, the "trick" to enable HW acceleration on n900 is:
    Code:
    QmlApplicationViewer::QmlApplicationViewer(QWidget *parent)
        : QDeclarativeView(parent)
        , d(new QmlApplicationViewerPrivate())
    {
    #ifdef Q_WS_MAEMO_5
        setAttribute(Qt::WA_Maemo5LandscapeOrientation);
    
        engine()->addImportPath(QString("/opt/qtm11/imports"));
        engine()->addPluginPath(QString("/opt/qtm11/plugins"));
    
        setViewport(new QGLWidget);
    #endif
    
        setViewportUpdateMode(QGraphicsView::FullViewportUpdate);
    
        setAttribute(Qt::WA_OpaquePaintEvent);
        setAttribute(Qt::WA_NoSystemBackground);
    
        viewport()->setAttribute(Qt::WA_OpaquePaintEvent);
        viewport()->setAttribute(Qt::WA_NoSystemBackground);
    
    .
    .
    .
    here http://46.249.74.23/flappybird.tar.gz you can download working .deb/source for n900, based on the last before the final (or final, I am not sure) version of flappybird for n9

    Edit | Forward | Quote | Quick Reply | Thanks

     
    elros34 | # 53 | 2014-03-19, 08:23 | Report

    Originally Posted by laith.m.y View Post
    can you explain more how to enable the sound from script.js ?

    and how to enable opengl? (because the game run very slow on my n900)

    thanx in advance
    for sound you must uncomment (remove //)
    Code:
     //    if(mp3=="start"){playMusic1.play() ..
    at the end of script.js file

    for better performance you can do what freemangordon said or run game with parameter:
    meecolay pathToGame/DoodleJump -graphicssystem opengl

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to elros34 For This Useful Post:
    nokiabot

     
    laith.m.y | # 54 | 2014-03-19, 15:08 | Report

    Originally Posted by freemangordon View Post
    here http://46.249.74.23/flappybird.tar.gz you can download working .deb/source for n900, based on the last before the final (or final, I am not sure) version of flappybird for n9
    this .deb works very very good and the game is smoother than enable opengl


    Originally Posted by elros34 View Post
    for sound you must uncomment (remove //)
    Code:
     //    if(mp3=="start"){playMusic1.play() ..
    at the end of script.js file

    for better performance you can do what freemangordon said or run game with parameter:
    meecolay pathToGame/DoodleJump -graphicssystem opengl
    now the sound work fine , although the code in script.js miss the hit sound


    thank you both for help

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to laith.m.y For This Useful Post:
    nokiabot

     
    pmeuh | # 55 | 2014-03-23, 15:20 | Report

    Just a quick bug report, I don't know why I should die in this situation:

    Thansk for this app anyway, it's really good even though I'm really bad

    If someone speaks Chinese and can report the programmer
    Cheers

    Edit | Forward | Quote | Quick Reply | Thanks

     
    DJJonosound | # 56 | 2014-03-24, 03:00 | Report

    Its because the hitbox is just the square of the png, even if its transparent, The dev is well aware of this.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    蝉曦m | # 57 | 2014-03-26, 05:02 | Report

    Originally Posted by DJJonosound View Post
    Its because the hitbox is just the square of the png, even if its transparent, The dev is well aware of this.
    I'll make a update in two days

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to 蝉曦m For This Useful Post:
    DJJonosound, pmeuh, ranbaxy

     
    蝉曦m | # 58 | 2014-03-26, 05:06 | Report

    Originally Posted by freemangordon View Post
    I think one should open a separate thread for n900 (not me, I am really not that interested in gaming).

    however, the "trick" to enable HW acceleration on n900 is:
    Code:
    QmlApplicationViewer::QmlApplicationViewer(QWidget *parent)
        : QDeclarativeView(parent)
        , d(new QmlApplicationViewerPrivate())
    {
    #ifdef Q_WS_MAEMO_5
        setAttribute(Qt::WA_Maemo5LandscapeOrientation);
    
        engine()->addImportPath(QString("/opt/qtm11/imports"));
        engine()->addPluginPath(QString("/opt/qtm11/plugins"));
    
        setViewport(new QGLWidget);
    #endif
    
        setViewportUpdateMode(QGraphicsView::FullViewportUpdate);
    
        setAttribute(Qt::WA_OpaquePaintEvent);
        setAttribute(Qt::WA_NoSystemBackground);
    
        viewport()->setAttribute(Qt::WA_OpaquePaintEvent);
        viewport()->setAttribute(Qt::WA_NoSystemBackground);
    
    .
    .
    .
    here http://46.249.74.23/flappybird.tar.gz you can download working .deb/source for n900, based on the last before the final (or final, I am not sure) version of flappybird for n9
    what a good job,canyou explain the N9 how to enable opengl?
    I don't know anything about the Meego api of Qt

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to 蝉曦m For This Useful Post:
    nokiabot

     
    freemangordon | # 59 | 2014-03-26, 10:25 | Report

    Originally Posted by 蝉曦m View Post
    what a good job,canyou explain the N9 how to enable opengl?
    I don't know anything about the Meego api of Qt
    On Harmattan (the OS that runs on N9/50) gles acceleration is enabled by default for QT applications (AFAIK), no special measures should be taken.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    DJJonosound | # 60 | 2014-03-26, 11:47 | Report

    Originally Posted by 蝉曦m View Post
    I'll make a update in two days
    Awesome, thanks.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 6 of 7 | Prev |   4     5   6   7   | Next
vBulletin® Version 3.8.8
Normal Logout