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
isobellesophia
Miko-Class Veteran
Posts: 700
Joined: Mon Jan 07, 2019 2:55 am
Projects: Maddox's Everyday Talk! (13+ Unreal version), Maddox Everyday Talk! (3+ Real-Friendly version)(Upcoming 2020)
Organization: Friendly Teachers series
itch: .......
Location: Philippines, Mindanao
Contact:

Re: On Asking Questions

#106 Post by isobellesophia » Wed Aug 21, 2019 9:53 am

Brosephine wrote:
Mon Jul 01, 2019 4:42 pm
I don't know where the new topic button is...
Its just at the top right, above the announcement topis/forum. You can see a pencil along with the text.
I am a friendly user, please respect and have a good day..


Working on a talking simulation game for everyone, except children.

Maddox Everyday Talk!
Is my very very main project, not contain 13 below.

Main project here viewtopic.php?f=43&t=56564
Image

User avatar
rururubell
Newbie
Posts: 4
Joined: Mon Sep 30, 2019 4:00 am
Deviantart: rururubell
Contact:

Re: On Asking Questions

#107 Post by rururubell » Mon Sep 30, 2019 4:17 am

Hello! I want to create game with animated BG's. That's example what I want do do - https://www.youtube.com/watch?v=GXTFe4X-u8s

I read about ATL a little. And now I can make moving clouds, and I can change transparency level of layers (and make sun glare effects on screen).

But how can I made mowing wires, shaked by wind? And flying planes? How can I draw lines, bezier curves, dots and animate them? Is that possible? Can I get an example of something, that looks like I want?
Sorry for my English!

User avatar
isobellesophia
Miko-Class Veteran
Posts: 700
Joined: Mon Jan 07, 2019 2:55 am
Projects: Maddox's Everyday Talk! (13+ Unreal version), Maddox Everyday Talk! (3+ Real-Friendly version)(Upcoming 2020)
Organization: Friendly Teachers series
itch: .......
Location: Philippines, Mindanao
Contact:

Re: On Asking Questions

#108 Post by isobellesophia » Mon Sep 30, 2019 7:03 am

rururubell wrote:
Mon Sep 30, 2019 4:17 am
Hello! I want to create game with animated BG's. That's example what I want do do - https://www.youtube.com/watch?v=GXTFe4X-u8s

I read about ATL a little. And now I can make moving clouds, and I can change transparency level of layers (and make sun glare effects on screen).

But how can I made mowing wires, shaked by wind? And flying planes? How can I draw lines, bezier curves, dots and animate them? Is that possible? Can I get an example of something, that looks like I want?
You can ask here

viewforum.php?f=8


I dont think some people ask here because this is just some rules to give.
I am a friendly user, please respect and have a good day..


Working on a talking simulation game for everyone, except children.

Maddox Everyday Talk!
Is my very very main project, not contain 13 below.

Main project here viewtopic.php?f=43&t=56564
Image

Oduvan
Newbie
Posts: 7
Joined: Sun Jul 23, 2017 2:24 am
Contact:

Re: On Asking Questions

#109 Post by Oduvan » Mon Sep 30, 2019 2:32 pm

Hi. Simple question - how do i add nested dictionaries values to a variable? For example:

Code: Select all

default test_var = 1
default itemz = {"sword": {"name": "sword","atk":10,"val":20},'helm': {"name": "helm","atk": 0,"def": 10,"val": 20}}

    
    
label start:
    "[itemz!q]"
    "add some points..."

    $test_var += [itemz[sword][atk]]
    return
Thats how

Code: Select all

$pc.atk += (itemz["sword"]["atk"])

User avatar
Aniknk
Regular
Posts: 30
Joined: Fri May 24, 2019 10:57 am
Contact:

Re: On Asking Questions

#110 Post by Aniknk » Fri Nov 08, 2019 6:29 pm

