Search found 97 matches
- Sat Dec 27, 2014 2:07 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Any simple way to disable all hotkeys in particular screen?
- Replies: 2
- Views: 2015
Any simple way to disable all hotkeys in particular screen?
Hi! on a splashscreen I have a disclaimer I want user to unavoidably "accept" to proceed. but I figured out it can be avoided using default keymap's hotkeys (jumping to "load" screen, preference, etc.) i don't know the full potential of the keymaps so i want to temporary (for thi...
- Sat Dec 20, 2014 3:11 pm
- Forum: Ren'Py Questions and Announcements
- Topic: (solved)how do i get my display fullscreen status?
- Replies: 1
- Views: 370
(solved)how do i get my display fullscreen status?
hi! i have a boolean variable and it has to be True when my display is in fullscreen mode and False if in windowed. Having a hard time finding it in docs. Please help.
- Thu Dec 18, 2014 7:20 pm
- Forum: Ren'Py Questions and Announcements
- Topic: (solved) im.Sepia to FileScreenshot()
- Replies: 2
- Views: 872
Re: im.Sepia to FileScreenshot()
Thanks, philat! Although not working right away, this code gave me a hint which led me to solution. Works perfectly if i change this double-underlined function __slotname(name,page), which appears as "not defined", to a string str(page)+'-'+str(name), which is actual return of that functio...
- Thu Dec 18, 2014 3:32 pm
- Forum: Ren'Py Questions and Announcements
- Topic: (solved) im.Sepia to FileScreenshot()
- Replies: 2
- Views: 872
(solved) im.Sepia to FileScreenshot()
Hi! I need to apply some image manipulators to my save screenshot. like this: imagebutton idle im.Sepia(FileScreenshot(i)) hover FileScreenshot(i) pos (515,140) action SetVariable("save_c",i) alternate SetVariable("load_c",i) Unfortunately this does work only on already written s...
- Mon Dec 15, 2014 3:12 am
- Forum: Ren'Py Questions and Announcements
- Topic: [solved]how do i make an in-game menu wider?
- Replies: 2
- Views: 493
Re: how do i make an in-game menu wider?
Long story short... yes, it works! XD
Thanks, Kia! :3
Thanks, Kia! :3
- Sun Dec 14, 2014 10:03 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [solved]how do i make an in-game menu wider?
- Replies: 2
- Views: 493
[solved]how do i make an in-game menu wider?
i have an in-game menu screen. it's in default state except the text size is slightly bigger to be read easier but somehow the horizontal size of each choice rows is limited so choices are displayed in multiple rows which is ugly. so i need to lift this restriction, but i don't know what should i mo...
- Tue Dec 02, 2014 6:44 am
- Forum: Ren'Py Questions and Announcements
- Topic: Side Images
- Replies: 7
- Views: 884
Re: Side Images
i mean better for you Not use brackets and white-spaces to avoid potential problems operating those files . ideal names consist solely of up to 8 lowercase alphanumerics (a-z and 0-9) something like "smile1.png"
- Tue Dec 02, 2014 2:44 am
- Forum: Ren'Py Questions and Announcements
- Topic: Side Images
- Replies: 7
- Views: 884
Re: Side Images
should I rename the file to "Side_(Imagename).png" or "(Imagename)_Side.png"? the name of your file in "game" folder should be exact to what you declare in quotes of show_side_image = "" aside of this the name can be any. though i suggest against using bracke...
- Mon Dec 01, 2014 9:19 am
- Forum: Ren'Py Questions and Announcements
- Topic: Side Images
- Replies: 7
- Views: 884
Re: Side Images
if you define your_character with following parameters define your_character = Character(_ (''),window_left_padding=160,show_side_image=Image("side_image.png", xalign=0.0, yalign=1.0)) where side_image.png is your side image file align,yalign - is where it is placed(bottom left corner at t...
- Mon Dec 01, 2014 1:28 am
- Forum: Ren'Py Questions and Announcements
- Topic: [solved]imagebutton reacting to hover with mousekey pressed?
- Replies: 7
- Views: 1188
Re: [solved]imagebutton reacting to hover with mousekey pres
My only suggestions would be to look at the event (ev) itself, rather than using mouse.get_pressed(). Well that was the plan but I ended up failing to fetch correct properties/values out of a pygame documentations, so i'm thankful for any further explanations. Will research this at my own once i en...
- Sun Nov 30, 2014 12:32 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [solved]imagebutton reacting to hover with mousekey pressed?
- Replies: 7
- Views: 1188
Re: imagebutton reacting to hover with mousekey pressed?
Just managed to work it out using a CDD init python: import pygame lclick = False mclick = False rclick = False class GetMouse(renpy.Displayable): def __init__(self): super(GetMouse, self).__init__() def render(self, width, height, st, at): rv = renpy.Render(width, height) return rv def event(self, ...
- Sun Nov 30, 2014 10:31 am
- Forum: Ren'Py Questions and Announcements
- Topic: [solved]imagebutton reacting to hover with mousekey pressed?
- Replies: 7
- Views: 1188
Re: imagebutton reacting to hover with mousekey pressed?
Thanks for suggest, PyTom. I'm afraid it is former. I would appreciate some CDD example that operates left and right mouse buttons. It can be not relevant to the issue (which i failed to explain anyway lol), i think i will be fine once i see the mechanism and syntax.
Thanks again n_n
Thanks again n_n
- Sat Nov 29, 2014 8:50 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [solved]imagebutton reacting to hover with mousekey pressed?
- Replies: 7
- Views: 1188
Re: imagebutton reacting to hover with mousekey pressed?
I'm sorry for such unclear explanation(perhaps due to my engrish) I'll try another way to explain my needs omitting the actual purpose of desired solution. Basically i need an imagebutton to do some stuff when it's in "hovered" state AND my mouse key is in pressed state. I assume the code ...
- Sat Nov 29, 2014 3:15 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [solved]imagebutton reacting to hover with mousekey pressed?
- Replies: 7
- Views: 1188
[solved]imagebutton reacting to hover with mousekey pressed?
Hello, folks. In my options menu i have a pattern of switches i would like to switch multiple at once simply by hovering over them. And sometimes i want to hover over them without any action. So hovering with key pressed would be an nice solution. Ideally it should do no action with hovering and no ...
- Wed Oct 08, 2014 12:38 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Can i directly read/modify pixels of image on CDD?(answered)
- Replies: 1
- Views: 404
Can i directly read/modify pixels of image on CDD?(answered)
I want to make some effects using cdd (like dynamic lighting, blurs, distortions, Motion Portrait mimicry, etc ) which seemingly require direct access to the pixel matrix. is there a standard methods for it? like renpy.displayeable class properties or some functions maybe? I failed to find any and a...