Search found 2211 matches

by Alex
Fri Apr 09, 2010 9:35 am
Forum: Ideas
Topic: Literacy Educational Game - Preview 1
Replies: 8
Views: 667

Re: Literacy Educational Game - Preview 1

Hm., strange thing - when you returns from preferences screen there will be no sound any more...the same, when you restore game from save. May be it is better to deactivate right button? or change script somehow...
by Alex
Sun Apr 04, 2010 10:46 am
Forum: Creator Discussion
Topic: Question about choices
Replies: 3
Views: 564

Re: Question about choices

Well, exactly as you showed in your example... 1. Make variables to store the results (end1, end2 or smth) 2. Change the values during game process (like <$ end1 += 1>) 3. At the end compare the values to find what ending to show init: $ end1 = 0 $ end2 = 0 label start: menu: "Run(Ending 1 +1)": $ e...
by Alex
Sun Apr 04, 2010 10:00 am
Forum: Completed Games
Topic: [Nanoreno 2010] Fuyu no Tabi
Replies: 21
Views: 8849

Re: [Nanoreno 2010] Fuyu no Tabi

Uh, that was impressive! Quite an unexpected ending ...
Music really has created a mystical atmosphere in the game. And the epilogue, shown after the final credits - it makes you go back to the story ... And it's great if you liked the story ...))
Thanks for such a game!
by Alex
Tue Mar 23, 2010 1:47 pm
Forum: Ren'Py Questions and Announcements
Topic: show current money and image map shop (edit)
Replies: 7
Views: 1258

Re: show current money and image map shop (edit)

You make one vbox for all your inventory stuff. Try different boxes for money and others. ... vbox() # for the whole inventory, it makes everything inside appears from top to bottom vbox() # for money <some code for money> ui.close() # for first box vbox() # for imagebuttons <some code> ui.close() #...
by Alex
Thu Mar 11, 2010 3:54 pm
Forum: Creator Discussion
Topic: Is it possible to manipulate the text position on screen?
Replies: 2
Views: 810

Re: Is it possible to manipulate the text position on screen

If you want to change the outlook of textbox (position on the screen, text size or color, etc.), you should change characters properties. Like $ narrator = Character(None, window_left_margin=160) this will make narrators words appear 160 pixels to the right from left side of the screen Also, you can...
by Alex
Wed Mar 10, 2010 1:41 pm
Forum: Ren'Py Questions and Announcements
Topic: Timer
Replies: 8
Views: 695

Re: Timer

It`s something like this label start: scene black $ ui.timer(30.0, ui.jumps("too_slow")) $ ui.textbutton("Press me", clicked=ui.returns(True), xalign=.6, yalign=.3) $ ui.interact() "You did it...))" return label too_slow: "... ..." return http://www.renpy.org/wiki/ui.timer
by Alex
Sun Feb 21, 2010 4:32 am
Forum: Ren'Py Questions and Announcements
Topic: list
Replies: 2
Views: 341

Re: list

Try this init: $ qs = ["how are you?","What's my favorite color"] $ pos = 0 #list index starts from 0 label start: $ words = qs[pos] # when <pos = 2> you`ll get an error, because you don`t have 3rd element in your list "Eileen" "%(words)s" $ pos+=1 jump start You can read more here http://www.renpy....
by Alex
Thu Feb 18, 2010 1:48 pm
Forum: Ren'Py Questions and Announcements
Topic: ATL Events how-to
Replies: 5
Views: 689

Re: ATL Events how-to

Random doesn`t work in init block, so just place such calculations inside start label... init python: def shuffle_letters(): letters = ['a','b','c'] renpy.random.shuffle(letters) return letters label start: $ letters = shuffle_letters() $ a = letters[0] $ b = letters[1] $ moving_button_1 = ui.textbu...
by Alex
Wed Feb 17, 2010 3:12 pm
Forum: Ren'Py Questions and Announcements
Topic: ATL Events how-to
Replies: 5
Views: 689

Re: ATL Events how-to

Totally agreed about the examples in reference... I didn`t understood a thing...(( And this is a crappy example I made: init: $ moving_button = ui.textbutton("Click me!", clicked=(ui.jumps("some_label"))) label start: scene black show expression moving_button: xalign 0.5 yalign 0.0 linear 3.0 yalign...
by Alex
Mon Feb 15, 2010 6:13 pm
Forum: Ren'Py Questions and Announcements
Topic: Pause issues
Replies: 5
Views: 587

Re: Pause issues

by Alex
Sat Feb 13, 2010 6:12 pm
Forum: Ren'Py Questions and Announcements
Topic: Values not showing up with ui.text
Replies: 7
Views: 560

Re: Values not showing up with ui.text

Oops, I was late...))
by Alex
Sat Feb 13, 2010 4:14 pm
Forum: Ren'Py Questions and Announcements
Topic: How can I put a dialogue image?
Replies: 1
Views: 338

Re: How can I put a dialogue image?

As Ren`py said, it can`t find the file, named 'frame.png' in your project`s "game" folder. So, just place such a file in this folder. (note: "Frame.png" is not the same is "frame.png")
by Alex
Sat Feb 13, 2010 4:05 pm
Forum: Ren'Py Questions and Announcements
Topic: Values not showing up with ui.text
Replies: 7
Views: 560

Re: Values not showing up with ui.text

Could you show the part of your code...