Sceptile_Master
Member
Okay here's what's going on. I haven't used RPG Maker XP in years. Last time I used it was when everyone was using Postality Knights version but I'm glad to see there is now an official English language version. But anyhoo I thought I'd go back and have a little go of it and since I know have some small amounts of programming experience I thought I'd check the scripting as I think it would be probably better to learn by doing. So I thought I'd have a look at the title screen. I've found out how to change the words in the little window, change its opacity and position. Now the thing I want to add is icons next to the each option in the window but I'm stuck on how to do it especially since my experience was running over the basics of python ages ago. Here's what my code idea is like at the moment.
I'm probably going in the wrong direction here But I was thinking that I could specify which icon I wanted using the RPG::Cache::icon() thing but I had no idea what to put into the brackets to recieve the icon I wanted (I'm just working with the RTP btw) and then afterwards I could kind of stick it on the end of the s1 variable which probably wouldn't work anyways. Any help would be greatly appreciated.
Code:
@icon1 = Sprite.new
@icon1.bitmap = RPG::Cache.icon()
s1 = "New Game"
s2 = "Load Game"
s3 = "End Game"
@command_window = Window_Command.new(180, [s1, s2, s3])
@command_window.back_opacity = 0
@command_window.x = 535 - @command_window.width / 2
@command_window.y = 300
I'm probably going in the wrong direction here But I was thinking that I could specify which icon I wanted using the RPG::Cache::icon() thing but I had no idea what to put into the brackets to recieve the icon I wanted (I'm just working with the RTP btw) and then afterwards I could kind of stick it on the end of the s1 variable which probably wouldn't work anyways. Any help would be greatly appreciated.