Search found 12 matches
- Wed Sep 23, 2020 12:17 am
- Forum: Ren'Py Questions and Announcements
- Topic: play random movies
- Replies: 11
- Views: 637
Re: play random movies
I'm having a hard time figuring out how to call a specific file from movies[]. I understand that all the movies are stored in movies[]. We got them to randomize, but now how to i call specifically files from John_fireball_1.webm, John_fireball_2.webm etc, then later on Sally_Iceblast_1.webm, Sally_I...
- Tue Sep 22, 2020 3:11 am
- Forum: Ren'Py Questions and Announcements
- Topic: play random movies
- Replies: 11
- Views: 637
Re: play random movies
yes this works!
not sure how to manually append the movie.
not sure how to manually append the movie.
- Tue Sep 22, 2020 1:25 am
- Forum: Ren'Py Questions and Announcements
- Topic: play random movies
- Replies: 11
- Views: 637
Re: play random movies
ok with the work around I tried to directly play a webm movie through show expression. The actual file name is john_fireball_1.webm init python: def getMovie(): return Movie(play="movies/john_fireball_1.webm") # observe that were returning the Movie() directly and passing the filename that you got i...
- Mon Sep 21, 2020 11:10 pm
- Forum: Ren'Py Questions and Announcements
- Topic: play random movies
- Replies: 11
- Views: 637
Re: play random movies
I tried the code and it didn't work got this error. I'm sorry, but an uncaught exception occurred. While running game code: File "game/script.rpy", line 127, in script "hello" File "renpy/common/000window.rpy", line 98, in _window_auto_callback _window_show() File "renpy/common/000window.rpy", line ...
- Mon Sep 21, 2020 7:59 pm
- Forum: Ren'Py Questions and Announcements
- Topic: play random movies
- Replies: 11
- Views: 637
Re: play random movies
That didn't work either.
I tried to switch out the movies with image stills, and that also stops randomizing after the first time.
has to be something when Image is called, its set and won't update.
I tried to switch out the movies with image stills, and that also stops randomizing after the first time.
has to be something when Image is called, its set and won't update.
- Mon Sep 21, 2020 7:39 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Any turn based battle engines for Ren'py?
- Replies: 2
- Views: 447
- Mon Sep 21, 2020 3:37 pm
- Forum: Ren'Py Questions and Announcements
- Topic: play random movies
- Replies: 11
- Views: 637
play random movies
Hey Guys, Ran into a problem trying to get movies to randomize. I have a list of player character with a bunch of skill, etc. Occasionally i want him to execute a skill with a random movie. ie think a random fireball or ff7 style summons. and example of my files will be something like this john_fire...
- Mon Sep 07, 2020 1:27 pm
- Forum: Ren'Py Cookbook
- Topic: Animated RPG Battle Engine 1.2
- Replies: 13
- Views: 8786
Re: Animated RPG Battle Engine 1.0
This was exactly what I was searching for.
Thank you for sharing with us.
Thank you for sharing with us.
- Sun Sep 06, 2020 11:11 am
- Forum: Ren'Py Questions and Announcements
- Topic: Making a random monster chooser.
- Replies: 7
- Views: 390
Re: Making a random monster chooser.
label start: $ m = getattr(store, "enemy_" + str(renpy.random.randint(1, 10))) "[m.name]" Thanks i was able to get this to work. This is awesome. I couldn't get the other code to work. I was getting an error on store monsters. Saying there was no stored monster. store.monsters.append(self) # automa...
- Sat Sep 05, 2020 4:51 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Making a random monster chooser.
- Replies: 7
- Views: 390
Re: Making a random monster chooser.
i got this to work, thats awesome. I'm still confused as how i can randomly choose a monster encounter. In theory, say i have 10 monsters. default enemy_1 = enemy ("monster1", 100) default enemy_2 = enemy ("monster2", 100) ... default enemy_10 = enemy ("monster10", 100) do i have to write combat cod...
- Sat Sep 05, 2020 2:13 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Making a random monster chooser.
- Replies: 7
- Views: 390
Re: Making a random monster chooser.
it's better to use classes: init python: class enemy: def __init__(self, name, hp): self.name = name self.hp = hp default enemy_1 = enemy("Fizz", 100) default enemy_2 = enemy("Buzz", 120) ... then you can simply pass the name of the enemy instance to your fight script I kind of get this, but also a...
- Sat Sep 05, 2020 5:25 am
- Forum: Ren'Py Questions and Announcements
- Topic: Making a random monster chooser.
- Replies: 7
- Views: 390
Making a random monster chooser.
Hey guys, I'm making a simple fighting game for now. What i'm trying to do is setup at battler where monsters have a previously set variables in their own rpy files. ie. monster_1.rpy monster_2.rpy each of the monster will have a name, max hp, attack etc. I have a simple combat script that has a mon...