Ok, I have a question, how one can make variables for wood choping with daily wood incom. I mean I choose to chop woods and when day is over I'll get +5 wood. All I can do is variables with unlimited replies. Like i click left mous buton, +5 wood, next click, next +5 wood and so on. It's also about date system. I was able to creat variables with minutes proceed by click +30 minutes, than +1 hour, +1 day, +1 month, +1year. I want it to be display only when I choose minutes proceed from menu. How can I get effect like this?
I wish I had an talent to do graphics. Or any other talents. But you know what they talking about people without any talents, they have a big pe***es. No wait. They talk so about people with big feets...

User avatar
Aniknk
Regular
Posts: 30
Joined: Fri May 24, 2019 10:57 am
Contact:

Re: On Asking Questions

#111 Post by Aniknk » Fri Nov 08, 2019 8:17 pm

I did something like this:

Code: Select all

    label DayProceed:
        $ PlayerName = "Sabadios"
        $ WeekDays = ["Monday", "Tuesday", "Wensday", "Thursday", "Friday", "Saturday", "Sunday"]
        $ Months = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
        $ MonthDays = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
        $ Minutes = 0
        $ Hours = 0
        $ Day = 0
        $ Days = 0
        $ Month = 0
        $ WoodName = "Wood"
        $ Wood = 0
        $ Stone = 0
        $ Iron = 0
        $ Gold = 10000

        $ GameRunning = True
        while GameRunning:
            $ Output = WeekDays[Day] + " " + Months[Month] + " " + str(Days+1) + " " + str(Hours) +":" + str(Minutes)

            menu:
                "Proceed by 30 minutes":
                    $ Minutes += 30
                    if Minutes > 59:
                        $ Minutes = 0
                        $ Hours += 1
                    if Hours > 23:
                        $ Hours = 0
                        $ Day += 1
                        $ Days += 1
                    if Day > 6:
                        $ Day = 0
                    if Days > MonthDays [Month]:
                        $ Month += 1
                        $ Day = 0
                    if Months > 11:
                        $ Month = 0

                    call Incom

                "Proceed by 1 hour":
                    $ Hours += 1
                    if Minutes > 59:
                        $ Minutes = 0
                        $ Hours += 1
                    if Hours > 23:
                        $ Hours = 0
                        $ Day += 1
                        $ Days += 1
                    if Day > 6:
                        $ Day = 0
                    if Days > MonthDays [Month]:
                        $ Month += 1
                        $ Day = 0
                    if Months > 11:
                        $ Month = 0

                    call Incom

                "Proceed by 6 hours":
                    $ Hours += 6
                    if Minutes > 59:
                        $ Minutes = 0
                        $ Hours += 1
                    if Hours > 23:
                        $ Hours = 0
                        $ Day += 1
                        $ Days += 1
                    if Day > 6:
                        $ Day = 0
                    if Days > MonthDays [Month]:
                        $ Month += 1
                        $ Day = 0
                    if Months > 11:
                        $ Month = 0

                    call Incom

                "Proceed by 12 hours":
                    $ Hours += 12
                    if Minutes > 59:
                        $ Minutes = 0
                        $ Hours += 1
                    if Hours > 23:
                        $ Hours = 0
                        $ Day += 1
                        $ Days += 1
                    if Day > 6:
                        $ Day = 0
                    if Days > MonthDays [Month]:
                        $ Month += 1
                        $ Day = 0
                    if Months > 11:
                        $ Month = 0

                    call Incom

                "Proceed by day":
                    $ Hours += 24
                    if Minutes > 59:
                        $ Minutes = 0
                        $ Hours += 1
                    if Hours > 23:
                        $ Hours = 0
                        $ Day += 1
                        $ Days += 1
                    if Day > 6:
                        $ Day = 0
                    if Days > MonthDays [Month]:
                        $ Month += 1
                        $ Day = 0
                    if Months > 11:
                        $ Month = 0

                    call Incom

    label Incom:
        if (Day == 1):
            "Your weekly incom"
            if WoodChoping:
                $ Wood += 5
How can I make calendar visable? And how can I display this incom I get?

EDIT: Situation under control.
I wish I had an talent to do graphics. Or any other talents. But you know what they talking about people without any talents, they have a big pe***es. No wait. They talk so about people with big feets...

Post Reply

Who is online

Users browsing this forum: Google [Bot]