defold / editor2-issues

DEPRECATED
44 stars 4 forks source link

Consider changing .go extension to .gameobject #862

Open Malmer opened 7 years ago

Malmer commented 7 years ago

Because external editors and tools mistake the files for Golang code files. Also it would be more consistent with the naming of the other things, such as .collection, .particlefx and .material.

Malmer commented 7 years ago

Obviously .go should still be supported for legacy reasons, but new files should always be with the new longer extension.

subsoap commented 7 years ago

While we are at it change game.project to something unique too (with same legacy support possible). If .defold is used as the filename then project main filenames can have any name not just be "game"

mygame.defold blossom.defold

Then we can have multiple main project filenames in the same folder for certain convenient uses. And make the build folders based on the main project name too. mygame_build, blossom_build etc. with regular build folder for legacy.

Malmer commented 7 years ago

Yes, that would make sense. Having files named anything as generic as ".project" associated with Defold is probably a bit of a stretch for many users. I don't mind it being called game.defold though if that is a requirement for things to work smoothly.

mosmetro commented 5 years ago

This is great proposal! Must be done sooner or later. Better sooner. Seeing Ben James repository in Go trending (several times!) is ridiculous!