Search found 1250 matches
- Fri Jul 25, 2014 12:02 pm
- Forum: Ren'Py Questions and Announcements
- Topic: is faster Sprites or CustomDisplayable? (very technical!)
- Replies: 16
- Views: 2410
Re: is faster Sprites or CustomDisplayable? (very technical!
I would suggest not re-rendering identical tiles. Keep a dictionary of the tiles you've already rendered this redraw, keep the render and just blit it multiple times. Other than that, I'm not really sure.
- Thu Jul 24, 2014 12:35 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Strange variable behaviour
- Replies: 19
- Views: 2072
Re: Strange variable behaviour
Before I read the following post: a = b copies b if b is immutable, but creates a reference to b if b is mutable I don't buy this (at all), in python a = b will never copy anything, mutability is irrelevant. It's a simplified explanation. I had a more detailed explanation that went into this in the...
- Thu Jul 24, 2014 10:52 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Strange variable behaviour
- Replies: 19
- Views: 2072
Re: Strange variable behaviour
Mutable types have reference semantics, immutable types have value semantics. sp is mutable, amount is immutable a = b copies b if b is immutable, but creates a reference to b if b is mutable (well, creates a reference to whatever b is a reference to, because mutable variables are always references...
- Wed Jul 23, 2014 11:34 am
- Forum: Ren'Py Questions and Announcements
- Topic: Is it possible to make two story in one VN
- Replies: 4
- Views: 841
Re: Is it possible to make two story in one VN
Edit screens.rpy, go down to screen main_menu, duplicate the "Start Game" button and give the new one Start("last_episode") or something. This will cause the game to start at 'label last_episode:' instead of 'label start:' when this new button is clicked.
- Wed Jul 23, 2014 10:53 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Strange variable behaviour
- Replies: 19
- Views: 2072
Re: Strange variable behaviour
Try changing renpy.call to renpy.call_in_new_context. I don't think anything after the 'call' is running.
EDIT: Hmm, the context switch would probably screw up your transitions though, since it should hide the screen I think?
EDIT: Hmm, the context switch would probably screw up your transitions though, since it should hide the screen I think?
- Wed Jul 23, 2014 9:51 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Strange variable behaviour
- Replies: 19
- Views: 2072
Re: Strange variable behaviour
Mind showing us how cast_spell is called?
- Wed Jul 23, 2014 2:37 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to pass a parameter in an image?
- Replies: 2
- Views: 1914
Re: How to pass a parameter in an image?
How can you pass a parameter in an image like passing parameters for transforms? Is there any way to access a variable inside an image declaration? image test(numRepeats=0): "image1" pause .3 "image2" pause .3 repeat numRepeats You can't, at least not as far as stuff that's docu...
- Tue Jul 22, 2014 11:18 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Variables with code causing errors?
- Replies: 6
- Views: 1028
Re: Variables can't have code? (Trying to simplify some writ
No, [] interpolation is fine for this and you shouldn't use old-style interpolation if you can avoid it. Hm okay :) That's one of MY problems I always have, I have a hard time telling what is outdated and what is current. Just today I was fiddling with layers and the documentation said there are th...
- Tue Jul 22, 2014 10:37 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Variables with code causing errors?
- Replies: 6
- Views: 1028
Re: Variables can't have code? (Trying to simplify some writ
No, [] interpolation is fine for this and you shouldn't use old-style interpolation if you can avoid it. Anyway, your code works fine for me. This is why you should always post the _EXACT_ code you are using and all of it, sufficient to reproduce the problem. It is a logical fallacy to presume that ...
- Tue Jul 22, 2014 3:06 am
- Forum: Old Threads (– September 2014)
- Topic: 'Award Winning' Composer... riiiight...
- Replies: 5
- Views: 1304
Re: 'Award Winning' Composer... riiiight...
Wow, your work is incredible. Could you give us some idea of what your rates are, just so we know if our projects are even in the right ballpark.
- Tue Jul 22, 2014 1:12 am
- Forum: Personal Art Threads
- Topic: Do you think these sprites are too Anime style?
- Replies: 2
- Views: 1136
Re: Do you think these sprites are too Anime style?
I would call them VN-style/manga-style. I wouldn't refer to them as anime-style art (anime-style is very distinct; it's not just a simplification, it's a very practiced kind of simplification that makes the high-quality tweening work they do feasible), but I know a lot of people refer to all manga a...
- Mon Jul 21, 2014 11:00 pm
- Forum: Creator Discussion
- Topic: Prices too High???
- Replies: 11
- Views: 1528
Re: Prices too High???
Those prices seem extremely reasonable to me given the level of quality, but I don't know what other factors commissioners have to consider. I don't think they're too high, though- from what I've seen in terms of price lists they seem quite competitive in that quality bracket. I don't know why there...
- Mon Jul 21, 2014 10:59 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Python equivalent of 'show'
- Replies: 2
- Views: 334
- Mon Jul 21, 2014 7:51 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] sprites and zorder
- Replies: 5
- Views: 660
Re: sprites and zorder
Testing this, the new ball always appears behind the rightmost ball. Isn't this what you want?
Perhaps try updating your version of Ren'Py.
Perhaps try updating your version of Ren'Py.
- Mon Jul 21, 2014 6:59 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] sprites and zorder
- Replies: 5
- Views: 660
Re: sprites and zorder
you don't appear to be updating number_balls in that code. Does it have the right value after balls_sprites.append?