Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: General limitation (names, tree folders)  (Read 2867 times)

0 Members and 1 Guest are viewing this topic.

Birdline

  • Supporter
  • Occasional poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 57
    • View Profile
    • Birdline Web Site
General limitation (names, tree folders)
« on: December 23, 2008, 11:04:44 AM »

Having in mind game speed or may be compile errors,

Are they any limits for general long names (variable/scene/sprite...) or depth of tree folders?

I mean using: ObjectPositionVertical insread of just ObjPV (for some variable name),
or Scene_First_Time_There (for some scene/object name),
and having many folders/subfolders/subfolders for scenes/objects location,

This will end up to really long file name and location (depth Dir).
Is this a problem, for any reason?

Best regards,
Spyros

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: General limitation (names, tree folders)
« Reply #1 on: December 23, 2008, 04:31:28 PM »

File paths in Windows are limited to about 260 characters. This is probably the only limit you should be aware of (I believe some WME user hit this limit in the past).
The file paths can get quite long sometimes, especially when your project is stored in My Documents folder in Windows XP. The full path to your scene files can then look something like this:

c:\Documents and Settings\Your user name\My Documents\My Wme Projects\My Cool Game\data\scenes\SomeVeryLongSceneName\SomeVeryLongSceneName.scene
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Birdline

  • Supporter
  • Occasional poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 57
    • View Profile
    • Birdline Web Site
Re: General limitation (names, tree folders)
« Reply #2 on: December 23, 2008, 06:01:21 PM »

So, it is 260 characters for file paths, thanks for the answer,

But, I have a habit using rather long names for variables and objects,
Is this for any reason a problem for engine's performance (game speed)?

Spyros

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: General limitation (names, tree folders)
« Reply #3 on: December 23, 2008, 06:07:48 PM »

No, it's not a problem.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.045 seconds with 23 queries.