I Wanna Community

Fangames => Game Design => Programming Questions => Topic started by: GalacticHooloovoo on July 10, 2015, 12:55:38 PM

Title: Making Title Screen Show Stats For Saves?
Post by: GalacticHooloovoo on July 10, 2015, 12:55:38 PM
Hello!

I've been trying to make fangames for a couple weeks now, but I cannot figure out how to make the title screen show the stats (such as death count and time) under the save file, like a lot of other fangames do.

If anyone's wondering, yes I am a noob when it comes to programming, so please don't be mean to me!  :denRin:

Thanks!
Title: Re: Making Title Screen Show Stats For Saves?
Post by: Kyir on July 10, 2015, 10:14:22 PM
I don't remember the variable names, but look in the script for saving for whatever is tracking deaths and time, and then use draw code to create it at an appropriate place on the loading screen.
Title: Re: Making Title Screen Show Stats For Saves?
Post by: klazen108 on July 11, 2015, 12:46:52 AM
What engine are you using? Most (if not all) should be displaying the stats on the file select screen for you already. Like Kyir says, the variables you're looking for will look something like global.death[j] and global.time[j], where j is 1,2 or 3 depending on which save file you want to look at. Check for a titleButton object, or a menuSelect object, and you should see those variables being populated in the create event. If you give us some more detail we can help pinpoint what you need!
Title: Re: Making Title Screen Show Stats For Saves?
Post by: pieceofcheese87 on July 11, 2015, 06:21:06 AM
I've come across this problem a lot when downloading japanese engines (and decompiling games)

If you have the same problem as I think you're having, try opening up the "Fonts" folder in game maker and double clicking/confirming all the fonts in there.
Title: Re: Making Title Screen Show Stats For Saves?
Post by: BaronBlade on August 15, 2015, 12:49:04 AM
Sorry if this is necroposting, but I'm having this problem as well. I tried to play the default map, but the fonts didn't show up there either, even for the avoidance timer. All of the fonts called exist in the folder and seem to be set up properly, so I have no clue what's wrong.
Title: Re: Making Title Screen Show Stats For Saves?
Post by: lawatson on August 15, 2015, 01:49:26 AM
I think that the fix is simply redefining the fonts, as maybe they're seen as undefined by the game if left unchanged. Just mess around and click something for each font and it should work.
Title: Re: Making Title Screen Show Stats For Saves?
Post by: BaronBlade on August 15, 2015, 07:51:09 PM
I tried this, but the fonts still won't show up.  :atkCry: I honestly have no clue why it's not working.
EDIT: I'm using Yuuutu engine, btw