Directories?
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.
-
- Miko-Class Veteran
- Posts: 616
- Joined: Thu Oct 26, 2006 4:23 pm
- Projects: My Teacher; Songs of Araiah; Something new; Possible Cross Bomber?
- Location: Slovakia, Kosice
- Contact:
Directories?
Renpy support aditional directories in game directory?
And if yes, they can be compiled in archive?
And if yes, they can be compiled in archive?
http://www.bishojo.tk is technically ONLINE!
Songs of Araiah promo: http://www.youtube.com/watch?v=CalchucuoDU
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Yes, we will automatically archive files in the game directory, and in all its sub-directories.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Miko-Class Veteran
- Posts: 616
- Joined: Thu Oct 26, 2006 4:23 pm
- Projects: My Teacher; Songs of Araiah; Something new; Possible Cross Bomber?
- Location: Slovakia, Kosice
- Contact:
and so how i can acess the files in thiese sudirectories?PyTom wrote:Yes, we will automatically archive files in the game directory, and in all its sub-directories.
Like my path to image is:
c:\Documents and
Code: Select all
Settings\Enerccio\Desktop\renpy-6.1.0\2200AD\game\images\ayaki_normal\ayakia.png
like image a present normal = "images\ayaki_normal\ayakia.png"
?
http://www.bishojo.tk is technically ONLINE!
Songs of Araiah promo: http://www.youtube.com/watch?v=CalchucuoDU
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
You need to use forward-slashes (/) rather than back-slashes (\), but other than that you are correct.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Miko-Class Veteran
- Posts: 616
- Joined: Thu Oct 26, 2006 4:23 pm
- Projects: My Teacher; Songs of Araiah; Something new; Possible Cross Bomber?
- Location: Slovakia, Kosice
- Contact:
bkackslashes dont work for me... but when i write two backshlashes it works somehow...PyTom wrote:You need to use forward-slashes (/) rather than back-slashes (\), but other than that you are correct.
http://www.bishojo.tk is technically ONLINE!
Songs of Araiah promo: http://www.youtube.com/watch?v=CalchucuoDU
A single backslash simply 'escapes' the following character - it's a special feature used to get newlines ("blah\n blah") and quotes ("So he said \"Yay!\"...") and so on into strings. A double-backslash is the escape code to get a single backslash in the resulting string, which is why that works.Enerccio wrote: bkackslashes dont work for me... but when i write two backshlashes it works somehow...
On the other hand, backslashes don't work as part of the path on non-Windows systems, where as I understand it forward slashes do work as part of the path on Windows and non-Windows systems, so you should always use forward-slashes anyway for compatibility reasons.
Server error: user 'Jake' not found
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Jake is right on the money. Don't use backslashes unless you don't want your game to work on Linux and Mac.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Miko-Class Veteran
- Posts: 616
- Joined: Thu Oct 26, 2006 4:23 pm
- Projects: My Teacher; Songs of Araiah; Something new; Possible Cross Bomber?
- Location: Slovakia, Kosice
- Contact:
okay i replaced backslashes with other onesPyTom wrote:Jake is right on the money. Don't use backslashes unless you don't want your game to work on Linux and Mac.
Damn, why even in this windows and other platforms are different???
http://www.bishojo.tk is technically ONLINE!
Songs of Araiah promo: http://www.youtube.com/watch?v=CalchucuoDU
Hh. Do I have to do this for imagepaths too? (If I stick them in sub-directories?)Enerccio wrote:okay i replaced backslashes with other onesPyTom wrote:Jake is right on the money. Don't use backslashes unless you don't want your game to work on Linux and Mac.
Damn, why even in this windows and other platforms are different???
I don't recall it being a problem.
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Yes, you need to do it for image paths as well, if you want your game to work on Linux and Mac. (Hm... I should probably make lint check for this, if it doesn't already.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Who is online
Users browsing this forum: Sugar_and_rice