Hellow everyone~
I have some questions:
1. Is it real to make dissolve-effect between idle and hover save slot? I just can't imagine how to do that...
2. Is it real to change position of save slot name? I tried to use xalign and yalign but it doesn't work at all. perfectly if i was able to put this text on center or top os save slot.
3. i don't remember, maybe add it little later
_____
I REMEMBERED third question:
3. is it real to make rounded corners of screenshot in save slot? maybe some attribute of something? in gui there was only width and height of it and google don't tell me a lot of information about it sooo help please ;_;
Questions about savescreen
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- lentlen
- Newbie
- Posts: 13
- Joined: Fri Jan 24, 2020 9:27 pm
- Completed: Shoot in the head (ru)
- Projects: Backerei
- Discord: lentlen#1606
- Contact:
Questions about savescreen
Last edited by lentlen on Wed Feb 05, 2020 12:46 am, edited 1 time in total.
Re: Questions about savescreen
2 - The incriminated area is:
Seen that VBOX thing? Practically it determine that things are rendered one after another vertically. So, first the screenshot, then the time, then the name.
Moving around the name do nothing, you should move out the text name outside the vbox.
I CAN'T TEST IT RIGHT NOW, but it should work.
Now you SHOULD be able to move things around using style properties. Mind that the button could have some strange alignement and size issue you should solve on your own, again with style properties.
3 - that's the best question I had in months.
Code: Select all
for i in range(gui.file_slot_cols * gui.file_slot_rows):
$ slot = i + 1
button:
action FileAction(slot)
has vbox
add FileScreenshot(slot) xalign 0.5
text FileTime(slot, format=_("{#file_time}%A, %B %d %Y, %H:%M"), empty=_("empty slot")):
style "slot_time_text"
text FileSaveName(slot):
style "slot_name_text"
key "save_delete" action FileDelete(slot)
Moving around the name do nothing, you should move out the text name outside the vbox.
I CAN'T TEST IT RIGHT NOW, but it should work.
Code: Select all
for i in range(gui.file_slot_cols * gui.file_slot_rows):
$ slot = i + 1
button:
action FileAction(slot)
add FileScreenshot(slot) xalign 0.5
text FileTime(slot, format=_("{#file_time}%A, %B %d %Y, %H:%M"), empty=_("empty slot")):
style "slot_time_text"
text FileSaveName(slot):
style "slot_name_text"
key "save_delete" action FileDelete(slot)
3 - that's the best question I had in months.
If you want to debate on a reply I gave to your posts, please QUOTE ME or i'll not be notified about. << now red so probably you'll see it.
10 ? "RENPY"
20 GOTO 10
RUN
10 ? "RENPY"
20 GOTO 10
RUN
- lentlen
- Newbie
- Posts: 13
- Joined: Fri Jan 24, 2020 9:27 pm
- Completed: Shoot in the head (ru)
- Projects: Backerei
- Discord: lentlen#1606
- Contact:
Re: Questions about savescreen
thanks! i should test it after workgas wrote: ↑Tue Feb 04, 2020 11:02 pm 2 - The incriminated area is:Seen that VBOX thing? Practically it determine that things are rendered one after another vertically. So, first the screenshot, then the time, then the name.Code: Select all
for i in range(gui.file_slot_cols * gui.file_slot_rows): $ slot = i + 1 button: action FileAction(slot) has vbox add FileScreenshot(slot) xalign 0.5 text FileTime(slot, format=_("{#file_time}%A, %B %d %Y, %H:%M"), empty=_("empty slot")): style "slot_time_text" text FileSaveName(slot): style "slot_name_text" key "save_delete" action FileDelete(slot)
Moving around the name do nothing, you should move out the text name outside the vbox.
I CAN'T TEST IT RIGHT NOW, but it should work.
Now you SHOULD be able to move things around using style properties. Mind that the button could have some strange alignement and size issue you should solve on your own, again with style properties.Code: Select all
for i in range(gui.file_slot_cols * gui.file_slot_rows): $ slot = i + 1 button: action FileAction(slot) add FileScreenshot(slot) xalign 0.5 text FileTime(slot, format=_("{#file_time}%A, %B %d %Y, %H:%M"), empty=_("empty slot")): style "slot_time_text" text FileSaveName(slot): style "slot_name_text" key "save_delete" action FileDelete(slot)
3 - that's the best question I had in months.
Re: Questions about savescreen
3)
add AlphaMask (FileScreenshot (slot), "alpha.png") xalign 0.5
where alphа .png the mask to trim
add AlphaMask (FileScreenshot (slot), "alpha.png") xalign 0.5
where alphа .png the mask to trim
Renpy textbook (in Russian). https://disk.yandex.ru/i/httNEajU7iFWHA (all information is out of date) Update 22.06.18
Sawa - a game of the Drow Nation
Honest Critique
Poses in visual novels, or how to hold a character properly in the frame
Help save articles to the webarchive. [/color]
Sawa - a game of the Drow Nation
Honest Critique
Poses in visual novels, or how to hold a character properly in the frame
Help save articles to the webarchive. [/color]
- lentlen
- Newbie
- Posts: 13
- Joined: Fri Jan 24, 2020 9:27 pm
- Completed: Shoot in the head (ru)
- Projects: Backerei
- Discord: lentlen#1606
- Contact:
Re: Questions about savescreen
thanks gas and Andredron, it's help a lot!
also first question still actual
also first question still actual
Who is online
Users browsing this forum: Google [Bot]