Search found 5 matches
- Mon Apr 26, 2021 3:45 am
- Forum: Ren'Py Questions and Announcements
- Topic: All settings randomly resetting on game start
- Replies: 2
- Views: 366
Re: All settings randomly resetting on game start
The __eq__ block is there to make it compatible/comparable with older versions of itself in the persistence file, and also stuff like "if item.owner == player:" works on it's own now. I'm pretty sure it works fine? Unless I'm missing something. But either way, the problem was staring me in...
- Mon Apr 26, 2021 12:21 am
- Forum: Ren'Py Questions and Announcements
- Topic: All settings randomly resetting on game start
- Replies: 2
- Views: 366
All settings randomly resetting on game start
So I had the idea for a game that when it's started for the first time, it will create a persistent "profile list" that stores player classes. And when starting a match it will pick 10 different players from the list and store it in another for simplicity. However, sometimes when I start t...
- Thu Mar 19, 2020 4:03 pm
- Forum: Ren'Py Questions and Announcements
- Topic: I want to make sprites in SpriteManager collide, is it possible?
- Replies: 3
- Views: 439
Re: I want to make sprites in SpriteManager collide, is it possible?
Check this sample - https://lemmasoft.renai.us/forums/viewtopic.php?f=8&t=29439#p348727 So, you can have all your sprites as an objects with x, y, width, height properties, and create a function to determine collisions to use it in repulsor_update function. Try something like init python: def g...
- Wed Mar 18, 2020 6:03 pm
- Forum: Ren'Py Questions and Announcements
- Topic: I want to make sprites in SpriteManager collide, is it possible?
- Replies: 3
- Views: 439
Re: I want to make sprites in SpriteManager collide, is it possible?
Your code seems to work fine, but for some reason only 1 sprite in 'repulsor_sprites' is doing the action.
- Wed Mar 18, 2020 2:20 pm
- Forum: Ren'Py Questions and Announcements
- Topic: I want to make sprites in SpriteManager collide, is it possible?
- Replies: 3
- Views: 439
I want to make sprites in SpriteManager collide, is it possible?
Here's the idea. I am trying to set up a simulation where if 'green sprite' hits 'red sprite', there's a 50/50 chance on which one that survives. Here's how it looks. https://i.imgur.com/gWTJ6Dl.png It works as should so far, with sprites bouncing around within a box and random speeds as well. The a...