The Dink Network

title-01

October 2nd 2010, 06:31 AM
burntree.gif
hell7fire1
Peasant He/Him Botswana
It's like that. 
i have a 84X128 image i want to make it my dmods title
what should i change the lines in start to
October 2nd 2010, 06:42 AM
slimeg.gif
metatarasal
Bard He/Him Netherlands
I object 
It depends on what you want exactly. The title-01 file is just a sprite that is placed on the screen, so you'll have to place it like a sprite. Since the file you have is not a full 800x600 resolution you'll first have to select the background color (because the title is not going to fill up the entire screen). By default this background is black:

fill_screen(255);

This is the code that places the title screen on the screen:

&dinklogo = create_sprite(426,344, 0, 453, 1);
sp_que(&dinklogo, -800);
sp_noclip(&dinklogo, 1);

The exact position can be modified by choosing different x and y coordinates (426 and 344 by default).

EDIT: You could also check out the scourger, it also has a title screen less than 800x600. At the time I didn't see the point in making a huge black sprite if you could get away with only using 13% of it...
October 2nd 2010, 06:44 AM
burntree.gif
hell7fire1
Peasant He/Him Botswana
It's like that. 
i can make it bigger but it wont fit the exact size that is in the start script
(modify is not working)
October 2nd 2010, 06:59 AM
slimeg.gif
metatarasal
Bard He/Him Netherlands
I object 
You want to make the sprite fill up the entire screen? You do realize that you'll have to stretch the sprite along the x axis by over 100% right? You'll end up with a sprite that looks very strechted out. I'd definitely recommend going with a different sprite in that case.

And if you do want to resize a title screen sprite I recommend doing that in a program like gimp or photoshop, that will give you a much better result. As far as I know Dink can't resize a sprite specifically over one axis.
October 2nd 2010, 07:09 AM
burntree.gif
hell7fire1
Peasant He/Him Botswana
It's like that. 
i use gimp
i see what you mean but now something very,very,very weird has happened
i opened windinkedit+ to see what the new x&y coordinates should be
and the sequence is not there(there is empty space blue (so is the computer telling me it cant find the sprite?))
October 2nd 2010, 07:20 AM
burntree.gif
hell7fire1
Peasant He/Him Botswana
It's like that. 
ok i see what was wrong my image is a JPEG image
how do change it in to a bitmap
October 2nd 2010, 07:53 AM
burntree.gif
hell7fire1
Peasant He/Him Botswana
It's like that. 
i got it to work with another image i was able to transform
but i think i will try make the first one work