Search found 25 matches

by Psion
Thu Jun 10, 2021 2:31 pm
Forum: Ren'Py Questions and Announcements
Topic: vbox correction problem
Replies: 2
Views: 955

Re: vbox correction problem

I suspected it has something to do with style stuff... So i found this code: define gui.choice_button_width = None define gui.choice_button_height = None define gui.choice_button_tile = False define gui.choice_button_borders = Borders(0, 0, 0, 0) define gui.choice_button_text_font = "font/Oswal...
by Psion
Tue Jun 08, 2021 1:15 am
Forum: Ren'Py Questions and Announcements
Topic: vbox correction problem
Replies: 2
Views: 955

vbox correction problem

So i am trying to teach myself coding by taking others code and implementing it in my project. I took code to count days\time and copied it in my project. It worked fine but looked much worse. It has blue lines when i hover mouse and dark lines when i'm not. Also they in the middle of the screen and...
by Psion
Thu May 06, 2021 8:35 pm
Forum: Ren'Py Questions and Announcements
Topic: List item system. How do i mark item as picked?
Replies: 2
Views: 732

Re: List item system. How do i mark item as picked?

Working nicely, thank you very much.
by Psion
Wed May 05, 2021 11:34 pm
Forum: Ren'Py Questions and Announcements
Topic: List item system. How do i mark item as picked?
Replies: 2
Views: 732

List item system. How do i mark item as picked?

I'm making item system. It working alright, but you can pick item as many times as you want. How do i mark item as picked? init python: class ITEMS (object): def __init__ (self, location, isActive, icon, func): self.location = location self.isActive = isActive self.icon = icon self.func = func Objec...
by Psion
Mon Apr 26, 2021 4:55 pm
Forum: Ren'Py Questions and Announcements
Topic: location system with list and imagebutton
Replies: 18
Views: 1499

Re: location system with list and imagebutton

Yes, finaly! It works! Thank you very much.
Also tnx for hinting and explainig, not just giving the answer, i learned so much.
by Psion
Mon Apr 26, 2021 4:05 pm
Forum: Ren'Py Questions and Announcements
Topic: location system with list and imagebutton
Replies: 18
Views: 1499

Re: location system with list and imagebutton

well, i have map system that works, if i understand your question correctly. it works fine. screen topBAR(): imagebutton: xpos 25 ypos 100 focus_mask True hover "/ui/map/mapicon.jpg" idle "/ui/map/mapicon.jpg" action SetVariable("clickType", "mapOpen"), Return...
by Psion
Mon Apr 26, 2021 2:03 pm
Forum: Ren'Py Questions and Announcements
Topic: location system with list and imagebutton
Replies: 18
Views: 1499

Re: location system with list and imagebutton

oh... my bad, to_living_room_hover.png image was made incorrectly... It work now, thank you. my code now: label start: $ Playing = True while Playing: window hide $ clickType = "" $ UIreturn = renpy.call_screen("MainUI") if clickType == "move": $ location = UIreturn ini...
by Psion
Mon Apr 26, 2021 12:01 pm
Forum: Ren'Py Questions and Announcements
Topic: location system with list and imagebutton
Replies: 18
Views: 1499

Re: location system with list and imagebutton

I mean when in hallway i hover my mouse in place where is door to porch it lights up, but when i hover over door to living room nothing happening.
by Psion
Mon Apr 26, 2021 11:04 am
Forum: Ren'Py Questions and Announcements
Topic: location system with list and imagebutton
Replies: 18
Views: 1499

Re: location system with list and imagebutton

Yep, wrong name. Fixed it with this: screen BGIMAGE(): $ BGDeclare() add BGimage for q in Rooms: if q.name.lower() == location: for w in q.locs: $ w = w.lower() $ w = w.replace(" ", "_") $ TempName = "places/to_" + str(w) + "_%s.png" imagebutton auto TempName ...
by Psion
Mon Apr 26, 2021 5:22 am
Forum: Ren'Py Questions and Announcements
Topic: location system with list and imagebutton
Replies: 18
Views: 1499

Re: location system with list and imagebutton

1) Find room, where player is. i think "if q.name.lower() == location" should fix that: screen BGIMAGE(): $ BGDeclare() add BGimage for q in Rooms: if q.name.lower() == location: $ TempName = "places/" + str(q.locs[0]) + "_%s.png" imagebutton auto TempName focus_mask T...
by Psion
Sun Apr 25, 2021 6:57 pm
Forum: Ren'Py Questions and Announcements
Topic: location system with list and imagebutton
Replies: 18
Views: 1499

Re: location system with list and imagebutton

like this? screen BGIMAGE(): $ BGDeclare() add BGimage for q in Rooms: $ TempName = "places/" + str(q.locs[0]) + "_%s.png" imagebutton auto TempName focus_mask True action SetVariable("clickType", "mapSelect"), Return(q.locs) But i'm pretty sure it not gonna w...
by Psion
Sun Apr 25, 2021 5:43 pm
Forum: Ren'Py Questions and Announcements
Topic: location system with list and imagebutton
Replies: 18
Views: 1499

Re: location system with list and imagebutton

I have hallway_idle.png, no idea where it got "u" and everything from...
by Psion
Sun Apr 25, 2021 4:48 pm
Forum: Ren'Py Questions and Announcements
Topic: location system with list and imagebutton
Replies: 18
Views: 1499

Re: location system with list and imagebutton

Auto worked, tnx. screen BGIMAGE(): $ BGDeclare() add BGimage for q in Rooms: $ TempName = "places/" + str(q.locs) + "_%s.png" imagebutton auto TempName focus_mask True action SetVariable("clickType", "mapSelect"), Return(q.locs) But there another error occurr...
by Psion
Sun Apr 25, 2021 12:47 pm
Forum: Ren'Py Questions and Announcements
Topic: location system with list and imagebutton
Replies: 18
Views: 1499

location system with list and imagebutton

Hi, i'm trying to make a location system with list and immagebutton, so that idle and hover location picked up automatically from names of those locations. But i thing my syntax wrong :( Can you help me pls? init python: class place(object): def __init__ (self, name, locs, mapped, unlocked): self.na...
by Psion
Thu Apr 22, 2021 1:59 pm
Forum: Ren'Py Questions and Announcements
Topic: help with imagebutton
Replies: 5
Views: 401

Re: help with imagebutton

Hm, ok. But how is this working then? screen home_livingroom: imagemap: if time_of_day in ('MORNING', 'AFTERNOON'): ground "scene_home_livingroom_day_g" hover "scene_home_livingroom_h" alpha False scene_home_livingroom_day_g.webp could not attach here, so there is link: https://m...