Pandora Joysticks

Previous topic - Next topic

erico

looks great! congrats! :good:

Moru

Aw, I want my pandora!

Minion


LineOf7s

Oh, very nice.  Well done.   =D

erico

Hey Minion,
post your game and video on a new thread, that way you get more people commenting and into it.

Minion

Opps ...ive found a few problems. Firstly with SOUNDPLAYING. This little nugget took me hours to work out ;( I was doing the old "play a sound and dont do anything until the sound stops" routine. But for the life of me I couldn`t get the SOUNDPLAYING to work ;( turns out that andy sound abouve 15 doesnt register with sound playing (I used sound 100 for my music piece)

This doesnt work (Anything 16 and above)
Code (glbasic) Select

LOADSOUND "sound.wav",16,1
LOCAL ch
ch=PLAYSOUND(16,0,1)
WHILE SOUNDPLAYING(ch)
SHOWSCREEN
WEND
END


But this does work
Code (glbasic) Select

LOADSOUND "sound.wav",15,1
LOCAL ch
ch=PLAYSOUND(15,0,1)
WHILE SOUNDPLAYING(ch)
SHOWSCREEN
WEND
END


Also...I was trying the old speed test using DRAWSPRITE and POLYVECTOR and USESCREEN to see which was giving me the best results. I wrote a noddy program to test it to see the results, but tested it on the PC first.

Results I got upset me. On my PC when drawing 50,000 sprites using DRAWSPRITE I got an fps of around 25 to 30, using POLYVECTOR I got 59fps, and when using POLYVECTOR to a virtual screen and then copying that screen to the backbuffer I also got 59 fps (Which is pretty much what I expected)

But doing a similar thing on the pandora using only 500 sprites the results where very odd

Just using DRAWSPRITE I got 55 fps
using just POLYVECTOR I get 48 fps
and using POLYVECTOR to a virtual screen and then copying to the backbuffer I get 22 fps ;(

Is this right ?

Ive also noticed some strange oddities with sound on the Pandy, but haven`t got around to pinpoint these yet, so as soon as I find out whats what I`ll let you know.


Minion

Is there anything I can do with this speed issue ?

Also, is there a problem with PLAYSOUND or is it something I`m missing ?

Kitty Hello

It seems the pandora virtual buffer copying takes so long. That's very strange. I will see if I can do anything about it. Maybe the colour format of the internal surfaces does not equal the screen surface.