I've no idea what I'm doing. I've just started my first attempt at making any sort of game today, so forgive everything I'm about to explain wrong please. I'm trying to create choices for example here the MC has the option between two doors and each option (left or right) will lead to a different scene next. Between reading files and watching youtube videos to put the script together this is a problem I've encountered I can't find a solution to on my own. Two errors come up back and forth between telling me either a menu item is expected, then I edit, and it says end of line expected. Repeat back and forth. The error is like this currently at end of line expected.
The screenshots are attached.
I might be doing a lot wrong other than whatever this is telling me too. I'm sorry if the screenshots/my layout makes you cringe. I appreciate any help, thank you!
end of line and expected failure
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.
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3794
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: end of line and expected failure
After menu: you need a new line - anywhere : is used means renpy expects a block, which means it expects a new line and four additional spaces. Also, please post the code in code tags in future, instead of an image. It makes helping you much easier.
Code: Select all
menu:
"Which one should I choose?"
"Left":
jump left
"Right":
jump right
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
Who is online
Users browsing this forum: henne