pauljake
January 28th, 2005, 02:46
Well, I just made a test rom to answer some questions of Fenix DC, and to know a little more about it's limitations. Here are the results I got from the test: (the test had fps set at 60 with 0 frameskip allowed). Resolution by default was m640x480.
*Video related:
-A simple game (with 2 processes) in m640x480 with scrolling gets 22 FPS (I think that this is because of the software render that SDL DC uses, anyways this doesn't go faster on a Pentium 3 PC of 500+ mhz).
-A simple game without scrolling in m640x480 gets around 62 FPS.
-A simple game in m320x240 with scrolling gets 63 FPS.
*Sound related(songs only):
-MOD and WAV songs files ran slow, and WAV files played very choppy. I need help, in this way I can't put music in my game...
-OGG and MID are unsupported.
-You can load around 3000kb (near 2.92mb) of song files
-If you try to load more audio data than the limit, it wouldn't reproduce audio anymore.
*Movie related:
-FLC files freezes the DC.
-I can't get to load the Mpeg (and any other) dll in Fenix 0.84, so I couldn't test this format... sorry.
*Joystick related:
-Finally I found that the analog part of the joystick of the DC can be called better than the mouse if you use: get_joy_position(0) for X axis and get_joy_position(1) for Y axis. The maximum amplitude that DC joystick have is 128. This value of get_joy_position(0) is negative if you put the analog at the left and positive at right. And the value of get_joy_position(1) is positive when the analog control is being pressed downwards and negative if is being pressed upwards.
-Scancode and key(_...) only works for joystick 1.
-With select_joy(0) you will use only the first controller and with select_joy(2) you will use only the second controller (so 2ยบ controller is supported). BUT, be careful don't use scancode or key(_...) to call joysticks when you use select_joy(2) because joystick 1 and joystick 2 calls the same scancode, so you have to use ONLY joystick functions when trying to make a 2 player game.
-get_joy_button(2) = A button in the DC and get_joy_button(3) = START button in the DC controller. There we have the clue that the entire DC controller is supported via joystick functions, but I can't answer this now because i've only put buttons 0 to 3 to test (somebody or I have to test what happens with get_joy_button(4), and etc...)
*System related:
-Date and time that you get from time() and ftime() functions returns the current date and time of your DC.
Well, that's everything for now, hope this will help people in making DC games with Fenix. I really need help in how to load correctly song files and it would be good if somebody tries to load the mpeg dll in fenix v0.84 to have video playback in fenix DC.
*Video related:
-A simple game (with 2 processes) in m640x480 with scrolling gets 22 FPS (I think that this is because of the software render that SDL DC uses, anyways this doesn't go faster on a Pentium 3 PC of 500+ mhz).
-A simple game without scrolling in m640x480 gets around 62 FPS.
-A simple game in m320x240 with scrolling gets 63 FPS.
*Sound related(songs only):
-MOD and WAV songs files ran slow, and WAV files played very choppy. I need help, in this way I can't put music in my game...
-OGG and MID are unsupported.
-You can load around 3000kb (near 2.92mb) of song files
-If you try to load more audio data than the limit, it wouldn't reproduce audio anymore.
*Movie related:
-FLC files freezes the DC.
-I can't get to load the Mpeg (and any other) dll in Fenix 0.84, so I couldn't test this format... sorry.
*Joystick related:
-Finally I found that the analog part of the joystick of the DC can be called better than the mouse if you use: get_joy_position(0) for X axis and get_joy_position(1) for Y axis. The maximum amplitude that DC joystick have is 128. This value of get_joy_position(0) is negative if you put the analog at the left and positive at right. And the value of get_joy_position(1) is positive when the analog control is being pressed downwards and negative if is being pressed upwards.
-Scancode and key(_...) only works for joystick 1.
-With select_joy(0) you will use only the first controller and with select_joy(2) you will use only the second controller (so 2ยบ controller is supported). BUT, be careful don't use scancode or key(_...) to call joysticks when you use select_joy(2) because joystick 1 and joystick 2 calls the same scancode, so you have to use ONLY joystick functions when trying to make a 2 player game.
-get_joy_button(2) = A button in the DC and get_joy_button(3) = START button in the DC controller. There we have the clue that the entire DC controller is supported via joystick functions, but I can't answer this now because i've only put buttons 0 to 3 to test (somebody or I have to test what happens with get_joy_button(4), and etc...)
*System related:
-Date and time that you get from time() and ftime() functions returns the current date and time of your DC.
Well, that's everything for now, hope this will help people in making DC games with Fenix. I really need help in how to load correctly song files and it would be good if somebody tries to load the mpeg dll in fenix v0.84 to have video playback in fenix DC.