Search found 745 matches

by DragoonHP
Sun Jul 24, 2016 5:46 am
Forum: Ren'Py Questions and Announcements
Topic: Movie code not working (Resolved)
Replies: 6
Views: 432

Re: Movie code not working

The problem with your code is that you "return" back as soon as the movie plays which causes it to hide. Ether put a text block or put in a pause after the play statment.

Code: Select all

    "text"

    show movie
    play movie "EndCredits.ogv"
    play music "New.ogg"

    pause
    
    return
by DragoonHP
Mon Jul 11, 2016 10:30 am
Forum: Ren'Py Questions and Announcements
Topic: ATL animation + sound effect question (solved)
Replies: 5
Views: 2110

Re: ATL animation + sound effect question

You can't do that. You will have to manually add sound effects in the script, like

Code: Select all

show anim
play sound "effect.off"
by DragoonHP
Mon Jul 11, 2016 12:33 am
Forum: Ren'Py Questions and Announcements
Topic: init if/then behavior
Replies: 2
Views: 482

Re: init if/then behavior

Usually this error means that one of the images in gallery_cg_items does not exist. viewtopic.php?f=51&t=22465&hilit=button ... 45#p310657
by DragoonHP
Sat Jul 09, 2016 11:52 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]imagebutton checks variable and jumps to label
Replies: 11
Views: 1326

Re: imagebutton checks variable and jumps to label

Strings evaluate to True. That's why the true action was running.
by DragoonHP
Sat Jul 09, 2016 3:31 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]imagebutton checks variable and jumps to label
Replies: 11
Views: 1326

Re: imagebutton checks variable and jumps to label

The If action behaves like an if...else expression. if condition == True: # do this action else: # do this action When you click on the imagebutton, Renn'Py runs the If action, which checks the expression you have provided is true or not. If the expression returns True, it runs the 'true' action, ot...
by DragoonHP
Sat Jul 09, 2016 3:10 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]imagebutton checks variable and jumps to label
Replies: 11
Views: 1326

Re: imagebutton checks variable and jumps to label

It didn't ignore anything. Ren'Py first evaluated the expression and based on if the evaluated expression was true or false, it ran the associated action.
by DragoonHP
Sat Jul 09, 2016 3:00 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]imagebutton checks variable and jumps to label
Replies: 11
Views: 1326

Re: imagebutton checks variable and jumps to label

from_pol shouldn't be inside quotes. If(from_pol, true=Jump('pol_intro'), false=Jump('travel_pol'))
by DragoonHP
Sat Jul 09, 2016 2:51 pm
Forum: Ren'Py Questions and Announcements
Topic: creating a next page function
Replies: 6
Views: 1343

Re: creating a next page function

Change Show("shop",itemList,page=(page-1)) to Show("shop", itemList=itemList, page=(page-1))
by DragoonHP
Sat Jul 09, 2016 2:48 pm
Forum: Ren'Py Questions and Announcements
Topic: Need explaination on layout
Replies: 2
Views: 248

Re: Need explaination on layout

What andrew said is right. And layouts aren't used anywhere (for the most part). So you can safely ignore them.
by DragoonHP
Sat Jul 09, 2016 2:41 pm
Forum: Ren'Py Questions and Announcements
Topic: Single function to change a value and display a message?
Replies: 4
Views: 530

Re: Single function to change a value and display a message?

You can directly call the screen and use a timer to hide it after two seconds. And I commented out the add ab line because I didn't have the resoruces. Feel fre to uncomment it. default wisdom = 50 default health = 50 default hername = "Her Name" init python: alertb = [ "art/bad_banner.png", "art/go...
by DragoonHP
Thu Jul 07, 2016 10:56 am
Forum: Development of Ren'Py
Topic: 6.99.0 Features Bug?
Replies: 8
Views: 996

Re: 6.99.0 Features Bug?

You can report it on GitHub > https://github.com/renpy/renpy/issues

Also, the focus_mask is only for drag handle, ie, you wouldn't be able to drag an image by focusing/hovering over it's transparent part..
by DragoonHP
Thu Jul 07, 2016 6:54 am
Forum: Ren'Py Questions and Announcements
Topic: 3 questions for game (about input, and about making files)
Replies: 19
Views: 1339

Re: 3 questions for game (about input, and about making file

Regarding 3rd question, it's certainly possible > https://docs.python.org/2/tutorial/inputoutput.html though andrewngn13 idea about using persistent might be better.