Search found 85 matches
- Mon Oct 29, 2012 3:41 am
- Forum: Sound
- Topic: z80 vgm player
- Replies: 34
- Views: 45430
Thanks for your answer kubilus1. You are right, the OST of the games i have try are about 8mb. I have downloaded and checked Deflemask but i have no idea about music edition or creation. I look for an option to import audio and save as vgm but i cant find it either in the software or the help. I jus...
- Sun Oct 28, 2012 9:15 am
- Forum: Sound
- Topic: z80 vgm player
- Replies: 34
- Views: 45430
Great job kubilus1. I am begining with genesis coding and learning SGDK and your driver is a great help for me. I have tested a pair of tracks downloaded from http://project2612.org in some emulators, replacing the tracks from the example in the files with my tracks after executing bin2c on them , b...
- Fri Sep 07, 2012 11:08 am
- Forum: SGDK
- Topic: Help converting sprites to MD
- Replies: 20
- Views: 13319
Manveru Its all pretty simple. Look to my pseudocode. VDP_loadTileData (void, NUMBER_OF_INDEX_TO_LOAD_DATA, void, void); sonic.sp_sonic1.tile_attr = TILE_ATTR_FULL (void, void, void, void, NUMBER_OF_INDEX_TO_READ_DATA_FROM); sonic.sp_sonic1.link = LINK_NUMBER_TO_NEXT_SPRITE_TO_DRAW; VDP_setSpriteP ...
- Thu Sep 06, 2012 5:32 pm
- Forum: SGDK
- Topic: Help converting sprites to MD
- Replies: 20
- Views: 13319
I had read that and i tried with and without >>8 because i wanted to test if the issue has been fixed since wiki was written. For me both work well. I am re-reading all wiki and now i see i really do not understand how the data in the bmp file go to the SpriteDef var. I am trying to use 2 bmp files ...
- Thu Sep 06, 2012 4:32 pm
- Forum: SGDK
- Topic: Help converting sprites to MD
- Replies: 20
- Views: 13319
It works!!! thanks lingh, you are my herolingh wrote:Manveru
ChangetoCode: Select all
sonic.nbTiles = sp_parent_sonic.count;
Code: Select all
sonic.nbTiles = (sp_parent_sonic.width >> 3) * (sp_parent_sonic.height >> 3);
I thought .count was the number of frames in sprite, it worked well with the wiki code.
- Thu Sep 06, 2012 4:08 pm
- Forum: SGDK
- Topic: Help converting sprites to MD
- Replies: 20
- Views: 13319
resources.rc SPRITE sp_parent_sonic "data/sonic.bmp" 32 32 0 0 main.c typedef struct { SpriteDef sp_sonic; u16 nbTiles; u8 status; u8 frame; int speed, count; u8 flags; } hedgehog; struct genresSprites { u16 *pal; u32 **sprites; u16 count; u16 width; u16 height; u16 size; }; extern struct genresSpri...
- Thu Sep 06, 2012 3:51 pm
- Forum: SGDK
- Topic: Help converting sprites to MD
- Replies: 20
- Views: 13319
Thanks lingh, now i can make transparences on sprites and Gimp seems to work...well maybe, this is my sprite sheet (160x32, 5 frames 32x32) http://img17.imageshack.us/img17/1734/misonic32x32.png and this is what i get on an emu (5 frames the same result): http://img201.imageshack.us/img201/6479/emu....
- Thu Sep 06, 2012 2:56 pm
- Forum: SGDK
- Topic: Help converting sprites to MD
- Replies: 20
- Views: 13319
Thanks guys. I was beginning to think the maximun size is 32x32, thanks for confirm oofwill. No need to apologize KanedaFr, thanks for your work, do it when you can. I am learning working on a Sonic game and sonic sprites are about 29x39 so i will use 2 sprites as oofwill said. By the way i tried to...
- Thu Sep 06, 2012 2:30 am
- Forum: SGDK
- Topic: Help converting sprites to MD
- Replies: 20
- Views: 13319
Thanks ammianus. I have tried sixpack but it is a bit difficult for me. I tested it converting a bmp various times but it didn't work, surely i was doing something wrong. I have read about an easy and intuitive tool called ImaGenesis. It seems nice but when i convert my bmp to 4bpp and i load it in ...
- Wed Sep 05, 2012 3:54 pm
- Forum: SGDK
- Topic: Help converting sprites to MD
- Replies: 20
- Views: 13319
Help converting sprites to MD
Hello everyone. I am Spanish and my English is not very good so apologize me. I began a few days ago a new adventure with SGDK, and after i had been using libraries like Fenix/Bennu or Allegro some time ago, i discovered i am a nooby coding for Genesis. I had done and made some trials will all the w...