Scrolling Game Development Kit Forum

SGDK Version 1 => Script => Topic started by: gwal on 2005-11-15, 06:13:08 PM

Title: load image
Post by: gwal on 2005-11-15, 06:13:08 PM
On my game's load screen I'm trying to display a picture based on the map which the game was saved on. In other words, if the saved game was saved in "level2" then at the bottom of the screen "level2pic" would be displayed. Is there a way to do this with script?
Title: load image
Post by: durnurd on 2005-11-15, 07:49:38 PM
Are you talking about the picture shown in the splash screen as the game loads or within the game?  I don't know if it could even be done in the first case, but even if it could, in either case really, it would most likely involve File System accessing.

In the latter case, the load screen wouldn't show up for any period of time anyway, so that's probably not what you want (but if it is, it could probably be done using inventory and no scripting at all, or a small amount of scripting making it easier)

In the former case, I've really got no idea....Unless you did some file renaming using the File System Object on the names of the pictures you're using.
Title: load image
Post by: bluemonkmn on 2005-11-16, 06:45:28 AM
Cool -- someone might finally be able to use yet another rarely used feature of GameDev.  This is actually relatively simple (if things work the way they were designed to work).  I won't test it out myself and show you the exact details, but I'll outline the general steps you'll need to take here:
[list=1]