Customised Shop Scene

I'm here on behalf of a community game that is being created. So far we've a really neat working demo and we're all excited to get this done. We have a few people who know how to script a little, but we don't have someone who can do heavier scripting. That, in a nutshell, is why we're asking for help in this.

Basically the project has 30 characters. Currently the shop scene is pretty bare:

408cl9G.png


The window size is 640x416.

Now, what we'd like is a little complicated. Here's a mock-up and I'll walk through the details:

WgEftwM.png


So on the left would be the same shop window. On the right we'd have three rows of ten sprites set out as so:-

- Black silhouette for characters not yet found.

- Greyed out sprite for characters who cannot equip the current item.

- Coloured characters for those who can equip the current item.

When you choose the item (that is, confirm on it for the first time) instead of asking for an amount, the cursor would jump to the right over the first coloured sprite available (by-passing any greyed-out or silhouettes between).

Hitting left or right will cycle through the current coloured sprites.

Each one selected at this time would have their stats show in the window at the bottom.

The stats would show the numerical differences between the current type of armour/weapon on the character vs the one highlighted to purchase.

Hitting confirm will take you to the default amount scene and continue with default buying from there on. Hitting the cancel button will take you back to the item list.

I really hope that's easy to understand. Please, ask questions if you need anything clarified. We do realise that this might be a very hard to create script. We really appreciate anyone who tries to help. Like, seriously, thank you if you even read this topic!

Here's a list of our current scripts. If you need to see the scripts in question just ask and I'll provide them (some of them were made by the initial scripter who since passed the game one).

Spoiler
Craze's Custom Damage Method
Craze's FF Style Cast Names
Craze's Script Asylum - Regrowth Options v1.02
Craze's Script Asylum - Elemental Merger v1.01
Craze's Script Asylum - Elemental Booster v1.01


Yanfly Engine Ace
Ace Battle Engine
Ace Party Sized Menu
Ace Equip Engine v1.06
Ace Party System v1.08
Ace Status Menu v1.02
Ace System Options v1.00
Ace - Base Troop Events
Ace - Battle Engine Add-On: Elemental Popups v1.00
Ace - Battle Command List v1.08
Ace - Party System Add-On: Command Party v1.01
Ace - Victory Aftermath v1.03
Ace - Passive States v1.02
Ace - Skill Cost Manager v1.02
Ace - Target Manager v1.03
Ace - Cast Animations v1.00
Ace - Follow-Up Skill v1.01
Ace - Steal Items v1.03
Ace - Move Restrict Region v1.02
Ace - Swap Monsters v1.00
Ace - Lunatic States v1.02
Ace - Lunatic States Package - Punishment v1.01

Mr. Bubble's Blue Magic
Hime's Variable Max Level
NeonBlack's No AutoShadows

Also included is a modified gold window to show "Soul Power" and the level cap, and a "Window_GoldB" which is just a secondary normal gold window I made because the aforementioned one didn't fit in the shop window.
Thank you for your time and I'm really looking forward to any help.
liberty why won't you use luna engine?
Because I don't know how and I haven't got it. ;p~<3
Is Luna out? 
Not that I know of. There-in lies an issue. XP
She's not but I always offered it to her as a tester and she keeps forgeettting ;3;
I like the Ys Menu of Luna Engine, I'm using it.
I am forgetful. It's a curse I will bear for ever. Please support me, sempai~<3
It's okay Kouhai, sempai is always here for you~
;.; Sempai is best sempai. Kouhai is lucky ;^; I will make sempai proud!
Sounds like fun. If no one has gotten to this beforehand, I'll most likely tackle this on my day off tomorrow. 🙂


Quick question: I noticed healing and barrier as stats in your mockup. Are they repurposed sp or ex parameters or are they entirely new? And once you meet a character, do they stay in the party for the rest of the game?
I'll check with the lead dev and get back to you. I think she's off atm.

I just checked myself. The Healing and Barrier stat are repurposed MDef and Luck stats from the look of things. As far as I know the characters stay with you all the way through - the idea is to collect them to open up new areas so I don't think there'll be any removal of characters from the party.

Hope that helps and thanks for your time! 😀

Edit: Double confirmation:

Barrier is just a renamed Magic Defense, and Healing is a re-purposed Luck, but re-worked to affect healing magic. Craze deserves the credit for both of those, btw ^_^

And I had no plans of removing any of the Souls from the party; once they joined, I figured they'd be there for the rest of the game.
Sweet, both those answers make my life easier. 🙂 New questions!


1) For the greyed out/blackened sprites, are you okay with using a separate sprite sheet for these (like same sprite name but just in a folder named grey or black or something like that), or would you like me to look into having the editor recolor them on the fly? I was aiming towards the first one initially, but it seems all the tone setting which is what I was looking to use applies to individual sprites and not bitmaps.


2) What do you want to do with the stats window before you select a character? Show the stat change of last selected/first character on the list or perhaps just show the stats of the item itself? (Defense +6 for example)


3) You mention using the left/right keys to select a character, but how do you want to handle the up/down keys? Disable them or make them go down and then the next available actor to the right or something along those lines?


4) Do you need any changes to the sell window made? By default, it shows the right status window when you select an item to sell.


5) Since you're selecting an actor before buying, any plans for an auto-equip/"Would you like to equip this?" feature?
1) For the greyed out/blackened sprites, are you okay with using a separate sprite sheet for these (like same sprite name but just in a folder named grey or black or something like that), or would you like me to look into having the editor recolor them on the fly? I was aiming towards the first one initially, but it seems all the tone setting which is what I was looking to use applies to individual sprites and not bitmaps.

Either way is fine, really, so whichever is easier on you is fine by us. The sprite sheets would be easy enough for us to set up but if you think the recolour would be easier for you or more intuitive then that works fine as well.

2) What do you want to do with the stats window before you select a character? Show the stat change of last selected/first character on the list or perhaps just show the stats of the item itself? (Defense +6 for example)

Showing the stats of the items would be great, if you can swing it. Would that also show Features or just show the default stats? Either way, it's better than my initial idea which was blank window. XD

3) You mention using the left/right keys to select a character, but how do you want to handle the up/down keys? Disable them or make them go down and then the next available actor to the right or something along those lines?

My thought was initially to disable them but if it's not too much trouble to code, then perhaps your suggestion would work too. It'd make things a lot easier when the full cast is added, too, instead of having to scroll through each character to get to someone in the middle layer. If it's not too much trouble, then up/down as well, please. ^.^

4) Do you need any changes to the sell window made? By default, it shows the right status window when you select an item to sell.

I totally forgot about the selling window. It'd be nice if there were a way to indicate if the weapon/armour being sold was better than what a certain character had equipped. Perhaps the sprites with the same as the buy menu (greyed out if unable to equip, coloured if can equip and silhouette if not obtained) but with some sort of indication if the item has better stats. (I'm not sure what - maybe a certain colour tint to the sprites? Like, green for better and red for worse? Or an arrow up/down? Maybe walking animation if better?) If that's possible then yes please! Otherwise, it's okay. ^.^

5) Since you're selecting an actor before buying, any plans for an auto-equip/"Would you like to equip this?" feature?

Well, I was originally going to ask for something like that but I thought it might make things a bit too complicated. But if it's not too much hassle, would it be possible to allow it so that you can choose between multi-buy and equip-buy? Multibuy being able to purchase an amount and have them added to items, equip-buy just equipping to that character and putting their old stuff in the items. Would that be feasible?

Original thread: https://forums.rpgmakerweb.com/threads/customised-shop-scene.26190/