Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Basic code assistance

A topic by Deadpool209977 created Jul 22, 2022 Views: 384 Replies: 3
Viewing posts 1 to 4

Here is what I have:

default choices = []

default do_susan = False

label start:

    # stay inside this loop as long as we didn't pick all the 3 choices (cell, electric torture, breaker bench)

    if len(choices) < 3:

        # alter between True and False

        do_susan = not do_susan

        if do_susan:

            "What would you like to train Susan on next?"

        else:

            "What would you like to train Chandra on now?"

        menu:

Just don't know where to go from here.

Any help would be appreciated.

Moderator moved this topic to General Development
Moderator

Why not ask in the LemmaSoft forums, where all the Ren'Py developers are?

Oh. I just typed ren'py help in search and it came here lol!

(1 edit)

I certainly hope for your sake that the game engine you're using has some answer for Python's silliness besides the default behavior, since this might be related to your problem: https://stackoverflow.com/questions/51336185/how-to-re-assign-a-variable-in-pyth... (keyword, might. I don't use python that often, so I can't confirm).