Search found 82 matches
- Fri Nov 08, 2013 5:33 pm
- Forum: Ren'Py Cookbook
- Topic: [tutorial] Dress up game
- Replies: 58
- Views: 47900
Re: [tutorial] Dress up game
It seems the hue system is still broken in your script : the im.MatrixColor() function should be inside the draw_char() function ; the two buttons that change the hue are inoperative. I went ahead and brought some quick changes to make all those bits of code fit together. Now, you should be able to ...
- Thu Nov 07, 2013 3:42 pm
- Forum: Ren'Py Cookbook
- Topic: [tutorial] Dress up game
- Replies: 58
- Views: 47900
Re: [tutorial] Dress up game
Here's how we define the location of the exported images : $pygame.image.save(doll.load(), os.path.join(config.basedir, "c%s.png") %(str(time.time()).replace(".", ""))) The images appear thus in the base directory . Their names start with "c" and end with &quo...
- Sun Dec 30, 2012 4:36 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Save Image in Dress Up
- Replies: 3
- Views: 1687
Re: Save Image in Dress Up
I also think Pygame is the usual way to do this kind of thing. But since it seems to be a bit trickier than I first imagined, I've posted a receipt in the original cookbook.
- Sun Dec 30, 2012 4:36 pm
- Forum: Ren'Py Cookbook
- Topic: [tutorial] Dress up game
- Replies: 58
- Views: 47900
Re: [tutorial] Dress up game
Recently, it was mentioned in another thread that exporting the character from Ren'Py to a PNG file might be interesting. Here's one way to do this... First, we'll import some modules and redefine the draw_char() functions for our purpose: import os, time, pygame def draw_char(st, at): # combine the...
- Thu Aug 23, 2012 5:41 pm
- Forum: General Discussion
- Topic: Wonderland Cosa Nostra
- Replies: 10
- Views: 3769
Re: Wonderland Cosa Nostra
I found this game very entertaining, although I think I'll pass on the "3000 total kills" achievement... :oops: I'd rather have an infinite level after the last boss than having to replay already solved levels so many times! XD @Ordog: True, this boss is tough. But I think it's more an aff...
- Thu Aug 23, 2012 3:57 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Bit of an issue with showing/hiding images
- Replies: 2
- Views: 396
Re: Bit of an issue with showing/hiding images
You have to tag your images as explained in " Displaying Images " and this tutorial . Especially, you need to put a space after the image tag. For example: image zn confus = "img/z/n/z_confus.png" image zn grin = "img/z/n/z_grin.png" (...) show zn confus at dissolve_cen...
- Fri Jul 20, 2012 6:30 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Making more than one if statement per choice
- Replies: 5
- Views: 807
Re: Making more than one if statement per choice
You can only use one "if" statement inside a menu option. But that statement can contain as many "or" operators as you wish.
You may try this:
You may try this:
Code: Select all
"I know Monica will be at the Auditorium, I should go find her." if monicaromance >=2 or monicafriendship >=2:
- Tue May 29, 2012 2:11 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Text tags in a variable?
- Replies: 4
- Views: 701
Re: Text tags in a variable?
EDIT: ACK! no! It doesn't work because {w=0.0} still causes a pause. It should work though. I noticed a minor typo in your first post that may cause this, if it's still present in your current code: $ com == ',{w=1.0}' # only one equals sign is needed here Here's an example I've tested. In your pre...
- Wed May 09, 2012 6:59 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Defining Expressions...This Should Be Simple?
- Replies: 5
- Views: 853
Re: Defining Expressions...This Should Be Simple?
"ooh, I can just make one-line expression definitions on the fly" Mmm... It's possible with the original code (in your very first post above) and a Python function. For example, add this at the end of the init python block: def show_girl(expr,e1,h1,m1): if expr=="upset": e1, h1,...
- Wed May 09, 2012 5:12 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Defining Expressions...This Should Be Simple?
- Replies: 5
- Views: 853
Re: Defining Expressions...This Should Be Simple?
Thanks, you're making this code very popular... :lol: But I think all you need is the live composite. As Ryouko said, you may simply ignore the dynamic displayable and all the related variables if you want to choose within a fixed range of expressions: init: image girl upset = LiveComposite( (326, 7...
- Tue Mar 13, 2012 3:45 pm
- Forum: General Discussion
- Topic: phpbb 3.0.10
- Replies: 6
- Views: 1366
Re: phpbb 3.0.10
In the Search menu, if I choose "display results as topics", I get this message: General Error SQL ERROR [ postgres ] ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in select list [] An SQL error occurred while fetching this page. Please contact the Board Administrator if thi...
- Sun Mar 04, 2012 2:39 pm
- Forum: General Discussion
- Topic: Please be harsh... how do I improve my website...
- Replies: 11
- Views: 2673
Re: Please be harsh... how do I improve my website...
Indeed, according to the source code, they're using a free script downloadable from http://jquery.malsup.com/cycle/ . But honestly, I prefer the way you manage this in your website. The trouble with the numbered buttons is that the reader has no idea of what will be displayed if he clicks on 1, 2, 3...
- Sat Nov 12, 2011 2:47 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to make a textbutton that jumps to a label?
- Replies: 7
- Views: 1222
Re: How to make a textbutton that jumps to a label?
And no, I've never started a topic on LemmaSoft... :lol: So far, all my posts are answers or comments and belong thus to already existing topics. So, you've been able to edit your first post twice, but adding [solved] to its subject had no effect on the topic's subject? Mmmm... I'm sorry, I have no ...
- Thu Nov 10, 2011 6:59 pm
- Forum: Anime, Games, and Japan
- Topic: The hardest but addicting game you ever played
- Replies: 54
- Views: 7177
Re: The hardest but addicting game you ever played
Amongst my favorite games, Enigma (a game similar to Oxyd, but providing many more features) has earned the place of both the hardest and the most addictive one. I've been playing it for years. Some levels are so difficult that you can't even consider solving all of them as a reasonable goal. Yet, t...
- Thu Nov 10, 2011 3:10 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to make a textbutton that jumps to a label?
- Replies: 7
- Views: 1222
Re: How to edit the topic?
Once you've logged in, an "Edit" button will appear under every post you've made. Click on the "Edit" button corresponding to the first post of this topic, where you asked your original question. The subject of the topic will now appear in a text field. Just change it and click o...