cdoty
Moldy Popcorn
Posts: 38
|
Post by cdoty on Mar 30, 2005 22:32:33 GMT -5
I've done some more work on Frog Feast. The frog is now fully controllable. Download the demo www.game-shoppe.com/GenesisFrog.zip. And about 7 years ago I made the statement 'I wouldn't even consider programming the Genesis in C' in an EmuCamp interview. I 'might' consider using C on the Genesis! Actually, the Frog Feast demo uses NeoDev GCC (that's not C, right?) and some custom written asm routines and startup code. ( www.neobitz.com/) I switched to C to better handle the game logic. I guess I've gotten soft, programming in C++ under windows for the last 10 years. And to make things worse, I'm using Visual Studio 6 to edit and compile the demo. Compared to XGCC, NeoDev GCC works better under Windows XP, and offers a better set of tools (being based on 2.95 instead of 2.7x). It makes it easier to extract parameters from the stack (using an ARGS define). There is one problem with NeoDev GCC that I found. It has a problem with multple shift. When using optimizations, mutiple shift (>> 8) emit invalid instructions. When setting up the Source address for DMA, it would give invalid instructions after the second >> 8. (Based on a routine from Fonzie/Kaneda). So, I replaced all the C stuff with my assembler routines from my initial version of the demo.
|
|
|
Post by haroldoop on Mar 31, 2005 5:05:25 GMT -5
Nice game, although there's a little problem with the controls: When you press forward+jump the frog just walks forward, instead of jumping. I know that you only have to press jump in order to jump forward, but I think this would be counter-intuitive for most players. In other words, jumping should have preference over walking.
|
|
cdoty
Moldy Popcorn
Posts: 38
|
Post by cdoty on Apr 1, 2005 11:26:51 GMT -5
Yeah, I process either the buttons or a direction. Supporting both was causing a problem. I need to add logic to fix this, If I can remember what it was. Thanks for the feedback.
|
|
oompa loompa
I AM THE GOVERNATOR
"Git 'Er Dun!"
Posts: 1,301
|
Post by oompa loompa on Apr 1, 2005 22:51:34 GMT -5
c is also faster to make stuff in rather than assembly that zelda engine i made for the genesis could be made in a day, but totally, i spent a week making it in asm
|
|
cdoty
Moldy Popcorn
Posts: 38
|
Post by cdoty on Apr 16, 2005 22:47:05 GMT -5
|
|
|
Post by Kaneda on Apr 17, 2005 2:43:01 GMT -5
oh....oldergames
|
|
cdoty
Moldy Popcorn
Posts: 38
|
Post by cdoty on Apr 17, 2005 20:49:54 GMT -5
Yeah, they seem to release games without trying to charge a fortune.
|
|