Search found 236 matches
- Mon Sep 19, 2016 3:52 am
- Forum: Ren'Py Questions and Announcements
- Topic: Should I manage mutable menus with one screen or many?
- Replies: 5
- Views: 382
Re: Should I manage mutable menus with one screen or many?
I would do something like this: screen ActionList: vbox: for Action in Player.Actions: if Action.Available: textbutton Action.Name action Action.Do You change state in game logic code, restart interaction and everything else is screen job. I believe it's good enough separation of model and view.
- Mon Sep 19, 2016 3:34 am
- Forum: General Discussion
- Topic: Forum Rules Discussion
- Replies: 42
- Views: 8188
Re: Forum Rules Discussion
Mixing teenage psychology therapy and game development process is kinda bad idea tbh. Doubt if you write in big letter "LIKE YOURSELF!" at forum header they will suddenly become mature, confident people. From gamedev perspective, forum feature telling if viewer actually liked topic/post is useful. N...
- Mon Sep 19, 2016 2:13 am
- Forum: General Discussion
- Topic: Forum Rules Discussion
- Replies: 42
- Views: 8188
Re: Forum Rules Discussion
Making a thread so that people can tell you they want your thing and that being the deciding factor of if you think you are wasting your time or not, rather than making a game because you like it and it is important to you, is exactly the sort of problematic need for external validation I'm talking...
- Sat Sep 17, 2016 4:44 am
- Forum: Ren'Py Questions and Announcements
- Topic: Problem regarding screens, and classes and other things.
- Replies: 8
- Views: 700
Re: Problem regarding screens, and classes and other things.
I got idea what player is able to get somewhere from that screen, like to another label and once done there, he returned to original label from which screen invoked.
If just simple information screen wanted, then yep, you right.
If just simple information screen wanted, then yep, you right.
- Sat Sep 17, 2016 4:41 am
- Forum: Ren'Py Questions and Announcements
- Topic: Making some random events more likely
- Replies: 1
- Views: 372
- Fri Sep 16, 2016 3:02 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Problem regarding screens, and classes and other things.
- Replies: 8
- Views: 700
Re: Problem regarding screens, and classes and other things.
I mean don't write such things :P hbox xalign 0.9 yalign 0.5: #All of the buttons that jump to a scene for the second story. Remember, we're using Ren'Py's playback gallery stuff. if Game.Val == 0: grid 3 1: #Grid that contains the buttons. Note that transpose is usable here. spacing 50 imagebutton:...
- Fri Sep 16, 2016 2:00 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Problem regarding screens, and classes and other things.
- Replies: 8
- Views: 700
Re: Problem regarding screens, and classes and other things.
I figured it was less of a hassle to use regular variables. Thanks for confirming that. I was under the assumption global variables were a taboo, but I'll roll with it. Whatever gets the job done without breaking something in the process. It depends how big and complex is your game. For simple game...
- Fri Sep 16, 2016 10:43 am
- Forum: Ren'Py Questions and Announcements
- Topic: Can I rescale the background image of a frame dynamically?
- Replies: 10
- Views: 2744
Re: Can I rescale the background image of a frame dynamicall
Look there, should help i guess https://www.renpy.org/doc/html/displayables.html#FrameRyue wrote:My question is: Is it possible to tell the background to be of a specific height? (thus scale it inside the screen)?
- Fri Sep 16, 2016 8:31 am
- Forum: General Discussion
- Topic: [SOLVED]+18 Games out of Adult Section. Limits?
- Replies: 6
- Views: 1247
Re: +18 Games out of Adult Section. Limits?
But really, there are no very strict guidelines on what we consider adult content and what not. What about posting generic information with SFW content&discussion about your 18+ game in "Works in progress" subforum and sending for NSFW content&discussion to "Adult works in progress" subforum? So th...
- Fri Sep 16, 2016 6:03 am
- Forum: Ren'Py Questions and Announcements
- Topic: Problem regarding screens, and classes and other things.
- Replies: 8
- Views: 700
Re: Problem regarding screens, and classes and other things.
If you using classes only to store single value, then it would be much better idea to switch to normal variables, less quirks. init python: PageIDMin=1 PageIDMax=3 def NextPage(): global PageID PageID=max(PageIDMin,min(PageIDMax,PageID+1)) renpy.retain_after_load() renpy.restart_interaction() def Pr...
- Tue Sep 06, 2016 1:48 am
- Forum: Ren'Py Questions and Announcements
- Topic: Button hovered+unhovered bug/quirk/feature?
- Replies: 8
- Views: 883
Re: Button hovered+unhovered bug/quirk/feature?
Thanks, good to know i'm not only one with such problems, will look into modal screens.
- Mon Sep 05, 2016 3:28 am
- Forum: Ren'Py Questions and Announcements
- Topic: How can i return a Variable ? Not working for me
- Replies: 3
- Views: 548
Re: How can i return a Variable ? Not working for me
It is ok to use getters/setters, it's not ok to use em for everything. Also you probably should avoid raw getters/setters, use property decorator instead: init python: class Shyy: def __init__(self, name, shy): self.name = name self._shy = shy @property def Shy(self): return self._shy @Shy.setter de...
- Sun Sep 04, 2016 1:29 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Button hovered+unhovered bug/quirk/feature?
- Replies: 8
- Views: 883
Re: Button hovered+unhovered bug/quirk/feature?
None is normal value, like 23 or "asdf" or False.
Problem there in unhovered action not called once screen is hidden.
Also i don't know exactly how much buttons shown on screen, they created dynamically, this example is just minimal code what showed problem.
Problem there in unhovered action not called once screen is hidden.
Also i don't know exactly how much buttons shown on screen, they created dynamically, this example is just minimal code what showed problem.
- Sat Sep 03, 2016 11:11 am
- Forum: Ren'Py Questions and Announcements
- Topic: Button hovered+unhovered bug/quirk/feature?
- Replies: 8
- Views: 883
Re: Button hovered+unhovered bug/quirk/feature?
I cheated badly, remember that "no side effects code in screens"? That was kinda it. Screen prediction can get called really unexpectedly. Don't do thing i done in previous post. This solution works bit better. image DynaThing=DynamicDisplayable(GetDynaThing) define Thing=None init python: def GetDy...
- Sat Sep 03, 2016 10:12 am
- Forum: Ren'Py Questions and Announcements
- Topic: Button hovered+unhovered bug/quirk/feature?
- Replies: 8
- Views: 883
Re: Button hovered+unhovered bug/quirk/feature?
Ok, i cheated.
Same thing probably should go to after_load label.
But i still honestly like to know is it normal behavior? Is there any other options?
Code: Select all
...
screen navigation():
python:
store.Thing=None
# The background of the game menu.
...
But i still honestly like to know is it normal behavior? Is there any other options?