Search found 111 matches

by Human Bolt Diary
Mon Nov 20, 2017 10:54 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved] SideImage... seriously, how can this be so complicated?
Replies: 7
Views: 781

Re: [solved] SideImage... seriously, how can this be so complicated?

The documentation has a 100% working example. Of course, you need to provide your own images. If you feel the documentation did not describe Side Images in a way you found understandable, I encourage you to edit the docs with your own description and submit it as a Pull Request. Or, if you're less c...
by Human Bolt Diary
Thu Nov 16, 2017 11:15 pm
Forum: Development of Ren'Py
Topic: Using Ren'Py, and frustrations... which might be possible to fix?
Replies: 5
Views: 1194

Re: Using Ren'Py, and frustrations... which might be possible to fix?

I can try to address these points, but to be honest this doesn't seem like very constructive criticism at the moment. 1. What do you mean by markup, specifically? Is there a specific syntax you're looking for? What would you want to see implemented? What does the before and after look like? 2. Can y...
by Human Bolt Diary
Wed Nov 15, 2017 12:02 am
Forum: Ren'Py Cookbook
Topic: Convert Python(.py) files to Ren'Py(.rpy)
Replies: 2
Views: 2476

Convert Python(.py) files to Ren'Py(.rpy)

If you happen to want to convert files from pure Python to Ren'Py Python, I've written a script to do that. This may be of use to people who want to write .py files while developing, documenting, and testing, but ultimately want the finished product to be available in Ren'Py without the use of impor...
by Human Bolt Diary
Wed Jul 19, 2017 7:58 pm
Forum: Development of Ren'Py
Topic: Bug: Sets in dictionaries not using RevertableSet
Replies: 1
Views: 812

Re: Bug: Sets in dictionaries not using RevertableSet

I recommend you file this issue in the Ren'Py bug tracker: https://github.com/renpy/renpy/issues This PR related to Sets would, I'm fairly certain, fix your issue: https://github.com/renpy/renpy/pull/1037 You could probably extract the part of those changes that adds the visit_Set function if you re...
by Human Bolt Diary
Mon Jun 19, 2017 7:13 pm
Forum: Ren'Py Questions and Announcements
Topic: Syntax Error, Persona-like social link system
Replies: 2
Views: 796

Re: Syntax Error, Persona-like social link system

Code: Select all

    if librank = 1:
should be:

Code: Select all

if librank == 1:
Equality checking uses "==".
by Human Bolt Diary
Tue Feb 21, 2017 11:25 am
Forum: Development of Ren'Py
Topic: ISAWHIM's Wishlist
Replies: 18
Views: 2681

Re: Ren'Py 6.99.12 Released

You can add following code if you prefer lowercase names: init -999 python: true = True false = False Slick... What about the new replace function that I thought I saw RenPy has? Didn't catch how to use it, but I think it said it does a "replacement", prior to compile, of all text? (Wasn'...
by Human Bolt Diary
Wed Feb 01, 2017 12:49 am
Forum: Ren'Py Cookbook
Topic: Encyclopaedia / Bestiary Framework
Replies: 118
Views: 55953

Re: Encyclopaedia / Bestiary Framework

Thank you, daikiraikimi , it works! The last one question and I'll finally leave you: could you help me with sub-entry text? After unlocking sub-entries appears in the next pages by default, but I want them appearing in the end of main entry's text block, without any pages. Like this: "Main en...
by Human Bolt Diary
Thu Sep 01, 2016 10:10 am
Forum: Ren'Py Questions and Announcements
Topic: Glitch: global variable corruption on "show"
Replies: 8
Views: 1336

Re: Glitch: global variable corruption on "show"

Based on the code you wrote, you are very much a python beginner. That's not an insult; you don't fully understand the semantics or features of the language. I also don't understand what you're trying to do here, other than it somehow involves Transform. Are you trying to accomplish some form of ani...
by Human Bolt Diary
Thu Aug 25, 2016 8:32 am
Forum: Ren'Py Cookbook
Topic: Mirrage/Heat Shimmer/Kagerou Effect Displayable
Replies: 11
Views: 7873

Re: Mirrage/Heat Shimmer/Kagerou Effect Displayable

You feel like getting crazy? Let's get crazy. init python: import math from itertools import cycle sin = math.sin class Mirage(renpy.Displayable): def __init__(self, image, width=0, height=0, amplitude=0, wavelength=0, **kwargs): super(renpy.Displayable, self).__init__(**kwargs) # Cut image into sca...
by Human Bolt Diary
Thu May 05, 2016 10:32 am
Forum: Ren'Py Cookbook
Topic: Simple RPG Battle Framework A.K.A Sheepstorm
Replies: 21
Views: 15700

Re: Simple RPG Battle Framework A.K.A Sheepstorm

Advice: Follow the PEP8 guidelines for your python code. This will make things easier to read, more maintainable, and easier for other people to work on. Generally, try to be more consistent with your style, even if you deviate from PEP8. eg: Your fighter class init python: class fighter: def __init...
by Human Bolt Diary
Mon Apr 25, 2016 11:12 pm
Forum: Ren'Py Cookbook
Topic: Radar Chart
Replies: 7
Views: 4748

Re: Radar Chart

http://img1.ak.crunchyroll.com/i/spire3/1914e62ce3485cac6bf79e13d81a9a6b1457453767_full.png This bird has flown. Literally. Anyway, I'm going to attempt fixing around automatically updating the max_value to avoid the spike thing. :lol: I've updated RadarChart to v0.2.1. There's a few changes you'll...
by Human Bolt Diary
Tue Aug 11, 2015 11:10 pm
Forum: Ren'Py Cookbook
Topic: Radar Chart
Replies: 7
Views: 4748

Re: Radar Chart

I've made a whole bunch of enhancements to this displayable, and thrown it up at: https://github.com/jsfehler/renpy-radarchart

It should be much more usable now.
by Human Bolt Diary
Fri Aug 07, 2015 7:36 am
Forum: Ren'Py Questions and Announcements
Topic: Adding pygame in renpy (Using renpygame framework)
Replies: 4
Views: 8452

Re: Adding pygame in renpy (Using renpygame framework)

If you're desperate to get renpygame working on renpy 6.99 , open up renpygame/__init__.py and comment out the following lines: Overlay = pygame.Overlay import renpygame.cursors This will get the demo working, at the very least. Of course, if your game needs either of those two, you're out of luck. ...
by Human Bolt Diary
Tue Apr 21, 2015 10:08 pm
Forum: Ren'Py Cookbook
Topic: Encyclopaedia / Bestiary Framework
Replies: 118
Views: 55953

Re: Encyclopaedia / Bestiary Framework

Off the top of my head, if you create the entry data in an init block, it'll get set each time the game starts. If you create the entry data outside, it should save if you update it. So you could do something like: a_entry = "Blah blah blah" a "Hamburgers? Love 'em." python: a_en...
by Human Bolt Diary
Thu Apr 16, 2015 6:25 pm
Forum: Ren'Py Cookbook
Topic: Mirrage/Heat Shimmer/Kagerou Effect Displayable
Replies: 11
Views: 7873

Re: Mirrage/Heat Shimmer/Kagerou Effect Displayable

Interesting. To be fair, I plundered the scanline code from: http://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=15329 I played around with this a bit, and made some changes to reduce the strain this places on the CPU. The first thing I did was remove the makeScanlines function, getting the ca...