Chaos Project

RPG Maker => Tutorials => Topic started by: nathmatt on February 05, 2009, 05:35:58 pm

Title: how to add percentage to your save game
Post by: nathmatt on February 05, 2009, 05:35:58 pm
add this in Window_SaveFile
self.contents.draw_text(4, 40, 130, 32, "%" ,2)
self.contents.draw_text(4, 40, 110, 32, $game_variables[99].to_s ,2)
self.contents.draw_text(4, 0, 150, 32, $game_variables[98].to_s ,2)

right below this line 73
self.contents.draw_text(4, 40, 600, 32, time_string, 2)

then u just use the variable i have 99 as the percentage & use 98 as name
just use this code
$game_variables[98] ='name of chapter'


Screenshots

Spoiler: ShowHide
(http://i184.photobucket.com/albums/x287/nathmatt/screenshot.jpg)
Title: Re: how to add percentage to your save game
Post by: G_G on February 05, 2009, 06:33:49 pm
Its actually pretty helpful. Though there is a similar script called Chaos Project's Save Layout. There is chatpers in there but can easily be edited to display percentage.

Anyways power up
Title: Re: how to add percentage to your save game
Post by: Tazero on February 05, 2009, 06:35:07 pm
Power up for effort and simplicity ;=D
Title: Re: how to add percentage to your save game
Post by: nathmatt on February 05, 2009, 07:36:06 pm
added chapter & moved the percentage some to make it look better
Title: Re: how to add percentage to your save game
Post by: Reno-s--Joker on February 06, 2009, 01:34:35 am
Neat! :D This could be pretty useful, and certainly spiffy! :XD:
*powers up* :P