Rik
Member
Very new to Fenix... Infact just started yesterday thanks to EvilDragon's tutorial.
Started making some form of platform engine.
(source / files)
I have a few questions.
1: Despite running very smoothly at the 60fps I've set, it doesn't VSYNC... It's not noticeable on the PC.. But it looks pretty distracting on the GP32. :S ...I tried all sorts of fps settings but none seem inline with the refresh rate? Is there no way to wait for v.sync before the next loop? Or is there a set_fps setting that looks good on GP32? Is there a way of double buffering in fenix?
2: My platform movement is probably a bit dodgey. Is there a better way of testing background colisions? (I'm basicly checking 1 pixel of the map where the character will be in the next loop... Is there a way to check a block at once or some thing even better?).
3: Scrolling... I'm a bit stuck here. I've basicaly changed it so that the background moves all the time instead of the character at all. Is there an easy way to have both depending on how close to the screen edge the character is? At the moment this would mess up my lame n00b collision detection. :S'
I did download a couple of code examples but all the comments were in Spanish, and they were even worse than mine. :blink:
Any help would be v.much appreciated, thank you.
Started making some form of platform engine.
(source / files)
I have a few questions.
1: Despite running very smoothly at the 60fps I've set, it doesn't VSYNC... It's not noticeable on the PC.. But it looks pretty distracting on the GP32. :S ...I tried all sorts of fps settings but none seem inline with the refresh rate? Is there no way to wait for v.sync before the next loop? Or is there a set_fps setting that looks good on GP32? Is there a way of double buffering in fenix?
2: My platform movement is probably a bit dodgey. Is there a better way of testing background colisions? (I'm basicly checking 1 pixel of the map where the character will be in the next loop... Is there a way to check a block at once or some thing even better?).
3: Scrolling... I'm a bit stuck here. I've basicaly changed it so that the background moves all the time instead of the character at all. Is there an easy way to have both depending on how close to the screen edge the character is? At the moment this would mess up my lame n00b collision detection. :S'
I did download a couple of code examples but all the comments were in Spanish, and they were even worse than mine. :blink:
Any help would be v.much appreciated, thank you.