Search found 17 matches

by Katherine
Wed Dec 28, 2016 3:22 pm
Forum: Ren'Py Questions and Announcements
Topic: How do i make fonts change with the point value from choices
Replies: 2
Views: 344

Re: How do i make fonts change with the point value from cho

I've tried that and no matter where I put the if statements it doesn't seem to work.
by Katherine
Thu Dec 22, 2016 7:57 pm
Forum: Ren'Py Questions and Announcements
Topic: How do i make fonts change with the point value from choices
Replies: 2
Views: 344

How do i make fonts change with the point value from choices

Alright. What I am trying to do is make the dialogue font change when a certain type of point value is true after choice in a gam I am making. here is an example code: "This is Diamonaire font." menu: "Choice one" $ Sanity_Point -= 20 "This should now use Sakred font" "Choice 2." $Sanity_Point -=60 ...
by Katherine
Thu Dec 08, 2016 12:30 am
Forum: Ren'Py Questions and Announcements
Topic: Changing fonts with changing point values
Replies: 9
Views: 722

Re: Changing fonts with changing point values

I have attached the "script.rpy" here. Just put this file to the project, it should work. This is all I can do now, unless I see what you actually done to the script. I just can't managed to replicate the error you have at all to generate the error on every single lines like that. Okay is there som...
by Katherine
Mon Dec 05, 2016 10:53 am
Forum: Ren'Py Cookbook
Topic: Events for specific names
Replies: 4
Views: 2298

Re: Events for specific names

okay I tried this using my own names and got the following error: I'm sorry, but an uncaught exception occurred. While running game code: File "game/script.rpy", line 89, in script if name == "other": File "game/script.rpy", line 89, in <module> if name == "other": NameError: name 'name' is not defi...
by Katherine
Mon Dec 05, 2016 1:13 am
Forum: Ren'Py Cookbook
Topic: Events for specific names
Replies: 4
Views: 2298

Re: Events for specific names

You write Poop and the game tells you you're immature and you go back to the name menu Push it to the next level. Set: define persistent.worthless = False ...... if player.name == "Poop" or player.name == "poop": p "You're immature. I don't want to talk to you anymore!" $ persistent.worthless = Tru...
by Katherine
Mon Dec 05, 2016 12:43 am
Forum: Ren'Py Questions and Announcements
Topic: Changing fonts with changing point values
Replies: 9
Views: 722

Re: Changing fonts with changing point values

okay it seems to want to work after downloading the script and putting it the start. I have no idea why it wouldn't work before. Thank you so much! you have no idea how much I wanted this feature.
by Katherine
Sat Dec 03, 2016 7:00 pm
Forum: Ren'Py Questions and Announcements
Topic: Changing fonts with changing point values
Replies: 9
Views: 722

Re: Changing fonts with changing point values

I literally copied your code and put it into an empty script to try to get it to work with no other text but I still get all those errors.
by Katherine
Sat Dec 03, 2016 2:20 pm
Forum: Ren'Py Questions and Announcements
Topic: Changing fonts with changing point values
Replies: 9
Views: 722

Re: Changing fonts with changing point values

Assuming that you want to change dialogue font. default Sanity_Point = 90 init python: def change_font(font_path): style.say_dialogue.font = font_path style.rebuild() def set_sanity_point(value): Sanity_Point = value if Sanity_Point >= 90: change_font("fonts/Diamonaire.ttf") elif Sanity_Point >= 50...
by Katherine
Sat Dec 03, 2016 12:47 pm
Forum: Ren'Py Questions and Announcements
Topic: Changing fonts with changing point values
Replies: 9
Views: 722

Changing fonts with changing point values

I'm trying to program to where the text font changes with the value of a players points throughout a game. I'm having a bit of trouble trying to understand how to do that. here is the code I have in the script of the game: $ Sanity_Points = 90 while Sanity_Points >= 10: font == fonts\Phantex.ttf whi...
by Katherine
Fri Dec 02, 2016 2:28 am
Forum: Ren'Py Cookbook
Topic: [Tutorial]Adding a Love Meter Bar
Replies: 40
Views: 26531

Re: [Tutorial]Adding a Love Meter Bar

okay this might sound stupid but say I want the bar to be vertical on the side of the screen . . . is there a different coding I would use or would I have to work with a different graphic?
by Katherine
Wed Nov 30, 2016 2:26 pm
Forum: Ren'Py Cookbook
Topic: [Tutorial]Adding a Love Meter Bar
Replies: 40
Views: 26531

Re: [Tutorial]Adding a Love Meter Bar

hey is there a way to make the bar be constantly visible?
by Katherine
Tue Nov 15, 2016 10:27 am
Forum: Creator Discussion
Topic: Font change mid game
Replies: 1
Views: 434

Font change mid game

I'm working on a game and I was wondering if it was possible to change the font mid-game based on the mood of the setting, an example would be as the players morale points got lower that the font would get more cryptic and old (at certain plot points it would check the points and change the font)but...
by Katherine
Mon Oct 31, 2016 5:55 pm
Forum: Ren'Py Questions and Announcements
Topic: Unknown error. I honestly have no idea how to code for games
Replies: 5
Views: 456

Re: Unknown error. I honestly have no idea how to code for g

From what I can see, a return statement is missing. Mind posting your code? I also recommend learning a bit of things from video tutorials you can find around the web. They are archaic, but helpful. # Common code for _start and _start_replay. label _start_store: python hide: store.main_menu = False...