Search found 119 matches

by Mihara
Fri Sep 16, 2022 5:17 am
Forum: Ren'Py Questions and Announcements
Topic: Place value jumps wildly! Possible bug
Replies: 5
Views: 428

Re: Place value jumps wildly! Possible bug

You were trying to print an integer number as if it had decimals. Which is bogus so it's complaining. You can force it anyway: Replace ":.2" with ":.2f" and it will convert integers to float before trying to print them.
by Mihara
Fri Sep 16, 2022 4:12 am
Forum: Ren'Py Questions and Announcements
Topic: Place value jumps wildly! Possible bug
Replies: 5
Views: 428

Re: Place value jumps wildly! Possible bug

Just add a format specifier when actually displaying the number: $ f = 0.4 + 0.4 + 0.4 "This line limits the [f:.2] to two digits after the decimal." See https://peps.python.org/pep-3101/#format-specifiers for details. Or https://sahiljain444.medium.com/format-specifiers-in-python-601df860...
by Mihara
Fri Sep 16, 2022 2:50 am
Forum: Ren'Py Questions and Announcements
Topic: Place value jumps wildly! Possible bug
Replies: 5
Views: 428

Re: Place value jumps wildly! Possible bug

This is actually correct, funny as it sounds. See https://docs.python.org/3.9/tutorial/floatingpoint.html for a deeper discussion of the reasons, but it has to do with how floating point numbers are stored internally. $ python Python 3.8.10 (default, Jun 22 2022, 20:18:18) [GCC 9.4.0] on linux Type ...
by Mihara
Tue Sep 13, 2022 5:12 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Help with creating a dev tool for camera panning and zooming
Replies: 4
Views: 557

Re: Help with creating a dev tool for camera panning and zooming

Before anyone gets in too deep trying to figure it out, are you sure ActionEditor is insufficient for your developer needs?

https://github.com/kyouryuukunn/renpy-ActionEditor3
by Mihara
Thu Sep 08, 2022 1:57 pm
Forum: Ren'Py Questions and Announcements
Topic: Why is it impossible to go beyond the screen in the Tile class
Replies: 2
Views: 379

Re: Why is it impossible to go beyond the screen in the Tile class

I think you're actually calling a different Tile - Tile instead of im.Tile, which is the one you've cited the source of.

Either call it as im.Tile -- which is not recommended, since image manipulators are deprecated -- or:

Code: Select all

Composite((width, height), (0, 0), Tile(<displayable>))
by Mihara
Sun Aug 28, 2022 5:33 am
Forum: Ren'Py Questions and Announcements
Topic: Non-breaking slash?
Replies: 6
Views: 982

Re: Non-breaking slash?

Why not

Code: Select all

renpy.language_tailor('/',"WJ")
Where the '/' is whichever symbol that should be a non-breaking slash?
by Mihara
Wed Jan 18, 2012 8:34 am
Forum: Ren'Py Questions and Announcements
Topic: Ren'Py 6.13 Released
Replies: 122
Views: 15335

Re: Ren'Py 6.13 Released

I'm not going to hold 6.13.1 up for the soft hyphen support, but (unless I run into major problems) I'll add it in a quick 6.13.2, once 6.13.1 is available. Just tried it in 6.13.8.1675, and soft hyphens are definitely not supported yet. P.S. In case you need it, my example library still works fine.
by Mihara
Sat Sep 17, 2011 8:23 am
Forum: Ren'Py Questions and Announcements
Topic: Ren'Py 6.13 Released
Replies: 122
Views: 15335

Re: Ren'Py 6.13 Released

About a year ago, I have suggested including support for hyphenation, and now that the Text rewrite is complete and the changelog said that the Unicode linebreaking algorithm is implemented, I tried it out the first time I had a moment to spare. I tracked down a public domain implementation of Engli...
by Mihara
Sat Apr 02, 2011 12:08 pm
Forum: Development of Ren'Py
Topic: [April Fools] 6.12.1: 3D Support
Replies: 19
Views: 3529

Re: [April Fools] 6.12.1: 3D Support

Many of my best ideas ever have been born as jokes taken seriously in a "why not" fashion, often someone else's jokes. I am of the concrete opinion that this joke is also of this class, a "ha ha only serious", and firmly believe it should be implemented. People will buy 3D-capabl...
by Mihara
Fri Apr 01, 2011 7:01 am
Forum: Development of Ren'Py
Topic: [April Fools] 6.12.1: 3D Support
Replies: 19
Views: 3529

Re: 6.12.1: 3D Support

Honestly, I'm not sure that's something we want to do - certainly not by default. As a character gets further from the viewer, you would expect to see more of her. I think you'd want to change the sprite to compensate - like when a character is close, you see her from the waist up, but towards the ...
by Mihara
Fri Apr 01, 2011 2:11 am
Forum: Development of Ren'Py
Topic: [April Fools] 6.12.1: 3D Support
Replies: 19
Views: 3529

Re: 6.12.1: 3D Support

I hope that there is an option to account for the reduction of apparent object size with distance in the math somewhere without manually calculating zoom for everything.
by Mihara
Wed Oct 13, 2010 5:25 am
Forum: Development of Ren'Py
Topic: Post-6.11 Plans
Replies: 16
Views: 3145

Re: Post-6.11 Plans

There is one feature RenPy's text output is missing, for historical reasons, (Japanese doesn't do this) which I am compelled to petition for... Hyphenation. Which is particularly important if you use justified text, and which will be doubly important for the Little Witch style text bubbles, because ...
by Mihara
Mon Oct 11, 2010 2:22 am
Forum: Ren'Py Questions and Announcements
Topic: Generate Windows EXE from *.py script using RenPy method
Replies: 3
Views: 576

Re: Generate Windows EXE from *.py script using RenPy method

There's actually nothing problematic with using py2exe if you use libraries, you just need to list them all in setup.py.
by Mihara
Sun Oct 10, 2010 6:17 am
Forum: Development of Ren'Py
Topic: Ren'Py Gripes
Replies: 556
Views: 562456

Re: Ren'Py Gripes

If you really want a GUI that you can drag and drop things into, Novelty might be more up your alley. I think that overemphasising a GUI and visual editing detracts from the strengths RenPy does have, which is it's programmability.
by Mihara
Sun Oct 10, 2010 6:13 am
Forum: Development of Ren'Py
Topic: Android RenPy?
Replies: 64
Views: 12835

Re: Android RenPy?

From what I gather playing with my own android phone, the most reasonable way to go for Android would be to have the RenPy interpreter as a separate application, and package the full project into some sort of single packet file to be installed onto the sdcard in a prearranged location where the Andr...