vaendryl / Sunrider

source code of the visual novel 'Sunrider'
http://sunrider-vn.com/
41 stars 21 forks source link

Made the upgrade window more user friendly. #32

Closed Renari closed 10 years ago

Renari commented 10 years ago

I made it so that users can add and remove upgrades while on the upgrade screen, changes are saved when the user clicks the submit button and then the changes are locked.

Screenshot: image

Here are the submit images I used as well: submit_hover submit

EnderShadow commented 10 years ago

I'd merge this, but I don't know if Vaendryl would want me to.

Renari commented 10 years ago

I don't see a reason why he would dislike it, the - button can only be used on upgrades you made while you were on the upgrade in that instance. Clicking return reverts all changes that were made unless you click submit.

EnderShadow commented 10 years ago

True. It can always be reverted if needed.

vaendryl commented 10 years ago
    idle "Menu/submit.jpg"
    hover "Menu/submit_hover.jpg"

Imma need these files too :)

EDIT: scratch that I need to learn how to read

vaendryl commented 10 years ago

I switched it around a little so that the - button appears to the right of the + button. that way you can keep clicking the same spot of you want to upgrade multiple times. I thought that was a little annoying. I also made it so that clicking 'submit' closes the screen. it seemed as though it wasn't doing anything.

apart from that, nice addition! good work, Renari :D

Renari commented 10 years ago

I also made it so that clicking 'submit' closes the screen. it seemed as though it wasn't doing anything.

Yeah I intended for it to do that although it was something I overlooked near the end. I noticed it later however.

vaendryl commented 10 years ago

As of 5.0 we'll be using a different R&D system again. sorry man.

Renari commented 10 years ago

Not a big deal I mostly did this because it bugged me when I was playing if, I see anything else that I think could be improved I'll be sure to have a go at implementing it myself.