Randomized title screen?
I have been wondering, is it possible to randomize the title screen? Basically, each time you start a mod, a different title screen shows up. So far I have tried to do it by myself using the random command, but no luck whatsoever, since a white screen shows up.
I don't see why not. It should. Just create multiple title screens and use a random command in start.c. I don't see why it would not be working for you. Are you sure you added the new title images in Dink.ini? You could also try the same random command somewhere else in the game and see if it works there, to confirm there's nothing wrong with that part of the script.
It's doable, made use of randomly selected main menu backgrounds.
Unless you mean the "Loading" image.
That's what I have for the titlescreen image in start.c right before the button creation lines, but after the mouse pointer lines.
Unless you mean the "Loading" image.
int &r = random(4, 1); &dinklogo = create_sprite(426,344, 0, 453, &r); sp_que(&dinklogo, -800); sp_noclip(&dinklogo, 1);
That's what I have for the titlescreen image in start.c right before the button creation lines, but after the mouse pointer lines.