Search found 71 matches

by renpyhelp
Thu Apr 26, 2018 12:46 am
Forum: Ren'Py Questions and Announcements
Topic: Scrollable automatic journal entries?
Replies: 16
Views: 2468

Re: Scrollable automatic journal entries?

Looks like [journal_entry_number] updates the previous Journal Entries to the same number.
So each entry is displayed as #3 if the variable is 3
by renpyhelp
Wed Apr 25, 2018 11:14 pm
Forum: Ren'Py Questions and Announcements
Topic: Scrollable automatic journal entries?
Replies: 16
Views: 2468

Re: Scrollable automatic journal entries?

Ah! That is exactly what I needed! I didn't know you could append text through simple quotes like that. Works great! I am still learning renpy and very new to coding in general, but I do what I can. You're extensive help has eased a lot of headache. Thank you SO very much kivik. EDIT: Cancel the que...
by renpyhelp
Wed Apr 25, 2018 6:41 pm
Forum: Ren'Py Questions and Announcements
Topic: Scrollable automatic journal entries?
Replies: 16
Views: 2468

Re: Scrollable automatic journal entries?

What I meant was that I want the text to be displayed in the order I manually append it. So it can be put in any order. So if there was 5 entries, it could be put as 5/3/2/4/1, 1/2/5/3/4, etc. Here is the full code I currently use frame: background "transparent.png" side "c r": a...
by renpyhelp
Wed Apr 25, 2018 4:07 pm
Forum: Ren'Py Questions and Announcements
Topic: Scrollable automatic journal entries?
Replies: 16
Views: 2468

Re: Scrollable automatic journal entries?

Your code doesn't actually reference k in the loop - so it'll loop through the m_journal however many times its length, and output the text "This is the first journal entry" "This is the second journal entry". If m_journal is a list of strings, then just put: for k in m_journal:...
by renpyhelp
Tue Apr 24, 2018 11:02 pm
Forum: Ren'Py Questions and Announcements
Topic: Scrollable automatic journal entries?
Replies: 16
Views: 2468

Re: Scrollable automatic journal entries?

Update: I use this code for the journal entry, but it doesn't work quite right. background "transparent.png" # or use any semi-transparent image you like side "c r": area (365, 157, 557, 437) viewport id "vp": draggable True vbox: for k in m_journal: # iterate the list ...
by renpyhelp
Tue Apr 24, 2018 6:33 pm
Forum: Ren'Py Questions and Announcements
Topic: Scrollable automatic journal entries?
Replies: 16
Views: 2468

Re: Scrollable automatic journal entries?

I completely forgot the original code posted used text instead of an image! I’ll defintely try that tonight. Thank you much!
by renpyhelp
Tue Apr 24, 2018 12:07 am
Forum: Ren'Py Questions and Announcements
Topic: Scrollable automatic journal entries?
Replies: 16
Views: 2468

Scrollable automatic journal entries?

Thanks to remix's help I was able to have an in-game text system via pictures with this code: default conversations = [] # once a convo is unlocked, we append it to this list screen a(): vbox: for k in conversations: # iterate the list in correct order text "convo_{}".format( k ) label sta...
by renpyhelp
Fri Apr 13, 2018 7:19 pm
Forum: Ren'Py Questions and Announcements
Topic: Display character text when clicking on an image button?
Replies: 5
Views: 569

Re: Display character text when clicking on an image button?

Still not sure how to show text within a screen. imagebutton: idle "girlsphone_g" hover "girlsphone_h" xpos 635 ypos 478 action Call ("test_test") label test_test: p "This is a test." If I put a Call to the action, it removes the screen that was shown, includi...
by renpyhelp
Fri Apr 13, 2018 6:15 pm
Forum: Ren'Py Questions and Announcements
Topic: Display character text when clicking on an image button?
Replies: 5
Views: 569

Re: Display character text when clicking on an image button?

screen scene_girlstexts: modal True imagemap: ground "girlstexts_g" hover "phone_1_h" alpha False hotspot (659, 652, 72, 35) action [Hide("scene_girlstexts"), Show("scene_girlsphone")] activate_sound "sounds/se_click2.ogg" imagebutton: idle "gi...
by renpyhelp
Fri Apr 13, 2018 5:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Display character text when clicking on an image button?
Replies: 5
Views: 569

Display character text when clicking on an image button?

Currently I have an image button on a screen that opens up an interactive phone [Show("girls_phone")] I then have another image button that when clicked, I need it to displays a characters text. example: p "I'm talking right now." Currently, any way I get it to show text, it remo...
by renpyhelp
Fri Apr 13, 2018 5:19 am
Forum: Ren'Py Questions and Announcements
Topic: In-game phone texts: Text list shown by order of unlocked?
Replies: 8
Views: 832

Re: In-game phone texts: Text list shown by order of unlocked?

That worked! and looks simple too. Thank you very much. I felt like this was totally possibly but couldn't rap my head around it. Mostly because I'm still getting used to everything. Again, thank you. Will make everything so much more simpler. The original code you posted is nice to. Will definitely...
by renpyhelp
Fri Apr 13, 2018 4:45 am
Forum: Ren'Py Questions and Announcements
Topic: In-game phone texts: Text list shown by order of unlocked?
Replies: 8
Views: 832

Re: In-game phone texts: Text list shown by order of unlocked?

Here is my Full Code of the frame... frame: background "transparent.png" # or use any semi-transparent image you like side "c r": area (543, 70, 302, 574) viewport id "vp": draggable True vbox: for k in range(1,3): # start, end+1 $ image_ref = "convo_{}".forma...
by renpyhelp
Fri Apr 13, 2018 4:36 am
Forum: Ren'Py Questions and Announcements
Topic: In-game phone texts: Text list shown by order of unlocked?
Replies: 8
Views: 832

Re: In-game phone texts: Text list shown by order of unlocked?

default convo_1 = True default convo_2 = True screen a(): vbox: for k in range(1,3): # start, end+1 $ image_ref = "convo_{}".format(k) if globals().get( image_ref, False ): text image_ref label start: show screen a ... change the -- text image_ref -- to -- image image_ref -- I used text f...
by renpyhelp
Fri Apr 13, 2018 3:45 am
Forum: Ren'Py Questions and Announcements
Topic: In-game phone texts: Text list shown by order of unlocked?
Replies: 8
Views: 832

Re: In-game phone texts: Text list shown by order of unlocked?

I’ll suggest you use a python list for this. When an image is unlocked you add the image to the list, this way whichever image is unlocked first will come first. Then loop through the list on your screen and it’ll show all the unlocked images. Let me know if you need example code but you should be ...
by renpyhelp
Fri Apr 13, 2018 1:48 am
Forum: Ren'Py Questions and Announcements
Topic: In-game phone texts: Text list shown by order of unlocked?
Replies: 8
Views: 832

Re: In-game phone texts: Text list shown by order of unlocked?

Is there a way to have the images show based on which variable is higher? So... if convo_2 == 1 and convo_1 == 2 it would show image "convo_2" first, then "convo_1" Just want images or text to be shown first depending on the order they "unlocked"... At this moment, Conv...