Comments (1)
Hi Jesse,
Thanks for the feedback. I added a related feature a while back: when you
load a level where the content root folder doesn't exist, it displays thiss
message:
Content root folder not found.
The level file has a content root folder that does not exist.
It says the content root is at "c:\project". Images specified in this level
file are relative to this folder so you should change it in order to load
this level file correctly.
Would you like to change it?
Yes No
If you click yes, you can change the content root folder.
Saying that, I can see the benefit of it defaulting to the location where
the level is loaded from. Perhaps we can add to the message something like
'Would you like to change it or default to '[c:\wherever the level loaded
from']' and add a 'Remember my choice' check-box.
On 26 March 2012 17:52, Jesse Chounard <
[email protected]
wrote:
When saving the a level, would it be possible to convert the content root
path to a relative path? (Relative to where the level file was saved.) I'm
worried about using absolute paths, as that may cause problems when working
with collaborators.When using the old Gleed2d years ago, I actually removed the idea of a
content root path completely, and all stored paths were relative to where
the level file was saved. I could do that again, but I think the relative
path idea might cause fewer headaches.
Reply to this email directly or view it on GitHub:
#31
from gleed2d.
Related Issues (20)
- Deleting doesn't work for me HOT 1
- TexturePicker needs to respond to Enter to navigate around
- Error with Instance.cs loading HOT 2
- When changing content root folder, current level isn't flagged as dirty
- When changing content root folder, textures are blanked out
- Crash when switching user when tool running - ObjectDisposedException in GleedRenderer
- Use with farseer or make a plugin? HOT 2
- The folder picker doesn't appear on the Content Root property of the level in the property grid
- Bug when selecting a 'special' folder, e.g. Document and Settings in the texture picker control
- Error loading level HOT 1
- Behaviours not loaded? HOT 1
- CustomProperty LinkedItem breaks after re-loading a level HOT 1
- Need direction on adding the references... HOT 1
- Mac OS X Support HOT 2
- Shapes don't scale correctly HOT 3
- Texture Path Relative to ContentRoot is Always Wrong HOT 2
- Gleed2D Updates - Lets Discuss HOT 6
- Open projects HOT 7
- Hash in project path
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gleed2d.