Skip to content

Instantly share code, notes, and snippets.

@Jarvix
Created August 8, 2013 22:13
Show Gist options
  • Save Jarvix/6189298 to your computer and use it in GitHub Desktop.
Save Jarvix/6189298 to your computer and use it in GitHub Desktop.
Situation/problem: Sphere, a javascript RPG game engine. Very simple, very much fun. But currently supports mostly Windows and supposedly OSX (SDL, only a part of sphere supported). An IDE is not available at all.
Technologies: So I am trying to write an IDE+runtime for OSX with Cocoa+OpenGL/CA/CG/whatever-works. Also want to add a plugin system, but that isn't UI related.
UI: Xcode-like with splitview: navigator, editor and utitilies. Actually exactly like Xcode: source view with items, different types of editors for different types of files. Each editor its own Editor menu. (Mainmenu is also xcode-like).
Model: A project is a package containing a metadata plist and a resources set: folders-per-resource-type containing the resources. Like: Resources/Maps/map1.rmp, Resources/SpriteSets/sprite1.rss.
This is how the ide in windows looks: https://dl.dropboxusercontent.com/u/2062901/SphereDevKit.png (horrible, right?)
@Jarvix
Copy link
Author

Jarvix commented Aug 8, 2013

JSXProject is the document (at the moment, i am not allowing the opening of single documents in single windows, it seems more complex to do so. Or i must separate UI from NSDocument so i can reuse it when using it inline :/).
I would like to have controllers per editor and per navigator, but I guess that is obvious.

@Jarvix
Copy link
Author

Jarvix commented Aug 8, 2013

Window Controller + Over 9000 view controllers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment