Another newie/silly question...
The background scene images can be loaded from subdirectories into the "game" folder, but not the normal images. How can I order the images by folders?
Path doubt
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.
-
- Veteran
- Posts: 413
- Joined: Fri May 20, 2011 1:27 pm
- Completed: [KN] Saving Project: Blind? (Part One)
- Contact:
Re: Path doubt
I'm not sure what you mean, but if you want to separate the bgs from your sprites inside the game directory, when defining them you would have to put the path direction.
E.g. If your bgs are in the bg folder and you want the school.jpg image, you'd put:
Is this what you wanted? xD Sorry if it isn't. Just think of it as rambling if that's the case xD
EDIT:
Moreover, if you were defining a character, and you'd also put a subfolder in the char folder you'd put:
Where [insert char name] is the name of the character folder. E.g. If it was a happy expression of Ken, you'd put:
E.g. If your bgs are in the bg folder and you want the school.jpg image, you'd put:
Code: Select all
image school = "bg/school.jpg"
EDIT:
Moreover, if you were defining a character, and you'd also put a subfolder in the char folder you'd put:
Code: Select all
image chappy = "char/[insert char name]/happy.png"
Code: Select all
image khappy = "char/ken/happy.png"
Projects:
WIP|[KN] Day Of Reckoning|
Completed|[KN] Saving Project Blind: Part One|[KN] Saving Project Blind: Part Two|[KN] Saving Project Blind: Final Part|
Is available to help with proof-reading (Grammar freak...) Maybe voice-acting in the near future x]
WIP|[KN] Day Of Reckoning|
Completed|[KN] Saving Project Blind: Part One|[KN] Saving Project Blind: Part Two|[KN] Saving Project Blind: Final Part|
Is available to help with proof-reading (Grammar freak...) Maybe voice-acting in the near future x]
Re: Path doubt
Thanks! It works like a charm!manga_otaku wrote:I'm not sure what you mean, but if you want to separate the bgs from your sprites inside the game directory, when defining them you would have to put the path direction.
E.g. If your bgs are in the bg folder and you want the school.jpg image, you'd put:Is this what you wanted? xD Sorry if it isn't. Just think of it as rambling if that's the case xDCode: Select all
image school = "bg/school.jpg"
EDIT:
Moreover, if you were defining a character, and you'd also put a subfolder in the char folder you'd put:Where [insert char name] is the name of the character folder. E.g. If it was a happy expression of Ken, you'd put:Code: Select all
image chappy = "char/[insert char name]/happy.png"
Code: Select all
image khappy = "char/ken/happy.png"
-
- Veteran
- Posts: 413
- Joined: Fri May 20, 2011 1:27 pm
- Completed: [KN] Saving Project: Blind? (Part One)
- Contact:
Re: Path doubt
No problem
Projects:
WIP|[KN] Day Of Reckoning|
Completed|[KN] Saving Project Blind: Part One|[KN] Saving Project Blind: Part Two|[KN] Saving Project Blind: Final Part|
Is available to help with proof-reading (Grammar freak...) Maybe voice-acting in the near future x]
WIP|[KN] Day Of Reckoning|
Completed|[KN] Saving Project Blind: Part One|[KN] Saving Project Blind: Part Two|[KN] Saving Project Blind: Final Part|
Is available to help with proof-reading (Grammar freak...) Maybe voice-acting in the near future x]
Who is online
Users browsing this forum: No registered users