Search found 1935 matches

by Alex
Thu Sep 13, 2018 5:26 pm
Forum: Ren'Py Cookbook
Topic: Simple minigames (Screen Language only).
Replies: 72
Views: 28567

Re: Simple minigames (Screen Language only).

I'm glad it was useful for you. Good luck with you project...;)
by Alex
Wed Sep 05, 2018 3:14 pm
Forum: Ren'Py Questions and Announcements
Topic: Editing and Ending a Rhythm Game Loop...
Replies: 12
Views: 454

Re: Editing and Ending a Rhythm Game Loop...

Try to change: define ButtonX = "images/Buttons/ButtonX.png" define ButtonA = "images/Buttons/ButtonA.png" to image button_a: "images/Buttons/ButtonA.png" image button_x: "images/Buttons/ButtonX.png" / sprite = ("images/Buttons/ButtonA.png") to sprite = "button_a" / sprites.append(RhythmD(("images/B...
by Alex
Wed Sep 05, 2018 12:57 pm
Forum: Ren'Py Questions and Announcements
Topic: Editing and Ending a Rhythm Game Loop...
Replies: 12
Views: 454

Re: Editing and Ending a Rhythm Game Loop...

What's the actual code you use?
by Alex
Wed Aug 22, 2018 6:52 am
Forum: Ren'Py Questions and Announcements
Topic: Drawing in Ren'Py
Replies: 23
Views: 844

Re: Drawing in Ren'Py

This drawing-thingy looks worth to be in a cookbook - as a stand alone feature and as useful sample of UDD..;)
by Alex
Tue Aug 21, 2018 3:07 pm
Forum: Ren'Py Questions and Announcements
Topic: screen actions without buttons
Replies: 4
Views: 84

Re: screen actions without buttons

In the first place, why do you want to fill the list inside a screen? Why not make it outside of the screen and then pass it to screen? What do you try to achieve? screen scr(scr_list): for item in scr_list: text "[item]" lanel sater: $ my_list = [1,2,3,4,5] show screen scr(my_list) "?"
by Alex
Thu Aug 16, 2018 1:47 pm
Forum: Ren'Py Questions and Announcements
Topic: Showing a screen with a transform from a specific location[not possible]
Replies: 15
Views: 535

Re: Showing a screen with a transform from a specific location

Imperf3kt wrote:
Thu Aug 16, 2018 1:43 am
I've decided to just get rid of this dumb idea and forget about sliding headaches.
Try to change your code like

Code: Select all

#use navi
timer 0.001 action Show("navi", dissolve) repeat False
P.S. looks like it's better to get rid of the whole new gui system...))
by Alex
Wed Aug 15, 2018 5:33 pm
Forum: Ren'Py Cookbook
Topic: Simple minigames (Screen Language only).
Replies: 72
Views: 28567

Re: Simple minigames (Screen Language only).

Nevermind, solved it using an extra list :3 Not sure about extra list, but you can add another key (like 'c_img') for card description in a 'cards_list', so cards with the same 'c_value' might have different images set by 'c_img'. Then show the cards images in 'memo_scr' screen using this new key '...
by Alex
Tue Aug 14, 2018 3:08 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Call Screen, Imagebutton SetVariable - Not Working?
Replies: 4
Views: 182

Re: Call Screen, Imagebutton SetVariable - Not Working?

Note action SetVariable("tarot", "1") will set 'tarot' to text value '1', so the next check will fail if tarot == 1 Try action SetVariable("tarot", 1) Note 2 When you 'call' a screen it must return a value. So instead of action SetVariable("tarot", 1) try action Return(1) https://www.renpy.org/doc/h...
by Alex
Mon Aug 06, 2018 2:46 pm
Forum: Ren'Py Questions and Announcements
Topic: viewport and vpgrid?
Replies: 8
Views: 196

Re: viewport and vpgrid?

Try

Code: Select all

label start:
    "..."
    call screen some_data_screen
    $ res = _return
    "i = [res]"
    "?"
https://www.renpy.org/doc/html/screens.html#call-screen
by Alex
Sun Aug 05, 2018 5:22 am
Forum: Ren'Py Questions and Announcements
Topic: viewport and vpgrid?
Replies: 8
Views: 196

Re: viewport and vpgrid?

Thank you for the answers and sorry for being a troublesome :( Not a trouble at all, just try to be more specific with questions (show the code you have, describe/show the result it gave, tell what's wrong with the result and what you try to achieve). Here is a kind of code sample screen some_data_...
by Alex
Sat Aug 04, 2018 3:28 pm
Forum: Ren'Py Questions and Announcements
Topic: Animate the cursor
Replies: 1
Views: 94

Re: Animate the cursor

Instead of a singl image set it as a list of images, so they will be shown one after another at 20Hz (20 images per sec., so if you need smooth animation put more than 20 images in a list). Like $ config.mouse = {"default" :[("cur1.png", 0, 0), ("cur2.png", 0, 0),("cur3.png", 0, 0)]} https://www.ren...
by Alex
Sat Aug 04, 2018 3:20 pm
Forum: Ren'Py Questions and Announcements
Topic: viewport and vpgrid?
Replies: 8
Views: 196

Re: viewport and vpgrid?

Khm, the documentation is rather clear about them... "A viewport is area of the screen that can be scrolled by dragging, with the mouse wheel, or with scrollbars. It can be used to display part of something that is bigger than the screen." If you need an area with scrollbars in your GUI design - vie...
by Alex
Sun Jul 22, 2018 8:11 pm
Forum: Development of Ren'Py
Topic: [UI] Mouse pointing always a bit below real position on windowed
Replies: 2
Views: 223

Re: [UI] Mouse pointing always a bit below real position on windowed

Is this red arrow your custom cursor? If so check if its image has transparent canvas (maybe you need to tweak x,y offsets for hotspot - https://www.renpy.org/doc/html/config.h ... nfig.mouse)