HomeForumsWhat's newResources 
 
 
does the saturn hate me?
mrkotfw - May 31, 2003
 mrkotfw May 31, 2003
check out: My Webpage...

thats what ssconv outputs, use LEFT or RIGHT to move the character.

everything compiles good

Code:
  
	TEXDEF(WIDTH,HEIGHT,0), // Bmani[]; // 1

	TEXDEF(WIDTH,HEIGHT,2880*2), // Bmani2[]; // 2

Code:
  
SPR_ATTR sprite_attr[]={

	SPR_ATTRIBUTE(0,No_Palet,No_Gouraud,CL32KRGB|ECdis,sprNoflip),

	SPR_ATTRIBUTE(1,No_Palet,No_Gouraud,CL32KRGB|ECdis,sprNoflip),

Code:
  
PICTURE sprite[]={

	PICDEF(0,COL_32K,Bmani),

	PICDEF(1,COL_32K,Bmani2),

were the tools coded to hate NESCPHP ? <_<

basicly all my sprites come all corrupted

 Djidjo Jun 2, 2003

  
	
	
CODE

TEXDEF(WIDTH,HEIGHT,0), // Bmani[]; // 1

TEXDEF(WIDTH,HEIGHT,2880*2), // Bmani2[]; // 2



The problem might come from this part. in your TEXDEF declarations, WIDTH and HEIGHT must be the width and the height of the sprite you declare (they must be a multiple of 8 IIRC), and the third number is the total size of the sprites declared before (so 0 for the first sprite, width_1st_sprite*height_1st_sprite for the second, (width_1st_sprite*height_1st_sprite)+(width_2d_sprite*height_2d_sprite) for the third and so on...))

After solving this, you might still have palette problem though...

Djidjo

 mrkotfw Jun 3, 2003
Hey Thanks, my sprites show up right...... i got a question.

i use SSCONV (WORKED but i cant do transparency. the whole box shows+character (BTW, i use the 24-bit RAW thingy)

i put: ssconv raw.raw fileout.txt TRUE C array1

and when i tried to show it up on the saturn, i see a tiny piece of it! Djidjo can you tell me please? THANKS!

and instead of TRUE i put FALSE and the sprite shows up perfect except for the border line....

 Reinhart Jun 4, 2003

  
	
	
Originally posted by nescphp@Jun 4, 2003 @ 03:42 AM

Hey Thanks, my sprites show up right...... i got a question.

i use SSCONV (WORKED but i cant do transparency. the whole box shows+character (BTW, i use the 24-bit RAW thingy)

i put: ssconv raw.raw fileout.txt TRUE C array1

and when i tried to show it up on the saturn, i see a tiny piece of it! Djidjo can you tell me please? THANKS!

and instead of TRUE i put FALSE and the sprite shows up perfect except for the border line....


in your fileout.txt, check the first hex value. Assuming this value is 0x1234, you have then to replace all occurence of 0x1234 by 0x0000.

Now, the 'box' shouldn't be here anymore

(by bad english prevent of explaining the things better ...)

 mrkotfw Jun 4, 2003
i understand, thanks!