How can I make a Event gallery?
Forum rules
Do not post questions here!
This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
Do not post questions here!
This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
How can I make a Event gallery?
I could make a cg gallery and music room, but i can´t figured out how to make a Event gallery or Ending gallery, if someone know how to do this, tell me
- nyaatrap
- Crawling Chaos
- Posts: 1824
- Joined: Mon Feb 13, 2012 5:37 am
- Location: Kimashi Tower, Japan
- Contact:
Re: How can I make a Event gallery?
It's easier than a gallery. Write each event labels separately and call them (call is better than calls_in_new_context IMO)
Code: Select all
label playback:
while True:
scene black with dissolve
$renpy.block_rollback()
$playbackscene=renpy.call_screen("playback_screen")
call expression playbackscene
screen playback_screen:
frame:
area (0,0,256,512) align (.5,.5)
viewport mousewheel True scrollbars "vertical":
vbox:
for i in persistent.seen_event_list:
textbutton i action Return(i)
init -2 python:
if persistent.seen_event_list==None:
persistent.seen_event_list=[]
Code: Select all
label event1:
........
if not "event1" in persistent.seen_event_list:
$persistent.seen_event_list.append("event1")
return
Re: How can I make a Event gallery?
___________nyaatrap wrote:It's easier than a gallery. Write each event labels separately and call them (call is better than calls_in_new_context IMO)Code: Select all
label playback: while True: scene black with dissolve $renpy.block_rollback() $playbackscene=renpy.call_screen("playback_screen") call expression playbackscene screen playback_screen: frame: area (0,0,256,512) align (.5,.5) viewport mousewheel True scrollbars "vertical": vbox: for i in persistent.seen_event_list: textbutton i action Return(i) init -2 python: if persistent.seen_event_list==None: persistent.seen_event_list=[]
Code: Select all
label event1: ........ if not "event1" in persistent.seen_event_list: $persistent.seen_event_list.append("event1") return
Thx arigato, You saved me
- kuri_chii
- Regular
- Posts: 69
- Joined: Sat Apr 27, 2013 10:34 am
- Completed: RHWIMY beta 1.0
- Projects: Right here where I met you, Love Snatch, Monarchy High
- Organization: VND - AWA
- IRC Nick: Kuri
- Deviantart: franzzzz002
- Skype: franz.mole
- Location: Somewhere in Asia
- Contact:
Re: How can I make a Event gallery?
how to use this codes? specific way?
The best way showing your feelings is to write Novel Stories :3
DeviantArt | Monarchy High | RHWIMY | Love Snatch
DeviantArt | Monarchy High | RHWIMY | Love Snatch
Who is online
Users browsing this forum: No registered users