Search found 111 matches
- Sat Feb 12, 2011 2:24 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Draw something over the screen
- Replies: 2
- Views: 428
Re: Draw something over the screen
Thanks, i did it. renpy.show("icon",what=Image("hero.png"),at_list=[Move((xs,ys,0.5,0.5),(xf,yf,0.5,0.5),0.5)],layer='screens',zorder=9) renpy.pause(0.5) renpy.hide("icon",layer="screens") But why sprite before move blinking in up-left corner? And sometimes mo...
- Sat Feb 12, 2011 11:12 am
- Forum: Ren'Py Questions and Announcements
- Topic: Draw something over the screen
- Replies: 2
- Views: 428
Draw something over the screen
I have screen-overlay, but when i draw sprites, he shown under the screen.
Please, how to draw something over/above the screen?
Please, how to draw something over/above the screen?
- Tue Feb 08, 2011 10:44 pm
- Forum: Development of Ren'Py
- Topic: Ren'Py 6.12.0 Pre-Released
- Replies: 73
- Views: 12774
Re: Ren'Py 6.12.0 Pre-Released
config.overlay_functions.append(stats) def stats(): if current: ui.remove('control_panel') ui.tag('control_panel') #drav unit control panel... if u.id is active: #if currently selected unit - active unit u.menu.draw() #draw unit menu #... Buttons: class BattleActionMenu(object): def __init__(self,f...
- Tue Feb 08, 2011 2:10 pm
- Forum: Development of Ren'Py
- Topic: Ren'Py 6.12.0 Pre-Released
- Replies: 73
- Views: 12774
Re: Ren'Py 6.12.0 Pre-Released
Please, how interact with overlays in this version?
In Ren'Py 6.10.2 ("Fixing a Hole") it works normal, but now click to overlay buttons have no effect in spite of buttons looks active.
Perhaps ui.interact can't receive ui.returns value from buttons?
In Ren'Py 6.10.2 ("Fixing a Hole") it works normal, but now click to overlay buttons have no effect in spite of buttons looks active.
Perhaps ui.interact can't receive ui.returns value from buttons?
- Sun Jan 30, 2011 3:57 am
- Forum: Development of Ren'Py
- Topic: Ren'Py 6.12.0 Pre-Released
- Replies: 73
- Views: 12774
Re: Ren'Py 6.12.0 Pre-Released
Please, return utf-8 support.
now has no effect - game crash with "UnicodeEncodeError".
Also in previous vesion (6.11.2) does't work interaction with overlays - button shown, but ui.interact can't receive return value from button in overlay.
Code: Select all
sys.setdefaultencoding('utf-8')
now has no effect - game crash with "UnicodeEncodeError".
Also in previous vesion (6.11.2) does't work interaction with overlays - button shown, but ui.interact can't receive return value from button in overlay.
- Fri Jan 28, 2011 2:30 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [answered] How to make date appear onscreen
- Replies: 10
- Views: 1236
Re: Make a new stat window
Alex, big thanks, your example exactly what i need in my game. Yuuki, this is full example (partially from my game): Clicking on the button... http://dl.dropbox.com/u/11931230/Images/Screenshots/Screenshot-349.jpg will lead you to status screen... http://dl.dropbox.com/u/11931230/Images/Screenshots/...
- Fri Jan 28, 2011 10:45 am
- Forum: Ren'Py Questions and Announcements
- Topic: [answered] How to make date appear onscreen
- Replies: 10
- Views: 1236
Re: Make a new stat window
If i understand right... You can do about that: Button create new context: ui.textbutton("{=bt_menu_txt}Stats",style = 'bt_menu_button',clicked=ui.callsinnewcontext("battle_menu_equipment")) Stats screen: label battle_menu_equipment: while true: ui.frame(background=Frame(im.Alpha...
- Fri Jan 28, 2011 9:16 am
- Forum: Ren'Py Questions and Announcements
- Topic: Cannot start an interaction in the middle of an interaction
- Replies: 0
- Views: 575
Cannot start an interaction in the middle of an interaction
This code display list of units (method of class Timeline): def overlay(self): if self.enable: for i,event in enumerate(self.list): if unit.has_key(event.data): img = im.Scale(unit[event.data].face['norm'],36,38) uiat(self.step*event.pos,round(config.screen_height-self.height*0.5),-0.5,0.5) ui.image...
- Mon Jan 24, 2011 7:49 am
- Forum: Ren'Py Questions and Announcements
- Topic: Prevent bar who with viewport from reseting
- Replies: 0
- Views: 321
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....
- Mon Jan 24, 2011 7:33 am
- Forum: Ren'Py Questions and Announcements
- Topic: smarter way to do anims? :)
- Replies: 3
- Views: 653
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...
- Sat Dec 18, 2010 11:57 am
- Forum: Ren'Py Questions and Announcements
- Topic: Couple of effects
- Replies: 2
- Views: 372
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
2) im.Crop. Define three images - full, and two cropped. To create effect -
a) hide full
b) show cropped
c) move cropped
- Tue Oct 12, 2010 7:18 am
- Forum: Ren'Py Questions and Announcements
- Topic: Generate Windows EXE from *.py script using RenPy method
- Replies: 3
- Views: 577
- 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: 577
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.
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.
- 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: 388
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,...
- Thu Aug 19, 2010 8:49 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Work with net
- Replies: 5
- Views: 671
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.
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.