Search found 179 matches

by mjshi
Mon Jan 12, 2015 10:28 pm
Forum: Ren'Py Questions and Announcements
Topic: Editra/Script editor question:automatically add quotations
Replies: 2
Views: 712

Re: Editra/Script editor question:automatically add quotatio

I don't think Editra has that option, but you could try pasting your code into an alternative editor like Vim then pasting it back to Editra, or-- jEdit, a default Ren'Py editor, actually has a function that will do what you want. To install jEdit, go to Preferences in the Ren'Py launcher (it's unde...
by mjshi
Sat Jan 10, 2015 1:27 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Yes/No Prompt Customization
Replies: 7
Views: 1198

Re: Yes/No Prompt Customization

I have no idea what you just did, but thank you xD

--Marked as solved.
by mjshi
Sat Jan 10, 2015 1:00 pm
Forum: Ren'Py Questions and Announcements
Topic: Problem relating to input name[SOLVED]
Replies: 5
Views: 823

Re: Problem relating to input name

Basically what philat was saying, but here's a concrete example-- init: $ playername = "Charlie" $ name_check = None c = DynamicCharacter("playername") label start: $ playername = renpy.input("Please input your name!", default="Charlie") "Hm, why don't yo...
by mjshi
Sat Jan 10, 2015 12:15 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Yes/No Prompt Customization
Replies: 7
Views: 1198

Re: Yes/No Prompt Customization

First- thank you! Second- Yes, this is the code I have, but whenever you click the windows x button it still replaces the currently occurring things-- screen yesno_prompt(message, yes_action, no_action): modal True imagemap: xalign 0.5 yalign 0.45 auto "yesno_%s.png" hotspot (98, 145, 58, ...
by mjshi
Fri Jan 09, 2015 10:06 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Yes/No Prompt Customization
Replies: 7
Views: 1198

[Solved]Yes/No Prompt Customization

Two questions about the yes/no prompt's customization-- 1) Is it possible to add a gutter/buffer for the _message? I'm getting something like- Screenshot_1.png which, frankly, doesn't look nice. 2) Is it possible to add a black background to the "Are you sure that you want to quit?" screen...
by mjshi
Fri Jan 09, 2015 8:20 pm
Forum: Ren'Py Questions and Announcements
Topic: expected statement error?
Replies: 2
Views: 499

Re: expected statement error?

Let me first say, whoa, you're going crazy with the indents there. 4 spaces is enough xD Okay, now onto the actual problem. Some of the ordering is messed up, and I recommend shorter dialogue or breaking up the really long statements a bit, just for game pace. Defines should go at the beginning of t...
by mjshi
Fri Jan 09, 2015 7:32 pm
Forum: Ren'Py Questions and Announcements
Topic: Using Multi-game persistent data
Replies: 4
Views: 2905

Re: Using Multi-game persistent data

Definitely doable, if you don't mind the saves appearing or have some way to suppress the saves(I'll need to look into that, but you seem to already have an idea, so I'll leave you be and let the more experienced coders look at it ^^), the first one is your best choice as it's a lot less hassle/reme...
by mjshi
Fri Jan 09, 2015 6:56 pm
Forum: Ren'Py Questions and Announcements
Topic: Using Multi-game persistent data
Replies: 4
Views: 2905

Re: Using Multi-game persistent data

Okay, got back to this. Read up on this: http://www.renpy.org/doc/html/persistent.html#MultiPersistent I'll break it down now-- init python: mp = MultiPersistent("demo.renpy.org") Of course, you could still use "init" and put a $ in front of the mp and it would still work. The de...
by mjshi
Fri Jan 09, 2015 6:22 pm
Forum: Ren'Py Questions and Announcements
Topic: Using Multi-game persistent data
Replies: 4
Views: 2905

Re: Using Multi-game persistent data

You could solve this with normal persistent variables- In options.rpy, set the config.save_directory = "Traditional Adventures in Scarftown-1420660909" folder names to be equal. For example, if I made a Traditional Adventures in Scarftown 2, and set the save directory to the same directory...
by mjshi
Fri Jan 09, 2015 6:12 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] "Polygon" Imagebuttons/imagemaps
Replies: 11
Views: 1853

Re: "Polygon" Imagebuttons/imagemaps

Alright, thanks to everyone who answered the original and thanks to everyone who allowed me to satisfy that bit of curiosity.

Marked as Solved.
by mjshi
Thu Jan 08, 2015 8:29 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] "Polygon" Imagebuttons/imagemaps
Replies: 11
Views: 1853

Re: "Polygon" Imagebuttons/imagemaps

Final question on this thread--- The imagebuttons, they seem to have some sort of outline around them. Is it possible to get rid of that? Otherwise, it's completely fine, it works exactly as I want it to and really I have no other complaints other than this unseemly outline. EDIT: Nevermind, paint p...
by mjshi
Thu Jan 08, 2015 7:25 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] "Polygon" Imagebuttons/imagemaps
Replies: 11
Views: 1853

Re: "Polygon" Imagebuttons/imagemaps

@philat: Thank you so much! That's exactly what I was looking for, but I didn't know I was looking for that, exactly xD @xavimat: Don't worry, I drew the example "button" quickly in MS paint as well :P Thanks for the demonstration, it was extremely helpful. --last (unrelated) question, in ...
by mjshi
Wed Jan 07, 2015 10:40 pm
Forum: Ren'Py Questions and Announcements
Topic: Spaces in dynamic characters?
Replies: 3
Views: 756

Re: Spaces in dynamic characters?

A general rule of thumb, variables can't have spaces/periods (unless you're doing a parent/child variable) or they'll throw up an error. Try: define t = DynamicCharacter("msteacher", color="#4DB8DB") init: $ msteacher = "Ms. Teacher" label start: $ msteacher = "???...
by mjshi
Wed Jan 07, 2015 9:41 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] "Polygon" Imagebuttons/imagemaps
Replies: 11
Views: 1853

Re: "Polygon" Imagebuttons/imagemaps

@Dragonstar89: Hm, that seems like a valid temporary solution, but if the hover image for the "start" button was: Untitled.png there'd be problems with random white patches when hovering over a certain part of the button. @Pytom: by "a pair of imagebuttons" do you mean a set of ...
by mjshi
Wed Jan 07, 2015 4:43 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] "Polygon" Imagebuttons/imagemaps
Replies: 11
Views: 1853

[Solved] "Polygon" Imagebuttons/imagemaps

http://lemmasoft.renai.us/forums/viewtopic.php?f=8&t=7940 Did a quick google beforehand, found something from five (it's been so long xD) years ago on it. I'm interested in how, in particular, to "fake" a polygon hotspot, such as if I had buttons that were like Untitled.png and I didn'...