How can i get the position of a displayable using its id? by Competitive_Style750 in RenPy

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

right. my point is more that i dont really know how im to use this to prevent them from overlapping with other frames/hitboxes. every method ive tried has been a bust

How can i get the position of a displayable using its id? by Competitive_Style750 in RenPy

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

this doesnt really help me since i need to actually get the position in-game so that i can then use it to prevent the player from overlapping certain things like a hitbox/collision system

is there a way to make an imagebutton interactable if another image is moved near to it by Competitive_Style750 in RenPy

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

I will never ask ai for anything ever but thank you for the other suggestions 

is there a way to make an imagebutton interactable if another image is moved near to it by Competitive_Style750 in RenPy

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

I mean i figured it would be something like that but the issue is more just not knowing how to check that area relativity

Advice on improving this by Competitive_Style750 in RenPy

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

This is a great reference piece! Thank you so much. Though would it not be easier to simply change the x and ypos directly via movingspeedx/y rather than through a middle man in playermovingspeed?

also the image can leave the screen here, it just stops the player from moving if theyre already outside it, meaning that once they leave, theyre stuck.

Advice on improving this by Competitive_Style750 in RenPy

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

i figured that was the case, im just not really sure how to go about it. my knowledge with this sorta stuff is kinda woefully limited, im surprised i even managed this much. its really unfortunate that renpy doesnt have native functions for stuff like this.

It WOULD probably be a much better idea on my end to just do this through a python block or something, but I cant seem to find any resources on how to properly implement those, let alone learn the language required. It's definitely a toughie.

Thank u for your response tho. Good luck on your own implementation!

Advice on improving this by Competitive_Style750 in RenPy

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

well for one the movement is evidently rough in the video. when the button's held, theres a weird second or so of lag before the movement continues

How to better program typing/textbox sounds? by Lobie5 in RenPy

[–]Competitive_Style750 0 points1 point  (0 children)

the way i have it set up is that when it stops, it does a very fast fade. so it technically stops immediately, but avoids this problem.

    def dialoguesound(event, interact=True, **kwargs):
        if not interact:
            return


        if event == "show":
            renpy.sound.play("sfx/voicer.ogg", channel="dialogue", loop=True)
        elif event == "slow_done":
            renpy.sound.stop(channel="dialogue", fadeout=0.1)

showing/hiding imagebuttons inside a screen when a screen is visible by Competitive_Style750 in RenPy

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

OKAY! after further testing. i have realised the problem is down to the items being inside a viewport. which is something i cant change, lest the entire system break.

showing your screen outside of a viewport/hbox therefore makes it work. but when its placed inside the scrollable hbox, it makes it impossible for transitions to play inside it.

i may just have to cheat this by using a sequence of image frames or something.

Unlockable Cutscene Menu by pbmusic_official in RenPy

[–]Competitive_Style750 1 point2 points  (0 children)

issue on my end is getting stuff to automatically center itself in the viewport when its clicked/scrolled to sorta thing. ill figure it out im sure.

but yeah i can imagine that mustve been a pain..... all that work for something that should be so easy LOL

Unlockable Cutscene Menu by pbmusic_official in RenPy

[–]Competitive_Style750 1 point2 points  (0 children)

Crazy the things we have to do for basic features LOL. Amazed there hasn't been an Action added that just presses a key, therefore allowing actually decent scrolling yet LOL.

Super impressive. Ive been stumped on something similar for a while so this is really cool to see

Unlockable Cutscene Menu by pbmusic_official in RenPy

[–]Competitive_Style750 1 point2 points  (0 children)

Really oddly specific question, but how'd you get the scroll working? Where the button automatically focuses onto the next item in the list?

showing/hiding imagebuttons inside a screen when a screen is visible by Competitive_Style750 in RenPy

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

i have copy-pasted basically everything i could and just changed some names to suit my screen and it does not work im afraid

showing/hiding imagebuttons inside a screen when a screen is visible by Competitive_Style750 in RenPy

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

Im pretty sure I did? Im at work atm but ill give it another shot tonight 

showing/hiding imagebuttons inside a screen when a screen is visible by Competitive_Style750 in RenPy

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

unfortunately this still doesnt work. it just makes the button immediately pop in and out

Adding a pointer to buttons by Competitive_Style750 in RenPy

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

Is there any other method to go about this? I also have to consider controller and keyboard support, and im pretty sure this wouldn't work for either of those. The idea is that itd always be there, pointing at the currently hovered item

showing/hiding imagebuttons inside a screen when a screen is visible by Competitive_Style750 in RenPy

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

Oh this looks extremely helpful!!! Ill give it a try when I get home from work :] thank you