The Following User Says Thank You to archl For This Useful Post: | ||
![]() |
2011-08-10
, 15:40
|
Posts: 37 |
Thanked: 191 times |
Joined on Nov 2009
@ Finland
|
#12
|
Sparrow3D is an application framework with software renderer especially for open handhelds. The goal is to just write an application once and to compile it...
The Following 4 Users Say Thank You to TomppaS For This Useful Post: | ||
![]() |
2011-08-17
, 13:24
|
Posts: 98 |
Thanked: 32 times |
Joined on Jul 2011
|
#13
|
![]() |
2011-11-22
, 12:49
|
Posts: 3 |
Thanked: 5 times |
Joined on Nov 2011
|
#14
|
The Following 2 Users Say Thank You to Ziz For This Useful Post: | ||
![]() |
2011-11-23
, 14:04
|
Posts: 839 |
Thanked: 3,386 times |
Joined on Mar 2009
|
#15
|
The Following User Says Thank You to AapoRantalainen For This Useful Post: | ||
![]() |
2011-11-23
, 14:30
|
Posts: 3 |
Thanked: 5 times |
Joined on Nov 2011
|
#16
|
Hi, I checked current code from sparraw3d and puzzletube.
Ifdefs on code are same than with Pandora, but there are no pnd_*.
Makefile
ifeq ($(TARGET),maemo)
+CPP = gcc -DARMCPU -DMAEMO $(GENERAL_TWEAKS)
+SDL = `sdl-config --cflags`
endif
But I'm not sure about SDL_SetVideoMode.
puzzletube.c:80 screen = spCreateWindow();
Returns null.
Add error checking for that. I needed debugger to invent that screen->w is reason for seg faulting (because screen==NULL).
I got 320x240 window running. Without optimizations (debug build) and without audio (with errors according missing audio) FPS=17.
And on N900, fullscreen will be faster than windowed.
I think game should be work on read-only directory also:
settings.c:155
*file=SDL_RWFromFile("./highscore.dat","wb");
-> not good
We have discussed about this earlier, but it is still kind of funny:
game.c: 1057 "Slart"
(Means Start)
Is 3dengine.c used at all any more?
The Following 2 Users Say Thank You to Ziz For This Useful Post: | ||
![]() |
2011-11-24
, 11:44
|
Posts: 839 |
Thanked: 3,386 times |
Joined on Mar 2009
|
#17
|
That is not really fast... Are we talking about the textured mode? Oh and COMPLETELY without optimization? I never tried it without at least -Os...
Did you check the resolution of you N900? And the right parameters for creating the screen surface?
The Following User Says Thank You to AapoRantalainen For This Useful Post: | ||
![]() |
2011-11-24
, 13:07
|
Posts: 3 |
Thanked: 5 times |
Joined on Nov 2011
|
#18
|
And maybe it should be MAEMO5, not MAEMO, because MAEMO6 has different resolution.
Maemo5=N900=800x480 px
Maemo6=N950+N9 = 854x480 px
I tried couple of parameter-sets but not yet succeed to find working except that 320x240 (I know there are better resolution which works).
settings.c:155
-*file=SDL_RWFromFile("./highscore.dat","wb");
+//Not valid syntax and check existence of directories.
+*file=SDL_RWFromFile("/home/$USER/.puzzletube/highscore.dat","wb");
The Following User Says Thank You to Ziz For This Useful Post: | ||
![]() |
2011-12-05
, 12:14
|
Posts: 839 |
Thanked: 3,386 times |
Joined on Mar 2009
|
#19
|
The Following User Says Thank You to AapoRantalainen For This Useful Post: | ||
![]() |
2013-06-08
, 09:13
|
|
Posts: 1,974 |
Thanked: 1,834 times |
Joined on Mar 2013
@ india
|
#20
|
But still, even I got flated brick with no particle, hard***.
It still have unstable FPS around 20-45.
Beside, I was wrong, it didn't crash. It just stuck because game over. And please make short help in game, at least tell which key to use
Thank you for bringing this fun game to us.