Search found 42 matches

by nintendotoad
Wed Mar 09, 2016 10:58 pm
Forum: Ren'Py Questions and Announcements
Topic: Traceback for some players on gamestart
Replies: 1
Views: 2039

Re: Traceback for some players on gamestart

It sounds like something is going wrong in your build process - specifically the archival/extraction - just as an initial guess.

https://www.renpy.org/doc/html/build.html#archives

Double-check any "build.classify(" lines in your Ren'Py code.
by nintendotoad
Thu Oct 22, 2015 4:38 pm
Forum: Ren'Py Cookbook
Topic: Renpy language support in Sublime Text
Replies: 38
Views: 14998

Re: Renpy language support in Sublime Text

My main concern is that the multi-line strings (which are used in label blocks often) aren't really working anymore, and that label blocks seem to be broken. I can take another look (I'm nolanlemahn on GitHub) eventually, but it's a little weird with both of the following being legal declarations: #...
by nintendotoad
Wed Oct 21, 2015 10:00 pm
Forum: Ren'Py Questions and Announcements
Topic: Question Concerning python imports
Replies: 2
Views: 483

Re: Question Concerning python imports

Does that work on your native python installation?

My guess is that minigamelib (the folder) also needs an __init__.py (file) because you are importing what is being treated as a module. I think it can even be empty.
by nintendotoad
Fri Sep 04, 2015 5:15 am
Forum: Development of Ren'Py
Topic: Adding "other" libraries to Ren'Py
Replies: 4
Views: 2773

Re: Adding "other" libraries to Ren'Py

It looks like for one (POSIX? Cygwin? MinGW?) reason or several others, the libraries I was looking at couldn't actually work with Ren'Py when compiled for Windows (at least in the way that I was trying to build them): https://pypi.python.org/pypi/lupa https://pypi.python.org/pypi/lunatic-python-bug...
by nintendotoad
Thu Sep 03, 2015 7:06 pm
Forum: Development of Ren'Py
Topic: Adding "other" libraries to Ren'Py
Replies: 4
Views: 2773

Re: Adding "other" libraries to Ren'Py

That's what I had figured - but:

* if I'm on Mac OS X, Ren'Py 6.99.3.404, sys.maxunicode is 1114111
* if I'm on Windows, Ren'Py 6.99.5.602, sys.maxunicode is 65535

Is this me doing something wrong (or that's to be expected, and libraries for Windows should be built against UCS2 Python)?
by nintendotoad
Wed Sep 02, 2015 4:36 pm
Forum: Development of Ren'Py
Topic: Adding "other" libraries to Ren'Py
Replies: 4
Views: 2773

Adding "other" libraries to Ren'Py

So there've been times where I wanted Ren'Py to do something somewhat odd - at this particular moment, I'd like it to be able to run lua scripts. lunatic-python-bugfix seems to allow me to do this. Ignoring the fact that I'd have to compile it for 3-4 platforms, how would I add the binaries to Ren'P...
by nintendotoad
Wed Apr 29, 2015 2:31 pm
Forum: Ren'Py Questions and Announcements
Topic: Side Image Problem ;—;
Replies: 7
Views: 994

Re: Side Image Problem ;—;

Code: Select all

define characterObject = Character("Character's Name", (...) ctc=anim.Blink("locationOfPicture.png"))
Insert your own properties and set ctc to an image as a Character property and you should be good.
by nintendotoad
Wed Apr 29, 2015 12:51 am
Forum: Ren'Py Questions and Announcements
Topic: Side Image Problem ;—;
Replies: 7
Views: 994

Re: Side Image Problem ;—;

http://www.renpy.org/doc/html/side_image.html Exactly what isn't working? :( The way that tutorial works, you'd likely need need to: A) Define your Character() to have an image B) Add your images so that the character can use them and finally C) Experiment *** # All right, let's make our player Char...
by nintendotoad
Wed Apr 15, 2015 11:37 pm
Forum: Ren'Py Questions and Announcements
Topic: Reading randomized dialogue from file [SOLVED]
Replies: 22
Views: 5743

Re: Reading randomized dialogue from file [SOLVED]

I should probably take a better look at my imports - the code runs in my testbed without "renpy." preceding the .file() call. Glad everything worked out though. :)
by nintendotoad
Wed Apr 15, 2015 3:13 pm
Forum: Ren'Py Questions and Announcements
Topic: Reading randomized dialogue from file [SOLVED]
Replies: 22
Views: 5743

Re: Reading randomized dialogue from file

# Oi! This is untested! def getYourData(): yourData = whereverYourFileHappensToBe yourData = file(yourData).read().decode("utf-8") yourData = yourData.split("\n") return yourData $ linesToSay = getYourData() $ justOneLineToSay = renpy.random.choice(linesToSay) I strongly suggest...
by nintendotoad
Mon Apr 13, 2015 5:25 am
Forum: Ren'Py Questions and Announcements
Topic: About Saving and Loading games with a customized menu
Replies: 6
Views: 908

Re: About Saving and Loading games with a customized menu

The only thing I can think of is like, maybe the label flow isn't working/correct, or the persistent value isn't being correctly set. The labels/variables seem to be the issue more than the screens. I mean, for all I know "persistent.checkpoint_5" in your example might not ever be "ma...
by nintendotoad
Sat Apr 11, 2015 9:32 pm
Forum: Ren'Py Questions and Announcements
Topic: TypeError: __call__() got an unexpected keyword argument.
Replies: 6
Views: 2930

Re: TypeError: __call__() got an unexpected keyword argument

mm_root should be a member of the theme declaration. Could you copy-paste your theme definition? It should look something likethis theme.threeD(#or theme.roundrect, or theme.a_white_tulip, or theme.tv, or....... # Color scheme: Colorblind widget = "#898989", widget_hover = "#464646&qu...
by nintendotoad
Sat Apr 11, 2015 9:10 pm
Forum: Ren'Py Questions and Announcements
Topic: About Saving and Loading games with a customized menu
Replies: 6
Views: 908

Re: About Saving and Loading games with a customized menu

Okay. So the screen itself works, but whatever your loading is trying to do is breaking... and you're doing loading with checkpoints, which means that you did change loading behavior. X_X Anyway. > $ renpy.jump(persistent.checkpoint.chapter number) What is "persistent.checkpoint.chapter number&...
by nintendotoad
Sat Apr 11, 2015 2:40 pm
Forum: Ren'Py Questions and Announcements
Topic: About Saving and Loading games with a customized menu
Replies: 6
Views: 908

Re: About Saving and Loading games with a customized menu

Did you change "screen save" and "screen load" directly, or are you changing "screen file_picker"? (Or neither?)

I can't see a reason as to why that screen code would fail, but I also don't have the shown menus in front of me.
by nintendotoad
Fri Apr 10, 2015 8:58 am
Forum: Ren'Py Questions and Announcements
Topic: Video problem[SOLVED!]
Replies: 4
Views: 502

Re: Video problem

> Well, this video is playing well on my player Ren'Py isn't interfacing with "your player" - I'm guessing it's doing "something" that makes it more inefficient than say, VLC. (Rendering other images at the same time and running python callbacks - which VLC certainly need not do,...