I was wondering how to make a video appear at the beginning of the game when it boots up (before it goes to the main menu) and also if it's possible to make it so that videos can't be skipped (for example on accident)
One other issue I need help is how to step the game from going backwards, like when someone makes a choice in a game and goes forward then they would scroll backwards together back to cheat or make another choice, cause on my visual novel I can scroll from the very end to the very beginning and it annoys me when that happens...
Help on video and scrolling in a visual novel
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
- Regular
- Posts: 46
- Joined: Tue Jul 13, 2010 4:10 pm
- Location: Bristol UK
- Contact:
-
- Regular
- Posts: 82
- Joined: Tue Sep 22, 2009 2:29 pm
- Projects: 'Paths of Twilight' A Fantasy GxB game with a RPG flavor. Sprites: 18% Script: 35-38% BGs: 18% Music: 100%
- Location: Kashyyyk
- Contact:
Re: Help on video and scrolling in a visual novel
-Check this out for info about the video:
http://www.renpy.org/wiki/renpy/doc/coo ... een_Effect
-I'm not sure how to make it so they can't be skipped...
-There are a couple of ways to prevent rollback:
-The easiest way:
Using the $ renpy.block_rollback() function prevents the player from scrolling back.
- Another way to do this is to put this in the options folder:
This way, the player can only scroll back the amount of times you specify.
http://www.renpy.org/wiki/renpy/doc/coo ... een_Effect
-I'm not sure how to make it so they can't be skipped...
-There are a couple of ways to prevent rollback:
-The easiest way:
Code: Select all
menu:
"Choice 1":
$ renpy.block_rollback()
"You picked choice 1"
"Choice 2":
$ renpy.block_rollback()
"You picked choice 2"
- Another way to do this is to put this in the options folder:
Code: Select all
init -1 python hide:
##This controls how far back the player can rollback, in this case: 5 times
config.hard_rollback_limit = 5
-Dark Helmet-"And so you see Lonestar, that evil will always triumph! Because good is dumb."
-
- Regular
- Posts: 46
- Joined: Tue Jul 13, 2010 4:10 pm
- Location: Bristol UK
- Contact:
Re: Help on video and scrolling in a visual novel
Thanks tried all of this and it worked! really you don't know how much help this has been for me +rep or whatever system there is, also thanks for the info on the "scroll back the amount of times you specify" part, didn't know this (or any of the coding you said) =D
-
- Regular
- Posts: 82
- Joined: Tue Sep 22, 2009 2:29 pm
- Projects: 'Paths of Twilight' A Fantasy GxB game with a RPG flavor. Sprites: 18% Script: 35-38% BGs: 18% Music: 100%
- Location: Kashyyyk
- Contact:
Re: Help on video and scrolling in a visual novel
Your welcome. ... Do I get a cookie now?
-Dark Helmet-"And so you see Lonestar, that evil will always triumph! Because good is dumb."
-
- Regular
- Posts: 46
- Joined: Tue Jul 13, 2010 4:10 pm
- Location: Bristol UK
- Contact:
Re: Help on video and scrolling in a visual novel
playswithtribbles wrote:Your welcome. ... Do I get a cookie now?
you mean these cookies lol?
-
- Regular
- Posts: 82
- Joined: Tue Sep 22, 2009 2:29 pm
- Projects: 'Paths of Twilight' A Fantasy GxB game with a RPG flavor. Sprites: 18% Script: 35-38% BGs: 18% Music: 100%
- Location: Kashyyyk
- Contact:
Re: Help on video and scrolling in a visual novel
Yah! Cookies...
-Dark Helmet-"And so you see Lonestar, that evil will always triumph! Because good is dumb."
Who is online
Users browsing this forum: No registered users