Visual novel help ;-;
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: 33
- Joined: Tue Apr 03, 2018 4:10 pm
- Skype: starsongrebeccawooleverstarsong
- Soundcloud: @outlook.com (Skype)
- Contact:
Visual novel help ;-;
Soo ive seen Doki Doki literature club, and im trying to find out how to make a character JUMP at the screen.. sorta like what Yuri did in act 2 or when
natsuki snapped her neck and shakily came towards you
im making a game for one of my sisters and i was sorta wanting my sister that lives with me to make my sis jump when she plays it Plz helpRe: Visual novel help ;-;
Hmm not sure but if your pertaining to the effect where
Put this code anywhere most preferably above your label start or any other rpy where you defined your custom screens.
Change the ease of .5 for the speed; the higher the number the slower the zoom
Change the zoom 8.0; the larger the zoom the closer and bigger to the screen
Then when you call the code you apply a vpunch so something like this:
If you want to see something more visual then I could attach a sample rempy of the code.
natsuki charges at you after snapping her head which leads to the bad end
then that can be achieved with just some atl.Put this code anywhere most preferably above your label start or any other rpy where you defined your custom screens.
Code: Select all
transform jumpscare:
ease .8 zoom 8.0
Change the zoom 8.0; the larger the zoom the closer and bigger to the screen
Then when you call the code you apply a vpunch so something like this:
Code: Select all
'zoom test'
show apple at jumpscare with vpunch #don't forget the vpunch which adds the shake effect
-
- Regular
- Posts: 33
- Joined: Tue Apr 03, 2018 4:10 pm
- Skype: starsongrebeccawooleverstarsong
- Soundcloud: @outlook.com (Skype)
- Contact:
Re: Visual novel help ;-;
Code: Select all
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/script.rpy", line 85: Line is indented, but the preceding say statement statement does not expect a block. Please check this line's indentation.
show scaretactic danielle at jumpscare with vpunch
^
Ren'Py Version: Ren'Py 6.99.14.1.3218
Tue Apr 03 17:04:10 2018
(Wait was i suppost to change the show apple part?
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3791
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: Visual novel help ;-;
Last edited by Imperf3kt on Wed Apr 04, 2018 7:43 am, edited 1 time in total.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
-
- Regular
- Posts: 33
- Joined: Tue Apr 03, 2018 4:10 pm
- Skype: starsongrebeccawooleverstarsong
- Soundcloud: @outlook.com (Skype)
- Contact:
Re: Visual novel help ;-;
OHHHH k
Code: Select all
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/script.rpy", line 85: Line is indented, but the preceding say statement statement does not expect a block. Please check this line's indentation.
show scaretactic danielle at jumpscare at vpunch
^
Ren'Py Version: Ren'Py 6.99.14.1.3218
Tue Apr 03 17:17:38 2018
Re: Visual novel help ;-;
You should indent your code. That means 4 spaces to the right every time ":" appears on your code.
Like this:
The error on your code is indentation or a missplaced ":" at the end of one of your lines of dialogue.
Like this:
Code: Select all
label start:
"This code is indented."
"Note that if I add something that requires a new block, like an if statement..."
if True:
"Then you need to move 4 spaces to the right again."
"When the block ends, you go back 4 spaces to the left."
"Understand?"
Re: Visual novel help ;-;
It is with vpunch rather at since it's more of a transition rather than an atl. It would return an error if you have 2 "at's". The error you recieved is an indentation error meaning somewhere in your code you didn't observe the 4 spaces
Code: Select all
label start:
'Random text' #dont forget the 4 spaces
show scaretactic danielle at jumpscare with vpunch #should be with not at
if something:
'Random test' #dont forget 4 spaces from your if block
- Attachments
-
- Jump.rar
- (1.69 MiB) Downloaded 32 times
Last edited by Enchant00 on Wed Apr 04, 2018 7:45 am, edited 2 times in total.
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3791
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: Visual novel help ;-;
^ this.
I didn't read the traceback properly
I didn't read the traceback properly
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
-
- Regular
- Posts: 33
- Joined: Tue Apr 03, 2018 4:10 pm
- Skype: starsongrebeccawooleverstarsong
- Soundcloud: @outlook.com (Skype)
- Contact:
Re: Visual novel help ;-;
Enchant00 it was giving me errors on the spaces and now its letting me open the game for once xD so this worked for me:
'zoom test'
show scaretactic danielle at jumpscare with vpunch #should be with not at
if something:
'Random test' #dont forget 4 spaces from your if block
So yea
Tho idk how to fix this.
Confused
'zoom test'
show scaretactic danielle at jumpscare with vpunch #should be with not at
if something:
'Random test' #dont forget 4 spaces from your if block
So yea
Tho idk how to fix this.
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 86, in script
if something:
File "game/script.rpy", line 86, in <module>
if something:
NameError: name 'something' is not defined
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 86, in script
if something:
File "C:\Users\Starsong\Desktop\Renpy\renpy-6.99.14.1-sdk\renpy\ast.py", line 1702, in execute
if renpy.python.py_eval(condition):
File "C:\Users\Starsong\Desktop\Renpy\renpy-6.99.14.1-sdk\renpy\python.py", line 1843, in py_eval
return py_eval_bytecode(code, globals, locals)
File "C:\Users\Starsong\Desktop\Renpy\renpy-6.99.14.1-sdk\renpy\python.py", line 1836, in py_eval_bytecode
return eval(bytecode, globals, locals)
File "game/script.rpy", line 86, in <module>
if something:
NameError: name 'something' is not defined
Windows-8-6.2.9200
Ren'Py 6.99.14.1.3218
Jessicas Game 1.0
Wed Apr 04 21:22:32 2018
Re: Visual novel help ;-;
That "something" is anything that evaluates as True or False.
Code: Select all
1 < 5 # This is True
"abc" == "abc" # This is True
42 == 5 # This is False
Re: Visual novel help ;-;
Don't take the "something" literally XD it was just there to give you a brief idea of how spacing is after a condition block like what Lord Hisu stated above ^. For your convenience just omit the if something:
Code: Select all
label start:
'Random text' #dont forget the 4 spaces
show scaretactic danielle at jumpscare with vpunch
'More random text'
-
- Regular
- Posts: 33
- Joined: Tue Apr 03, 2018 4:10 pm
- Skype: starsongrebeccawooleverstarsong
- Soundcloud: @outlook.com (Skype)
- Contact:
Re: Visual novel help ;-;
Okay! Btw do you know how to move them back cause now i see a big face of the character on the right side of the game xD
Re: Visual novel help ;-;
You need to transform it back to zoom 1.0, or hide the image.StarsongKG wrote: ↑Fri Apr 06, 2018 3:33 pm Okay! Btw do you know how to move them back cause now i see a big face of the character on the right side of the game xD
-
- Regular
- Posts: 33
- Joined: Tue Apr 03, 2018 4:10 pm
- Skype: starsongrebeccawooleverstarsong
- Soundcloud: @outlook.com (Skype)
- Contact:
Re: Visual novel help ;-;
Gracias!
-
- Regular
- Posts: 33
- Joined: Tue Apr 03, 2018 4:10 pm
- Skype: starsongrebeccawooleverstarsong
- Soundcloud: @outlook.com (Skype)
- Contact:
Re: Visual novel help ;-;
Question how do you tint the screen a color? Like I know you can put blood on it somehow but I want to tint it black-ish.. To make it dark and keep it dark the whole game (unless she finds someone or something that makes her life brighter when she has it with her or when shes with the person)
Who is online
Users browsing this forum: No registered users