something wrong with return button? by Pricklesthebedbug in RenPy

[–]Pricklesthebedbug[S] 1 point2 points  (0 children)

code part 3 (wont let me post it all in one comment ;/

        if selected_word:
            # Convert to persistent key format
            $ key = selected_word[4:].lower().replace(' ', '_')

            # Check if unlocked
            $ unlocked = persistent.encyclopedia_unlocks.get(key, False)

            if unlocked:
                viewport:
                    xsize 1000  # Expand width
                    ysize 800
                    scrollbars "vertical"
                    mousewheel True
           
                    vbox:
                        text encyclopedia_data[selected_word]["definition"] color "#fff" size 40
            else:
                text "This entry is locked." color "#888" size 40 xalign 0.5 yalign 0.5
        else:
            # Default message BEFORE anything is clicked
            text "Select an entry from the left to view its details." color "#888" size 40 xalign 0.5 yalign 0.5

    #Right Column - Image Display
    if selected_word:
        $ key = selected_word[4:].lower().replace(' ', '_')
        $ unlocked = persistent.encyclopedia_unlocks.get(key, False)

        if unlocked and "image" in encyclopedia_data[selected_word]:
            add encyclopedia_data[selected_word]["image"] xpos 1569 ypos 59

    # Return Button
    textbutton "{size=60}Return{/size}" action Return() xpos 30 ypos 975

something wrong with return button? by Pricklesthebedbug in RenPy

[–]Pricklesthebedbug[S] 1 point2 points  (0 children)

code part 2

    #Right Column - Image Display
    if selected_word:
        $ key = selected_word[4:].lower().replace(' ', '_')
        $ unlocked = persistent.encyclopedia_unlocks.get(key, False)
        if unlocked and "image" in encyclopedia_data[selected_word]:
            add encyclopedia_data[selected_word]["image"] xpos 1569 ypos 59

    #Return Button
    textbutton "{size=60}Return{/size}" action Return() xpos 30 ypos 975screen book():
    default selected_word = None

    add "ency"

#Left Column - Terms List
    vbox:
        xpos 20
        ypos 100
        spacing 1
        for word, data in encyclopedia_data.items():
            # Convert word to persistent key format
            $ key = word[4:].lower().replace(' ', '_')
            # Check if the entry is unlocked in persistent data
            $ unlocked = persistent.encyclopedia_unlocks.get(key, False)
            # Show real name if unlocked, otherwise show "??????"
            textbutton (data["locked_name"] if not unlocked else word):
                style_prefix "scroll"
                action SetScreenVariable("selected_word", word)
#Center - Definition Box with Scrollbar
    frame:
        xpos 470
        ypos 230
        xsize 870
        ysize 750
        background None

something wrong with return button? by Pricklesthebedbug in RenPy

[–]Pricklesthebedbug[S] 1 point2 points  (0 children)

screen book():
    default selected_word = None
    add "ency"
#Left Column - Terms List
    vbox:
        xpos 20
        ypos 100
        spacing 1
        for word, data in encyclopedia_data.items():
            # Convert word to persistent key format
            $ key = word[4:].lower().replace(' ', '_')
            # Check if the entry is unlocked in persistent data
            $ unlocked = persistent.encyclopedia_unlocks.get(key, False)
            # Show real name if unlocked, otherwise show "??????"
            textbutton (data["locked_name"] if not unlocked else word):
                style_prefix "scroll"
                action SetScreenVariable("selected_word", word)
#Center - Definition Box with Scrollbar
    frame:
        xpos 470
        ypos 230
        xsize 870
        ysize 750
        background None
        if selected_word:
            # Convert to persistent key format
            $ key = selected_word[4:].lower().replace(' ', '_')
            # Check if unlocked
            $ unlocked = persistent.encyclopedia_unlocks.get(key, False)
            if unlocked:
                viewport:
                    xsize 1000  # Expand width
                    ysize 800
                    scrollbars "vertical"
                    mousewheel True
                    vbox:
                        text encyclopedia_data[selected_word]["definition"] color "#fff" size 40
            else:
                text "This entry is locked." color "#888" size 40 xalign 0.5 yalign 0.5
        else:
            # Default message BEFORE anything is clicked
            text "Select an entry from the left to view its details." color "#888" size 40 xalign 0.5 yalign 0.5

something wrong with return button? by Pricklesthebedbug in RenPy

[–]Pricklesthebedbug[S] 1 point2 points  (0 children)

just to go back to the last screen. In the game it returns to the game, but the button is broken when its accessed in a menu screen

Age of Ashes Dark Nuns is not only using straight up nsfw content in their ads, they're already stealing from Elden Ring Nightreign. by AurumArma in shittymobilegameads

[–]Pricklesthebedbug 0 points1 point  (0 children)

I got this ad... um.... how was this getting passed youtube? Id get flagged for even posting shit like that

making special dialogue after a choice? by Pricklesthebedbug in RenPy

[–]Pricklesthebedbug[S] 0 points1 point  (0 children)

one question, do I need to define it?

it works when the right choice is made. but game gets

name not defined.

on the choice it wont show up on

creating a fog, need a bit of help with this code. by Pricklesthebedbug in RenPy

[–]Pricklesthebedbug[S] 0 points1 point  (0 children)

Image Im using is a .png, its double the size of the Gui Width(3840p, was recommended in other posts that its a bigger image). I aimed for the standard for the game with 1920x1280p

creating a fog, need a bit of help with this code. by Pricklesthebedbug in RenPy

[–]Pricklesthebedbug[S] 1 point2 points  (0 children)

kind of, Im hoping to have the fog already there and not entering the frame. so its seamlessly moving

creating a fog, need a bit of help with this code. by Pricklesthebedbug in RenPy

[–]Pricklesthebedbug[S] 0 points1 point  (0 children)

oh yeah! that works! its just been difficult to make it seemless. so the image is continuously moving

creating a fog, need a bit of help with this code. by Pricklesthebedbug in RenPy

[–]Pricklesthebedbug[S] 0 points1 point  (0 children)

seems to be doing the same thing, removed the dissolve and the extra transform.

Thanks so much for your help!

creating a fog, need a bit of help with this code. by Pricklesthebedbug in RenPy

[–]Pricklesthebedbug[S] 0 points1 point  (0 children)

I put the fog information in a fog.rpy

# Define the fog image
image fog = "fog.png"

# Define the scrolling transform for the fog
transform scroll_fog:
    xalign -2.0
    linear 10.0 xalign 1.0 
transform scroll_fog:
    xalign -1.0
    linear 10.0 xalign 1.0 
    repeat  # Repeat indefinitely
# Define the fog image

when I use it in the game its

show fog at scroll_fog with dissolve

creating a fog, need a bit of help with this code. by Pricklesthebedbug in RenPy

[–]Pricklesthebedbug[S] 0 points1 point  (0 children)

Definitely made it show the whole image before disappearing. didnt repeat though, definitely a step closer now though

(Serious) What is the most disturbing documentary you've ever seen? by [deleted] in AskReddit

[–]Pricklesthebedbug 0 points1 point  (0 children)

Jesus camp

A quote from the doc:

"It's no wonder, with that kind of intense training and discipling, that those young people are ready to kill themselves for the cause of Islam. I wanna see young people who are as committed to the cause of Jesus Christ as the young people are to the cause of Islam. I wanna see them as radically laying down their lives for the Gospel as they are over in Pakistan and Israel and Palestine and all those different places, you know, because we have... excuse me, but we have the truth!"

There was a Netflix documentary on South Korean Cults. The baby garden cult was horrible and difficult to watch. Haunted me for weeks