Search found 121 matches

by RicharDann
Sat Apr 20, 2019 8:39 am
Forum: Ren'Py Questions and Announcements
Topic: RPG Battle System in Ren'Py
Replies: 5
Views: 184

Re: RPG Battle System in Ren'Py

Well at a glance your code seems pretty well thought, what you currently have is already a great start! A small suggestion I can make, and it's probably something you'd figure out eventually, is that you add and 'xp_give' attribute for your enemy class, so once the player wins you can increase their...
by RicharDann
Tue Jan 09, 2018 10:20 am
Forum: Ren'Py Questions and Announcements
Topic: Maximum points? PLS help me.
Replies: 3
Views: 292

Re: Maximum points? PLS help me.

Adding on to what mikolajspy suggests, I do recommend the function approach as I know it works wonderfully. One question though, shouldn't you use global in the function to change the values? init python: def Add_luck(n): global r_luck, r_max #? r_luck += n if r_luck > r_max: r_luck = r_max That is,...
by RicharDann
Thu Jan 04, 2018 10:07 am
Forum: Ren'Py Questions and Announcements
Topic: Using "show text" with cps
Replies: 6
Views: 549

Re: Using "show text" with cps

Remix wrote:
Wed Jan 03, 2018 4:48 pm

Code: Select all

        add Text(txt, slow_cps=0.5)
Ah I see now, I was trying to do that but I was passing a wrong parameter, cps instead of slow_cps. I'll better remember that. Thanks a lot Remix!
by RicharDann
Wed Jan 03, 2018 12:53 pm
Forum: Ren'Py Questions and Announcements
Topic: Using "show text" with cps
Replies: 6
Views: 549

Re: Using "show text" with cps

I think that using show text converts text into an image, so that's why cps doesn't work. Not entirely sure about that though. I tried text with cps in a screen and it didn't work either. So it seems cps only works with spoken dialogue, that is, text being displayed by RenPy's Character objects. So ...
by RicharDann
Wed Jan 03, 2018 12:24 pm
Forum: We are a Free Project looking for Partners
Topic: The Redemption Game [ Horror/Mystery Visual Novel] Looking for a team!
Replies: 1
Views: 562

Re: The Redemption Game [ Horror/Mystery Visual Novel] Looking for a team!

I'm interested in this, since I've wanted to work on a Danganronpa style game for a while now... I've sent you a PM.
by RicharDann
Thu Dec 21, 2017 10:25 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Text Input Screen?
Replies: 2
Views: 442

Re: Text Input Screen?

You need to use screen input to allow the player to write into the game. Maybe create a variable (or better yet, an object) to hold wathever they write. A very rough example: default note = "" #This is the notebook screen screen notebook_screen(): frame: background "notebook_page.jpg" #This would be...
by RicharDann
Wed Dec 20, 2017 12:10 pm
Forum: Ideas
Topic: VN Concept- Dancing
Replies: 2
Views: 421

Re: VN Concept- Dancing

I'm not particularly a fan of dancing but I have great respect for it, dancers are very passionate and hard-working people, in that they have to keep up with intense training, diets and such, but at the same time, they enjoy every second of it and performances are always a great deal of fun as much ...
by RicharDann
Wed Dec 20, 2017 10:25 am
Forum: Ren'Py Questions and Announcements
Topic: Trying to Create an Achievements Checklist Screen
Replies: 5
Views: 1020

Re: Trying to Create an Achievements Checklist Screen

It should be possible using vpgrid . You could create an image for each achievement and display them in the vpgrid, using if statement to check if achievement is unlocked or not. Or, if you are skilled in Python and Ren'Py, you could make use of a list of containers (like an hbox), to display with t...
by RicharDann
Tue Dec 19, 2017 9:53 am
Forum: Ren'Py Questions and Announcements
Topic: How to disable History (temporarily)[SOLVED]
Replies: 2
Views: 234

Re: How to disable History (temporarily)

xavimat wrote:
Tue Dec 19, 2017 9:35 am
BTW... cps=4??? Really???
Oops, of course not, that should be 40, or 50 actually, I kinda fly typed that without paying attention, sorry. :oops:

Anyway thanks, that's what I was looking for.
by RicharDann
Tue Dec 19, 2017 9:27 am
Forum: Ren'Py Questions and Announcements
Topic: How to disable History (temporarily)[SOLVED]
Replies: 2
Views: 234

How to disable History (temporarily)[SOLVED]

There are ceirtain dialogues in my game I don't want to appear in the History screen. For example something like: a "She's not exactly your type of girl in my opinion." #This line should appear in History as normal a "{size=14}{cps=50}Besides, if you want to date someone, you already got m...{nw}" #...
by RicharDann
Mon Dec 18, 2017 4:30 pm
Forum: Ren'Py Questions and Announcements
Topic: Change picture/expression?
Replies: 9
Views: 359

Re: Change picture/expression?

It's very unlikely that lag occurs due to 'invisible' images on screen, it's actually the opposite, the more stuff is being showed the more the game might lag. Even then, Ren'Py rarely lags unless you're using a really slow PC, or if you're displaying an unreasonable amount of images, animations and...
by RicharDann
Mon Dec 18, 2017 10:18 am
Forum: Ren'Py Questions and Announcements
Topic: Can RenPy read the players data? (Name)
Replies: 9
Views: 1373

Re: Can RenPy read the players data? (Name)

This seems to work on Windows at least:

Code: Select all

label start:

    python:
        import os

        user = os.environ.get('username')

    "Hello there, [user]."
by RicharDann
Mon Dec 18, 2017 9:57 am
Forum: Ren'Py Questions and Announcements
Topic: Is it possible for the script to recognise game files?
Replies: 9
Views: 732

Re: Is it possible for the script to recognise game files?

Yes, all of that should be possible. It was made in DDLC, remember?

Probably using persistent data and some sort of flag check. Many ways to go about this.
by RicharDann
Fri Dec 15, 2017 12:23 pm
Forum: Ren'Py Questions and Announcements
Topic: Is it possible for the script to recognise game files?
Replies: 9
Views: 732

Re: Is it possible for the script to recognise game files?

To be honest, I'm not really an expert or anything, I just know stuff that I've learned here by asking questions in this forum, reading the Ren'Py Documentation that I linked to, studying other people's games and code, and practicing myself. There's an entire section of the forum here: https://lemma...
by RicharDann
Fri Dec 15, 2017 11:19 am
Forum: Ren'Py Questions and Announcements
Topic: Is it possible for the script to recognise game files?
Replies: 9
Views: 732

Re: Is it possible for the script to recognise game files?

Yes, that ceirtainly should be possible. You can check "if this file exists" in any point of the game you want. But note the script will not be constantly checking if the file exists (it could, but that could cause problems). That code I wrote however doesn't do anything as is, it's just an example....