When I launch my project it opens, but when I hit start the game crashes and sends me an error message, 'could not find label 'start'' (error message screenshot included below)
I have also included a screenshot of my script.rpy code, which does include "label start:" I don't understand why it can't find it.
label start not found error in script.rpy
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.
-
- Newbie
- Posts: 3
- Joined: Wed Dec 26, 2018 4:08 pm
- Contact:
Re: label start not found error in script.rpy
Check, if your 'script.rpy' is really in the project's 'game' folder.
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3785
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: label start not found error in script.rpy
I'd suggest using the "force recompile" option found in the launcher.
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
- Remix
- Eileen-Class Veteran
- Posts: 1628
- Joined: Tue May 30, 2017 6:10 am
- Completed: None... yet (as I'm still looking for an artist)
- Projects: An un-named anime based trainer game
- Contact:
Re: label start not found error in script.rpy
I'd also suggest renaming All your other labels to Not start with a number and do Not use periods within a label name (they are only used as first character when defining a local label within a previous global)
Code: Select all
label g1:
e "..."
label .a1:
# this is actually label g1.a1 now
e "..."
Frameworks & Scriptlets:
- Speech Bubble dialogue system
- Multiple Notify with ATL and history
- (WIP) Radial Masking - needs updating to use Shader
- 7.4 - Smooth Tinting using ATL and matrixcolor
- Several other repositories there too
-
- Regular
- Posts: 36
- Joined: Fri Nov 23, 2018 6:44 pm
- Contact:
Re: label start not found error in script.rpy
///
Last edited by lacticacid on Wed Mar 20, 2019 7:09 am, edited 1 time in total.
~There is almost always a better, easier way to approach a problem.~
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3785
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: label start not found error in script.rpy
Labels do NOT need indenting and Will cause issues if you do that.
The code posted in the opening post is indented correctly (as best I can tell from an image, text would have been preferred)
The code posted in the opening post is indented correctly (as best I can tell from an image, text would have been preferred)
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: Kocker