Notices


Reply
Thread Tools
Posts: 212 | Thanked: 340 times | Joined on Feb 2011 @ Jordan
#51
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
 
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#52
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
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 
Posts: 578 | Thanked: 994 times | Joined on Dec 2012
#53
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
 

The Following User Says Thank You to elros34 For This Useful Post:
Posts: 212 | Thanked: 340 times | Joined on Feb 2011 @ Jordan
#54
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
 

The Following User Says Thank You to laith.m.y For This Useful Post:
Posts: 111 | Thanked: 63 times | Joined on Nov 2012 @ Kazakhstan
#55
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
 
DJJonosound's Avatar
Posts: 411 | Thanked: 302 times | Joined on May 2012 @ Australia
#56
Its because the hitbox is just the square of the png, even if its transparent, The dev is well aware of this.
 
Posts: 13 | Thanked: 52 times | Joined on Mar 2014 @ China
#57
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
 

The Following 3 Users Say Thank You to 蝉曦m For This Useful Post:
Posts: 13 | Thanked: 52 times | Joined on Mar 2014 @ China
#58
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
 

The Following User Says Thank You to 蝉曦m For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#59
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.
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 
DJJonosound's Avatar
Posts: 411 | Thanked: 302 times | Joined on May 2012 @ Australia
#60
Originally Posted by 蝉曦m View Post
I'll make a update in two days
Awesome, thanks.
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:51.