Thank you both for your help!
I knew I was missinterpreting something. Good catch on the add method and id too, I'll keep it in mind as I continue to expand and test this.
This thread is now solved!
Search found 286 matches
- Tue Aug 29, 2023 9:03 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Dynamically add Drag and Drop objects to a screen during gameplay?
- Replies: 4
- Views: 551
- Sun Aug 27, 2023 1:12 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Dynamically add Drag and Drop objects to a screen during gameplay?
- Replies: 4
- Views: 551
[SOLVED] Dynamically add Drag and Drop objects to a screen during gameplay?
So I'm currently working on a simple card minigame, in which I would like to have drag and drop functionality for the player to easily place cards in certain areas of the screen. The player will have a deck that will randomly generate cards and add them to their hand, from where they can place them ...
- Fri Jun 17, 2022 3:26 pm
- Forum: Ren'Py Questions and Announcements
- Topic: On hide transform not working with buttons.
- Replies: 4
- Views: 406
Re: On hide transform not working with buttons.
Your first post's example seems to be working for me on Ren'Py 7.4.2. Are you trying this on a newer version?
- Fri Jun 10, 2022 5:22 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Best way to make a VN-RPG hybrid using Ren'Py that is "high-octane"?
- Replies: 7
- Views: 735
Re: Best way to make a VN-RPG hybrid using Ren'Py that is "high-octane"?
I would like to make one that is menu-based akin to what most Ren'Py-powered RPGs have done so far, albeit with stuff like DDR / Taiko no Tatsujin-like QTE system for dodging / using skills. Sounds like you want an RPG with rhythm game elements. In a broad sense, the more stuff you want happening a...
- Thu Jun 09, 2022 10:36 am
- Forum: Ren'Py Questions and Announcements
- Topic: Best way to make a VN-RPG hybrid using Ren'Py that is "high-octane"?
- Replies: 7
- Views: 735
Re: Best way to make a VN-RPG hybrid using Ren'Py that is "high-octane"?
There is no one perfect way to do this, it really depends on how complex you want your battle system and gameplay loop to be. Ren'Py does allow for virtually any kind of system thanks to Python, but the more you stray away from the typical Visual Novel gameplay, which Ren'Py is highly specialized in...
- Thu May 26, 2022 1:00 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Need help with side images and imagebuttons
- Replies: 6
- Views: 654
Re: Need help with side images and imagebuttons
The problem is likely what you're doing in this line: $ player = renpy.input("What is your name?", default="Traveler", length=15) It's assigning a new value to the already existing player variable, in this case the result of renpy.input() function. You're basically erasing the Ch...
- Wed May 25, 2022 9:51 am
- Forum: Ren'Py Questions and Announcements
- Topic: Ren'Py 8.0.0 and 7.5.0 Prereleased
- Replies: 45
- Views: 6024
Re: Ren'Py 8.0.0 and 7.5.0 Preleased
Thank you so much PyTom and the Ren'Py team for all of your hard work. Trying to run Ren'Py 8.0.0 on Windows 10, I'm getting this error when I try to set the projects folder. I'm sorry, but an uncaught exception occurred. While running game code: File "game/project.rpy", line 629, in <modu...
- Fri May 06, 2022 2:59 pm
- Forum: Ren'Py Questions and Announcements
- Topic: calling a dynamic variable within a class function
- Replies: 3
- Views: 378
Re: calling a dynamic variable within a class function
I don't fully understand your question, but if you want to change the value of an object property, you can just assign the new value with an equal sign (=): init python: class Person(): def __init__(self): self.name = "Unknown" default john = Person() label start: "Default name: [john...
- Wed May 04, 2022 12:19 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Persistent variable not working (to unlock new route) [SOLVED]
- Replies: 2
- Views: 427
Re: Persistent variable not working (to unlock new route)
Can't check the video right now, but what exactly are you trying to do here? You're using various pieces of code that shouldn't be where you have them right now. First is the init python block of code. This block is used to run pure python code, so it shouldn't be placed after label start, the code ...
- Fri Apr 29, 2022 1:37 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Should I use Classes to do this?
- Replies: 8
- Views: 661
Re: Should I use Classes to do this?
I was wondering if it was possible to create self contained elements (Classes) with all the possible variables, and then let them unfold. So to solve the problem of 25 million things pointing to all sorts of labels and screen, - some of these issues are pretty janky to solve, at least for me - I wa...
- Fri Apr 29, 2022 10:22 am
- Forum: Ren'Py Questions and Announcements
- Topic: Should I use Classes to do this?
- Replies: 8
- Views: 661
Re: Should I use Classes to do this?
That's a good start for your classes! I don't have access to Ren'Py at the moment to provide a working example but I'll try to explain (briefly) how the process goes and what you should look into. To make things interact with the player, in Ren'Py you need to use screens . These let you create an Us...
- Thu Apr 28, 2022 3:32 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Should I use Classes to do this?
- Replies: 8
- Views: 661
Re: Should I use Classes to do this?
Short answer: yes, this is easily doable and objects and classes are a good way to go, if not the best. Though I say "easily", at first these concepts may be difficult to wrap your head around, but once you understand them it's quite straightforward. You'll want to learn about python objec...
- Thu Dec 09, 2021 3:53 pm
- Forum: Creator Discussion
- Topic: Games You Want to Play
- Replies: 8
- Views: 6609
Re: Games You Want to Play
I really do want games with adult protagonists. Most of the cast in Zero Escape games are adults, with fleshed out backstories, actual jobs and knowledge that contributes to solve the puzzles and problems they face. As for my preferred type of game, I'd like to see more games like Shin Megami Tense...
- Tue Nov 09, 2021 3:18 pm
- Forum: Ren'Py Cookbook
- Topic: Auto Highlight for Sprites
- Replies: 1
- Views: 1242
Re: Auto Highlight for Sprites
This is simply awesome, I have no words.
Thank you so, so much for making and sharing this!
Thank you so, so much for making and sharing this!
- Thu Sep 09, 2021 2:07 pm
- Forum: Creator Discussion
- Topic: Is it conventional to have the MC appear onscreen as a asset in a first person narrative?
- Replies: 5
- Views: 5935
Re: Is it conventional to have the MC appear onscreen as a asset in a first person narrative?
To add a bit of my two cents, I've also seen some VNs that are mainly told from the Main Character's perspective, but at some point change POV to another character, who then sees the MC, thus they appear as a sprite. It's not that unconventional, just not so widely used.