re: On Asking Questions

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Message
Author
User avatar
MaiMai
Yandere
Posts: 1757
Joined: Sat Mar 21, 2009 6:04 pm
Completed: [Phase Shift]
Projects: [ None ]
Organization: Paper Stars
Tumblr: maiscribbles
Deviantart: maiscribble
Location: USA, Southern California
Contact:

Re: On Asking Questions

#61 Post by MaiMai »

Thedarkjoa wrote:Can I put an admob ads apk RenPy? ... As I do?
You've kept asking the same question and you've gotten the same answer in your other threads; basically there is no way yet and no one seems interested in building support for ads in RenPy.
Image COMMISSIONS AVAILABLE (check Tumblr sidebar)

Thedarkjoa
Regular
Posts: 26
Joined: Mon Mar 03, 2014 11:27 pm
Contact:

Re: On Asking Questions

#62 Post by Thedarkjoa »

I have had the same question for the reason that the situation could change. We can only wait until someone reaches a solution

User avatar
MaiMai
Yandere
Posts: 1757
Joined: Sat Mar 21, 2009 6:04 pm
Completed: [Phase Shift]
Projects: [ None ]
Organization: Paper Stars
Tumblr: maiscribbles
Deviantart: maiscribble
Location: USA, Southern California
Contact:

Re: On Asking Questions

#63 Post by MaiMai »

Maybe asking on a different forum that deals with the admob app might be more appropriate.
Image COMMISSIONS AVAILABLE (check Tumblr sidebar)

User avatar
JinOptimist
Newbie
Posts: 8
Joined: Tue Apr 09, 2013 8:10 am
Projects: Carrier
Skype: JinOptimist
Location: Belarus, Minsk
Contact:

Re: On Asking Questions

#64 Post by JinOptimist »

Hellow everyone.
Sorry for mistake, I just started study English language.

I have screen like this

Code: Select all

screen Stat_Carrier:
    text "Quest" xpos 0.4 ypos 250 color "#000"
    $i = 0
    for q in mode._quests:
        $i += 1
        $y = 250 + i*20
        text "[i]) [q.name]" xpos 20 ypos y color "#000"
        text "Offer: [q.offer]" xpos 0.5 ypos y color "#000"
         
    textbutton _("Exit"):
        xpos 770
        xanchor 1.0
        ypos 570
        yanchor 1.0
        action Return(True)
And i want execute several action when user click to "Exit"
For example, change my variable mode like this:

Code: Select all

$mode.isShowMiniStat = True
$mode.isShowMaxStat = False
and after that call Return

also

Can i do some command before render screen?
Like:

Code: Select all

$mode.isShowMiniStat = False
$mode.isShowMaxStat = True
Thank you for your attention

User avatar
trooper6
Lemma-Class Veteran
Posts: 3712
Joined: Sat Jul 09, 2011 10:33 pm
Projects: A Close Shave
Location: Medford, MA
Contact:

Re: On Asking Questions

#65 Post by trooper6 »

JinOptimis, this question should be in its own thread.
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?)
Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978

User avatar
JinOptimist
Newbie
Posts: 8
Joined: Tue Apr 09, 2013 8:10 am
Projects: Carrier
Skype: JinOptimist
Location: Belarus, Minsk
Contact:

Re: On Asking Questions

#66 Post by JinOptimist »

Thanks trooper6. I did it.
Need I remove my post from here?

MIDERY
Newbie
Posts: 1
Joined: Tue Jan 06, 2015 10:12 am
Contact:

Re: On Asking Questions

#67 Post by MIDERY »

Hello everyone. Sorry for my english, I'm just studiyng it.
How can I start the video without interaction? I'm using $ renpy.movie_cutscene, but when player clicks - video stops. I need something like interact=False in $ renpy.say, but for video. How can I do that?

User avatar
trooper6
Lemma-Class Veteran
Posts: 3712
Joined: Sat Jul 09, 2011 10:33 pm
Projects: A Close Shave
Location: Medford, MA
Contact:

Re: On Asking Questions

#68 Post by trooper6 »

MIDERY, your question should be in its own thread.
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?)
Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978

User avatar
Donmai
Eileen-Class Veteran
Posts: 1958
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

Re: On Asking Questions

#69 Post by Donmai »

Maybe this thread should be locked? I believe its title is misleading for newbies that don't know English very well (it makes them believe here is the place to ask questions).

Edit: Okay, looks like this post solved the problem :lol: .

