Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Adding text at bottom of loading screen

A topic by Garry Francis created Sep 13, 2019 Views: 99 Replies: 3
Viewing posts 1 to 4
Submitted

If you use a loading screen, you just get the loading screen image and nothing else. That's not very user-friendly. Can I add a line of text at the bottom to say "Press Enter to start game" (or something similar)?

Alternatively, is it acceptable to delete the loading_screen line and show the image manually in the on_startup{} section? Something like:

: print_graphic "loading_screen";
: print "Press any key to start";
: press_any_key;

(I'm writing this during lunch at work, so I'm not able to try it myself at the moment.)

Host

This is low priority but noted. Please add the message at the bottom of your loading screen image for now. Likely won't be resolved before the end of the jam.

Submitted

The behaviour is inconsistent. If I delete "loading_screen = loading_screen" at the beginning of the code, I get the default Adventuron Classroom logo at the top of the screen with a message saying "Click to continue..." and the animated yellow cursor. That's fine. All I want to do is replace the logo, as you previously said we had to do that anyway.

If I leave "loading_screen = loading_screen" and use my own loading_screen image, I get my loading screen centred vertically on the screen, but no message. Could it be that the centred image is obscuring the message? Is it possible to force my image to be at the top of the screen, rather than centred? Is there any way to skip the loading screen completely and handle everything in on_startup{}?

Just asking in case there's a suitable workaround.

Host

Click to continue is simply the default message if there is no loading screen. Centring a graphic is easier if there is no text to consider in the vertical centring operation, especially when dealing with something like a centred 4:3 screen. Shifting it upward by the amount of text might look jarring, especially if the art is in a modern style and the text is in a retro style. I realise that a bit more of a hint is probably required here. Let me stew on this.