Search found 4 matches

by DoomSlayer
Thu Oct 22, 2020 8:17 am
Forum: Programming Discussion
Topic: Need help to optimize my display routine
Replies: 5
Views: 134

Re: Need help to optimize my display routine

Hi everyone, I applied the recommendations of TapamN, in my case it hasn't changed much, I still have my FPS drops, but now that I can test on my dreamcast I can bring new informations : There are some weird things, let me explain To get the execution time, I proceed like this: int main() { uint64 c...
by DoomSlayer
Wed Oct 21, 2020 8:17 am
Forum: Programming Discussion
Topic: Need help to optimize my display routine
Replies: 5
Views: 134

Re: Need help to optimize my display routine

Thank you all for your answers !

I modded my Serial port to USB, it will allow me to have the real milliseconds values ​​of each frame, I test all this tonight

Thank you for the oargb it could be useful for a future project! In this one I don't use it
by DoomSlayer
Sun Oct 18, 2020 6:31 am
Forum: Programming Discussion
Topic: Need help to optimize my display routine
Replies: 5
Views: 134

Need help to optimize my display routine

Hello everyone :) I'm trying to display multiple sprites on the screen, between 200 and 400 per frame, I am using the PVR API, I think it is able to do that, but I am getting some serious slowdown, here is how works my game. int main() { initMyGame(); while(1) { UpdateMyGame(); ScreenFlip(); } } voi...
by DoomSlayer
Mon Apr 01, 2019 12:47 pm
Forum: Programming Discussion
Topic: Strange bug with snd_sfx_play
Replies: 9
Views: 798

Strange bug with snd_sfx_play

Hello everyone, I have a small problem with sfx This is how I play sfx: sfxhnd_t boom = snd_sfx_load("/rom/boom.wav"); snd_sfx_play(boom, 255, 128); The sound is played but it is very saturated / buggy At the same time I use the ogg library to play the music, maybe we can not use the lib ogg and the...