Search found 101 matches

by zhengyaxin_8bit
Sat Jun 23, 2012 1:03 am
Forum: Demos
Topic: Angry birds demo in MegaDriver
Replies: 54
Views: 66429

The bird is a sprite, right? The lines are tiles, right? Maybe set aside enough tiles for how far the lines could go, then draw the lines as a bitmap and set the tiles on the fly. That would be fast enough since you would only be updating some tiles, not ALL the tiles. The SDK has mouse support in ...
by zhengyaxin_8bit
Fri Jun 22, 2012 5:56 pm
Forum: Demos
Topic: Angry birds demo in MegaDriver
Replies: 54
Views: 66429

Nice job! The controls weren't hard to figure out - you mostly just emulated a mouse with the joypad. How about supporting a SEGA mouse in the game? I know it is possible to use mouse in SEGA and FC . Some simple IC can do this. They have be used in education soft. I have the document about how to ...
by zhengyaxin_8bit
Fri Jun 22, 2012 5:39 pm
Forum: Demos
Topic: Angry birds demo in MegaDriver
Replies: 54
Views: 66429

Nice job! The controls weren't hard to figure out - you mostly just emulated a mouse with the joypad. How about supporting a SEGA mouse in the game? The only thing it took a bit to figure out was the angle of the shot is determined by the position of the hand, not the bird in the sling. Because I c...
by zhengyaxin_8bit
Fri Jun 22, 2012 4:43 pm
Forum: Video Display Processor
Topic: show a 256 colors picture in MD
Replies: 21
Views: 33380

Stef wrote:Of course this is possible, some games display more than 64 colors in game.
On static image you can a lot more, there is a small demo showing more than 1000 colors on a single screen :)
Wow!! How to do this,Where I can download this demo and source code? :o
by zhengyaxin_8bit
Fri Jun 22, 2012 4:16 pm
Forum: Demos
Topic: Angry birds demo in MegaDriver
Replies: 54
Views: 66429

Very nice. I spent a minute trying to figure out how to start the game, though. Same here... i actually tried to press Start button, but not the good way ;) I used up,down,left,right key to move finger,like use mouse, and When the finger have change,you can press B key into next scene, anywhere pre...
by zhengyaxin_8bit
Fri Jun 22, 2012 3:49 pm
Forum: Demos
Topic: Angry birds demo in MegaDriver
Replies: 54
Views: 66429

I am hearing good reviews of this game but I am also getting the "访问有误" error and google translate says it means "Wrong access" why is that? How are other people downloading it but not me? Could somebody upload it on mediafire or something else please. Also when I refreshed the page I got 文件链接已经失效!...
by zhengyaxin_8bit
Fri Jun 22, 2012 11:23 am
Forum: Demos
Topic: Angry birds demo in MegaDriver
Replies: 54
Views: 66429

Angry birds demo in MegaDriver

I write one game " angry birds demo " use stef's sgdk.:D
http://ys-g.ys168.com/1.0/364334728/k25 ... dsdemo.rar
by zhengyaxin_8bit
Thu Jun 21, 2012 3:20 pm
Forum: Video Display Processor
Topic: show a 256 colors picture in MD
Replies: 21
Views: 33380

show a 256 colors picture in MD

I think we can show a special 256 colors picture in MD.
So, we split one screen to four part,0-6,7-13,14-20,21-27 line.
When vdp show them, we change all the color palette.
by zhengyaxin_8bit
Mon May 28, 2012 2:10 am
Forum: SGDK
Topic: vdp_pal question
Replies: 13
Views: 8211

stef! Can you show your code for fixed it to here? I think the code you writed is better than me.
by zhengyaxin_8bit
Sun May 27, 2012 8:16 pm
Forum: SGDK
Topic: vdp_pal question
Replies: 13
Views: 8211

I modify vdp_pal.c void VDP_fadeOutAll(u16 numframe, u8 async) { u16 tmp_pal[64]; u16 i; for(i = 0; i < 64; i++) tmp_pal = 0; // do the fade VDP_fadeAllTo(tmp_pal, numframe, async); // VDP_fadeTo(0, 63, palette_black, numframe, async); } void VDP_fadeInAll(const u16 *pal, u16 numframe, u8 async) { u...
by zhengyaxin_8bit
Sun May 27, 2012 7:54 pm
Forum: SGDK
Topic: vdp_pal question
Replies: 13
Views: 8211

by zhengyaxin_8bit
Sun May 27, 2012 7:51 pm
Forum: SGDK
Topic: vdp_pal question
Replies: 13
Views: 8211

vdp_pal question

After call the following code: VDP_fadeOutAll(20,1); VDP_waitFadeCompletion(); while(1) { } The palette just have 16 color is black.I want to all color to black. http://b224.photo.store.qq.com/psb?/4e2b2d04-67c2-40a2-b587-542959b3f25f/7HQQhgB28LSlVM1yRJgRGpUjZyN6oJbY0sF8RWhugMM!/b/YUHOiYWIHQAAYuJJiI...
by zhengyaxin_8bit
Sun May 27, 2012 2:19 pm
Forum: SGDK
Topic: How to use SGDK from command line
Replies: 3
Views: 3725

Thanks stef.
Now, I can use command line to bulit my program. :D
by zhengyaxin_8bit
Sun May 27, 2012 11:30 am
Forum: SGDK
Topic: How to use SGDK from command line
Replies: 3
Views: 3725

How to use SGDK from command line

I read the help from this http://code.google.com/p/sgdk/wiki/HowToUseSGDK
After run "%GDK_WIN%\bin\make -f %GDK_WIN%\makelib.gen",
I can't create %GDK%/lib/sega.o and %GDK%/lib/libgendev.a,Why?
My environment variable be setting as you said.
by zhengyaxin_8bit
Sun May 27, 2012 6:05 am
Forum: SGDK
Topic: music question
Replies: 14
Views: 9704

I have installed the new version of sgdk091.
I want to create rom.map after build program.Before I add command
like is:
rom.out: $(OBJ)
$(CC) -Wl,-Map=output.map -T D:/apps/GenDev/bin/md.ld -nostdlib $(LINKOBJ) D:/apps/GenDev/bin/libgcc.a -o rom.out