Seconded. Actually, it would be nice if you could select which to use by setting a config value, but I doubt it's that easy when readback requires a special type of Character.DaFool wrote:Depends on the game.
Search found 84 matches
- Wed Jun 27, 2007 4:09 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Rollback vs. Readback / Log Mode
- Replies: 14
- Views: 3323
- Tue Jun 26, 2007 11:02 am
- Forum: Ren'Py Questions and Announcements
- Topic: I need help for a "life indicator"
- Replies: 17
- Views: 3252
This isn't quite the same, but you could probably play with it to get what you want. For instance, instead of ui.vbox() ... ui.close() you might use:
Code: Select all
ui.bar(range=max_love_points,value=my_love_points,
xpos=0.5,ypos=0.02,xanchor=0.5,yanchor=0.0)
- Mon Jun 25, 2007 11:18 am
- Forum: Ren'Py Questions and Announcements
- Topic: Playing sounds with text
- Replies: 5
- Views: 1610
- Sun Jun 24, 2007 8:45 am
- Forum: Ren'Py Questions and Announcements
- Topic: Putting the menu on the left, or in the center, as needed
- Replies: 6
- Views: 2362
You could try something like this: init: python: # add a choice button to the list def menu_choice(text,label): ui.textbutton(text,clicked=ui.jumps(label)) # display a customized menu def custom_menu(choices, align=0.5): # choices is a list of tuples # align is 0.0, 0.5, 1.0 for left, center, right ...
- Sat Jun 23, 2007 10:20 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Animated main/game menus
- Replies: 11
- Views: 2182
I've changed the design a little (mostly aesthetic) and now have: def enter_button(pos,delay,d): start=(pos[0],1.0,pos[2],0.0) return MoveIn(start,pos,delay)(d) def leave_button(pos,delay,d): end=(pos[0],1.0,pos[2],0.0) return MoveOut(end,pos,delay)(d) slide_button_out =MoveTransition(0.5, leave_fac...
- Sat Jun 23, 2007 5:24 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Animated main/game menus
- Replies: 11
- Views: 2182
You'd want to use a Move, instead. Duly noted, also changed Position -> tuple. return Move(start, pos, delay)(d) So it was a matter of un-currying... Now I have def drop_button(pos,delay,d): start=(pos[0],0.0,pos[2],pos[3]) return MoveIn(start,pos,delay)(d) Which works fine, except that it seems to...
- Sat Jun 23, 2007 4:20 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Animated main/game menus
- Replies: 11
- Views: 2182
After a few trials (and errors), I've ended up with the following code: init python: def drop_button(pos,delay,d): start=Position(pos[0],0.0) return MoveTransition(start,pos,delay,child=d) #... config.end_splash_transition = MoveTransition(0.5, enter_factory=drop_button) But I receive this error mes...
- Sat Jun 23, 2007 2:47 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Animated main/game menus
- Replies: 11
- Views: 2182
You make it look so easy!!! XD The same technique could be used for any transition, then? I'd like to have, say, each button drop from behind the one above it. def drop_button(pos,delay,d): start=pos start.yposition-=d.height return Move(start,pos,delay,child=d) config.some_transition = MoveTransiti...
- Sat Jun 23, 2007 10:21 am
- Forum: Ren'Py Questions and Announcements
- Topic: Animated main/game menus
- Replies: 11
- Views: 2182