Edit 2: Uh-oh. Only worked while it was the last post :( .
Last edited by Donmai on Fri Sep 04, 2015 5:26 pm, edited 2 times in total.
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

wayward
Regular
Posts: 41
Joined: Tue Jun 30, 2015 9:53 pm
Contact:

Re: On Asking Questions

#70 Post by wayward »

Donmai wrote:Maybe this thread should be locked? I believe its title is misleading for newbies that don't know English very well (it makes them believe here is the place to ask questions).

Edit: Okay, looks like this post solved the problem :lol: .
Good work!

Leshiy133
Regular
Posts: 136
Joined: Sun Aug 02, 2015 3:09 pm
Projects: Love Sorcery, Miracle Fair, Hlidskialf: Odyssey
Organization: When Pigs Fly
Skype: nocturna133
Location: Russia
Contact:

Re: On Asking Questions

#71 Post by Leshiy133 »

Help me please

I have this problem with characters "mio" and "jul":
"Sayer mio is not a function or string"
"Sayer jul is not a function or string"
=((
is that a functions of RenPy? I can't use them as a names?
How I can fix this problem?

In init I already have:
$ mio = Character(u'Мио', color="#B22222")
$ jul = Character(u'Джульетта', color="#FF8C00")
so what's wrong?)

In the scene I wrote like "show mio norm" and "show jul blush at left"
but they can't speak oO why? how to fix it?

User avatar
Chocopyro
Regular
Posts: 115
Joined: Fri Feb 21, 2014 11:38 pm
Projects: Keepsake: Orison of the falling leaves
Organization: Patchwork Novels
Location: A cornfield in 'merica.
Contact:

Re: On Asking Questions

#72 Post by Chocopyro »

So is there a way to add tooltips to normal choice menus? (For example)

Code: Select all

Choice:

    Neutral Reaction:
    ((^--Sample hovered Tooltip: You attempt a poker face.))

    Positive Reaction:
    ((^--Sample hovered Tooltip: You attempt to innocently change the subject.))

    Negative Reaction:
    ((^--Sample hovered Tooltip: You falsely take offense to the accusation.))

    Special:
    ((^--Sample hovered Tooltip: Charisma | You attempt to charm your way out.))
Or is it just a screen menu thing that I have to make a screen for every single branching choice in the game? I haven't exactly found any tutorials on the subject.
Image

User avatar
barsunduk
Regular
Posts: 32
Joined: Fri Jul 18, 2014 1:06 pm
Completed: «Crystal City», «Mega City», «Kilmonger», «Neuronaut», «Love, Death & Veggies», «Arrow Tourney», «Big Red Hood: Halloween», «Succubus Throne»
Projects: «Swordsman Tourney», «This Tiny Galaxy»
Organization: 7DOTS
itch: 7dots
Contact:

android+focus_mask

#73 Post by barsunduk »

In imagebutton «focus_mask True» does not work on Android OS. Is it a global problem or it's just my luck?

User avatar
xela
Lemma-Class Veteran
Posts: 2481
Joined: Sun Sep 18, 2011 10:13 am
Contact:

Re: android+focus_mask

#74 Post by xela »

barsunduk wrote:In imagebutton «focus_mask True» does not work on Android OS. Is it a global problem or it's just my luck?
It's a "global problem". You can use a callable instead, that works just fine (quite possibly much faster as well).
Like what we're doing? Support us at:
Image

mspencer
Newbie
Posts: 3
Joined: Wed May 18, 2016 10:05 pm
Location: Omaha, Nebraska, USA
Contact:

Re: On Asking Questions

#75 Post by mspencer »

I'm a mediocre professional programmer with little Python experience, and a friend has asked me to help with a Ren'Py project. I'm trying to come up to speed and have been using the wiki and manual and have been writing toy programs. (Just started subclassing Displayable and exploring the pygame rabbit hole, and was surprised to find how many .rpa files were in my Steam library. I'm still a complete noob at this.)

Would it be worthwhile for me to make a thread asking about recommended resources for experienced or professional programmers to get up to speed? Ideally I'm hoping for a short list of resources which would look like:
* you obviously will need Python and pygame. I prefer link, link, and link, or if you want to buy some books I prefer link and link.
* we use XYZ framework for lexing and parsing -- learn that framework at link -- and then review the rpy parser and interpreter source starting with this and this.
* someone started working on a context-aware code editor -- project page at link -- but it was abandoned or needs work.
* someone made a .py module for reflecting into any object in an rpy file -- project page at link

Is this thread-worthy?

Post Reply

Who is online

Users browsing this forum: No registered users