Search found 88 matches

by Eliont
Mon Jan 24, 2011 7:49 am
Forum: Ren'Py Questions and Announcements
Topic: Prevent bar who with viewport from reseting
Replies: 0
Views: 241

Prevent bar who with viewport from reseting

Following code works, but after interaction and rebuilding layout viewport's bar reseting at start. uiat(0.02,0.02,0.0,0.0) ui.side(('c', 'l'), spacing=5) vp = ui.viewport(draggable=False, mousewheel=True, xmaximum=400, ymaximum=700, child_size=(400, 2000)) with ui.vbox(): for key in char.armor: ui....
by Eliont
Mon Jan 24, 2011 7:33 am
Forum: Ren'Py Questions and Announcements
Topic: smarter way to do anims? :)
Replies: 3
Views: 455

Re: smarter way to do anims? :)

Source on russian here. Create animation in automatic mode Define Animate_From_List (TransitionAnimation) class Animate_From_List(renpy.display.core.Displayable): """ A displayable that draws an animation with each frame separated by a transition. """ def __init__(self, animlist, **properties): """...
by Eliont
Sat Dec 18, 2010 11:57 am
Forum: Ren'Py Questions and Announcements
Topic: Couple of effects
Replies: 2
Views: 302

Re: Couple of effects

1) "as" statement helps you. Or define one image file twice with different names and create effect.

2) im.Crop. Define three images - full, and two cropped. To create effect -
a) hide full
b) show cropped
c) move cropped
by Eliont
Mon Oct 11, 2010 1:51 am
Forum: Ren'Py Questions and Announcements
Topic: Generate Windows EXE from *.py script using RenPy method
Replies: 3
Views: 381

Generate Windows EXE from *.py script using RenPy method

Please, what method use RenPy engine to create windows executable files?
I want use it with my script (if curious see thread "work with net").
It use many libraries so use py2exe will be very problematic.
by Eliont
Thu Sep 09, 2010 9:49 am
Forum: Ren'Py Questions and Announcements
Topic: Call associated function on button release (not click)
Replies: 0
Views: 321

Call associated function on button release (not click)

It possible? Some buttons have three states - idle,hover,clicked. But clicked don't shown becаuse buttons disappear when clicked immediately. In example - my ImageButton class in Tkinter GUI (Python 2.7). class Imagebutton(tk.Label): def __init__(self,widget,idle=None,hover=None,click=None,cmd=None,...
by Eliont
Thu Aug 19, 2010 8:49 pm
Forum: Ren'Py Questions and Announcements
Topic: Work with net
Replies: 5
Views: 491

Re: Work with net

Minibrowser to prewiev and download pictures posted on forums from image hosting.
Get page->analyse->grab links->filter links with images->download thumbnail (image hostings always create it), on demand - download full image.
Currently i made script using Tkinter.
by Eliont
Thu Aug 19, 2010 8:25 am
Forum: Ren'Py Questions and Announcements
Topic: Work with net
Replies: 5
Views: 491

Re: Work with net

Yes. And this too.
But i want use RenPy Engine as GUI, like PQt or Tkinter.
It's much easier and more comfortable - no problem with layouts, images, encodings and many other.
Also in this case no need in inconvenient py2exe and pyinstaller - windows exe file will be created by engine.
by Eliont
Thu Aug 19, 2010 6:00 am
Forum: Ren'Py Questions and Announcements
Topic: Work with net
Replies: 5
Views: 491

Work with net

Work with net - it posible?
I mean Internet, not 'localhost'.
by Eliont
Fri Aug 13, 2010 9:56 am
Forum: Ren'Py Questions and Announcements
Topic: Strange RenPy error
Replies: 1
Views: 395

Strange RenPy error

File renpy.exe.txt Exception in thread Thread-1: Traceback (most recent call last): File "threading.pyo", line 460, in __bootstrap File "threading.pyo", line 440, in run File "C:\RENPY\renpy\loadsave.py", line 312, in autosave_thread File "C:\RENPY\renpy\loadsave.py", line 153, in save File "C:\RENP...
by Eliont
Sat Aug 07, 2010 2:11 pm
Forum: Ren'Py Questions and Announcements
Topic: stop the animation
Replies: 2
Views: 368

Re: stop the animation

Thank you very much, it works.
by Eliont
Sat Aug 07, 2010 1:39 pm
Forum: Ren'Py Questions and Announcements
Topic: stop the animation
Replies: 2
Views: 368

stop the animation

Please, how to prevent repeat of anim.TransitionAnimation, like loop = False in anim.Filmstrip?
by Eliont
Mon Jul 26, 2010 4:38 am
Forum: Ren'Py Questions and Announcements
Topic: Local fade (transition)
Replies: 2
Views: 470

Re: Local fade (transition)

Thanks, exactly what i need. renpy.transition(Dissolve(0.3)) at_coords (unit[pointer].pos[0],unit[pointer].pos[1],0.5,1.0) ui.image(im.MatrixColor(ImageReference(unit[pointer].sprite),im.matrix.brightness(1))) ui.pausebehavior(0.3) ui.interact() renpy.transition(Dissolve(0.3)) at_coords (unit[pointe...
by Eliont
Sun Jul 25, 2010 4:55 am
Forum: Skill Development
Topic: [Jul 17-23]Deji's weekly themed practice thread
Replies: 60
Views: 4323

Re: [Jul 17-23]Deji's weekly themed practice thread

Deji, Wonderful "Ishtera World" - it is your artworks?
by Eliont
Sun Jul 25, 2010 4:48 am
Forum: Ren'Py Questions and Announcements
Topic: Local fade (transition)
Replies: 2
Views: 470

Local fade (transition)

Pleas, how to do it? When i use dissolve - all right, it affect only character sprite. When fade - transition play fullscreen. If use renpy.transition(Fade(0.5,0,0.5,widget=ui.image(ImageReference(unit[pointer].sprite),xpos=0.5,ypos=0.5))) at first sprite (without transparency) shown on left top cor...