title-01
i have a 84X128 image i want to make it my dmods title
what should i change the lines in start to
what should i change the lines in start to
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:
This is the code that places the title screen on the screen:
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...
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...
i can make it bigger but it wont fit the exact size that is in the start script
(modify is not working)
(modify is not working)
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.
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.
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?))
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?))
ok i see what was wrong my image is a JPEG image
how do change it in to a bitmap
how do change it in to a bitmap
i got it to work with another image i was able to transform
but i think i will try make the first one work
but i think i will try make the first one work