Search found 99 matches

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: 4850

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: 88
Views: 17863

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_entry = "Blah blah bla...
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: 5336

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 call o...
by Human Bolt Diary
Sun Oct 26, 2014 6:21 pm
Forum: Ren'Py Cookbook
Topic: Encyclopaedia / Bestiary Framework
Replies: 88
Views: 17863

Re: Encyclopaedia / Bestiary Framework

I've updated the files to a new version. The code's been rewritten a bit but should retain full compatibility with the older versions. It's mostly just cleaning up based on my increased Python knowledge. The biggest change is that the flags for the "New!" status can be generated dynamically. The old...
by Human Bolt Diary
Mon Sep 01, 2014 8:41 pm
Forum: Ren'Py Cookbook
Topic: Projection Starfield
Replies: 12
Views: 3533

Re: Projection Starfield

I wasn't satisfied with the previous version as it had serious performance issues on slower machines. Version 2 below can support hundreds more stars on screen compared to the original before any slowdown occurs. Usage remains as easy as dropping the .rpy file into your project's "game" folder and f...
by Human Bolt Diary
Sun Aug 31, 2014 9:11 am
Forum: Ren'Py Questions and Announcements
Topic: Play Movie file behind menu buttons don't work! (SOLVED)
Replies: 3
Views: 560

Re: Play Movie file behind menu buttons don't work!

Read the trackback.

Hint: In Python, indentation matters. One of your lines isn't indented correctly. Re-read the code you copied.

You can figure this one out. I believe in you.
by Human Bolt Diary
Sat Aug 23, 2014 1:51 am
Forum: Development of Ren'Py
Topic: restart_interaction() called when ctc_position="fixed", why?
Replies: 0
Views: 749

restart_interaction() called when ctc_position="fixed", why?

This seems to be causing a small "blink" effect on the click-to_continue icon whenever the user clicks to continue reading. For reference: https://github.com/renpy/renpy/blob/c24b99a0a62f76bab0d25643e5f5befc5b6aa75f/renpy/character.py Inside the SlowDone class, restart_interaction() is called when t...
by Human Bolt Diary
Wed Aug 06, 2014 10:25 pm
Forum: Development of Ren'Py
Topic: Faster JSON
Replies: 5
Views: 955

Re: Faster JSON

My first thought was "How slow can the default module be?" Turns out, pretty slow. http://unethicalblogger.com/2009/12/04/on-github-and-how-i-came-to-write-the-fastest-python-json-module-in-town.html http://brett.is/writing/about/fastest-python-json-library/ https://pypi.python.org/pypi/ujson Does R...
by Human Bolt Diary
Fri May 30, 2014 7:59 pm
Forum: Ren'Py Questions and Announcements
Topic: Making a Renpy Game for Playstation or Xbox where to start?
Replies: 6
Views: 2452

Re: Making a Renpy Game for Playstation or Xbox where to sta

The short answer is: No. That's not how software works. Ren'Py just isn't made to run on those consoles. It's like putting a Blu-Ray disc in a DVD player. Sure, DVDs and Blu-Rays are both disc shaped objects and both DVD players and Blu-Ray players let you watch movies, but they're not the same thin...
by Human Bolt Diary
Mon May 19, 2014 12:41 am
Forum: Ren'Py Questions and Announcements
Topic: Perspective/Projection Transforms?
Replies: 7
Views: 2080

Re: Perspective/Projection Transforms?

Copy/Pasting the code above into a new project works as of Ren'Py 6.17.6 It was meant to be used for small images, around 100x100. Testing with a 1000x1000 image, you'll have to alter the y value of the blit to get it on screen. Of course, using a large image will cause some pretty intense slowdown,...
by Human Bolt Diary
Mon May 12, 2014 10:32 pm
Forum: Ren'Py Cookbook
Topic: Radar Chart
Replies: 7
Views: 3595

Re: Radar Chart

Ah, neat. I didn't even know about color(). I've modified it to accept both RGBa and Hex, via: try: self.data_colour = color(data_color) except: self.data_colour = data_colour My bad for not mentioning the Gnu GPL. In retrospect, it's overkill for 70 lines of code but I threw it in by habit. I was a...
by Human Bolt Diary
Mon May 12, 2014 3:35 pm
Forum: Ren'Py Questions and Announcements
Topic: Radar Plot
Replies: 2
Views: 369

Re: Radar Plot

I've made a Radar Chart, available in the cookbook section:
http://lemmasoft.renai.us/forums/viewto ... 51&t=26541

Enjoy.
by Human Bolt Diary
Mon May 12, 2014 3:34 pm
Forum: Ren'Py Cookbook
Topic: Radar Chart
Replies: 7
Views: 3595

Radar Chart

Edit: 8/11/2015: The download and documentation for this has been moved to: https://github.com/jsfehler/renpy-radarchart
by Human Bolt Diary
Sat May 10, 2014 6:21 pm
Forum: Ren'Py Questions and Announcements
Topic: Displaying two different text boxes at the same time?
Replies: 7
Views: 1576

Re: Displaying two different text boxes at the same time?

MultiCharacter looks interesting, but doesn't seem to allow the box a character is placed into to be switched on the fly. ie: Mary speaks first, putting her in the bottom box. Julia speaks second, putting her in the top box. Elizabeth comes in and speaks in the top box, and Julia responds from the b...