Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Milkymalk
Miko-Class Veteran
Posts: 753 Joined: Wed Nov 23, 2011 5:30 pm
Completed: Don't Look (AGS game)
Projects: KANPEKI! ★Perfect Play★
Organization: Crappy White Wings
Location: Germany
Contact:
#1
Post
by Milkymalk » Mon Jul 28, 2014 4:54 pm
Why does this result in
NameError: name 'arrow' is not defined ? I'm sorry if it is obvious, but I'm feeling incredibly stupid right now...
Code: Select all
init:
image arrow = 'gfx/arrow_white.png'
screen showarrow:
add arrow
label start:
show screen showarrow
"..."
Last edited by
Milkymalk on Mon Jul 28, 2014 5:42 pm, edited 1 time in total.
Crappy White Wings (currently quite inactive)
Working on: KANPEKI!
(On Hold: New Eden, Imperial Sea, Pure Light)
xela
Lemma-Class Veteran
Posts: 2481 Joined: Sun Sep 18, 2011 10:13 am
Contact:
#2
Post
by xela » Mon Jul 28, 2014 5:06 pm
Use string ("arrow"), arrow assumes a variable.
Like what we're doing? Support us at:
Milkymalk
Miko-Class Veteran
Posts: 753 Joined: Wed Nov 23, 2011 5:30 pm
Completed: Don't Look (AGS game)
Projects: KANPEKI! ★Perfect Play★
Organization: Crappy White Wings
Location: Germany
Contact:
#3
Post
by Milkymalk » Mon Jul 28, 2014 5:42 pm
Ah, I was thinking it would look for a file named "arrow" then... thanks.
Crappy White Wings (currently quite inactive)
Working on: KANPEKI!
(On Hold: New Eden, Imperial Sea, Pure Light)
Users browsing this forum: No registered users