So here's the scoop - using this script, altering it as I need. I've added a 4th window, called Window_Calendar. It's where the calendar system in my game is going to be displayed. I have the new window animating correctly, It's properly sized, however the calendar graphic refuses to display. The calendar output itself is going to be an image or icon of some sort (not just printed text,) and I'd like the graphic to scroll WITH the window as it appears. I tried to pick out some graphic display code from the Icon display this script already has, with no luck. Could somebody help me fill in the gaps? (Doesn't matter if the image is in the Icon or Picture folder, or anywhere else, as long as it works!)
Thanks in advance!
Here's my Window_Calendar:
#calendar window
class Window_Calendar < Window_Base
def initialize
super(0, 0, 170, 52)
self.contents = Bitmap.new(width - 32, height - 32)
refresh
end
#refresh
def refresh
self.contents.clear
##############################
########stuff goes in here :P########
##############################
end
#update
def update
super
if Graphics.frame_count / Graphics.frame_rate != @total_sec
refresh
end
end
end