Page 1 of 1

LTS Editor

Posted: Thu Oct 09, 2014 1:02 am
by axefrog
Hey, I'm usually just a lurker but, as an aspiring game dev myself, I find myself quite curious what you're using for the script editor in LT? I'm really guessing you didn't write a full syntax-highlighted vim-like code editor from scratch just for your game? Nobody can code that fast. Nobody!

Re: LTS Editor

Posted: Thu Oct 09, 2014 2:14 am
by Flatfingers
axefrog wrote:Hey, I'm usually just a lurker but, as an aspiring game dev myself, I find myself quite curious what you're using for the script editor in LT? I'm really guessing you didn't write a full syntax-highlighted vim-like code editor from scratch just for your game? Nobody can code that fast. Nobody!
Hi, axefrog -- welcome to the Limit Theory forums!

You might find the @JP: what VIM configuration are you using? thread has what you're looking for.

Re: LTS Editor

Posted: Thu Oct 09, 2014 2:19 am
by Cornflakes_91
its just vim

Re: LTS Editor

Posted: Thu Oct 09, 2014 2:39 am
by Katawa
axefrog wrote:I'm really guessing you didn't write a full syntax-highlighted vim-like code editor from scratch just for your game? Nobody can code that fast. Nobody!
Maybe, but somebody could certainly plug in an open source one that already exists for exactly that purpose. Not that he did.

Re: LTS Editor

Posted: Thu Oct 09, 2014 3:18 am
by axefrog
I'm gonna go out on a limb and guess that he did use an external editor library. Josh is good, and I know he gets a lot done, but coding up that editor would take at least a couple of months, even for a ninja rockstar 10X coder.

Re: LTS Editor

Posted: Thu Oct 09, 2014 3:21 am
by Zeadar
It's vim... You can write custom highlight settings in it.

Re: LTS Editor

Posted: Thu Oct 09, 2014 3:59 am
by Cornflakes_91
axefrog wrote:I'm gonna go out on a limb and guess that he did use an external editor library. Josh is good, and I know he gets a lot done, but coding up that editor would take at least a couple of months, even for a ninja rockstar 10X coder.
from what i know it was not even "in" lt, but he just used the alt+tab friendliness of LT and had VIM in the background or superimposed over the LT window

Re: LTS Editor

Posted: Thu Oct 09, 2014 5:10 am
by axefrog
Huh... well there's a revelation.

Re: LTS Editor

Posted: Thu Oct 09, 2014 7:10 am
by Haron
I just created Docker image with vim and plugins installed for those who would like to fill self a coding monkey. See details in this post.

Re: LTS Editor

Posted: Sun Oct 12, 2014 3:09 pm
by axefrog
Hang on... I'm sure you guys are missing something here. Check out time signature 31:04 on the video for update #20. The editor is *inside* an application host window that Josh has set up. Up the top I see tabs for: code, build, sys, net and music. When Josh switches to graphical views, all of these are perfectly contained within the same frame/view that the editor is contained within.

Josh, could you weigh in on your slick application shell? :)

Are you using some kind of library to display a linux shell inside your application? What are the implications of this with regards to Windows and Mac builds of the game? Also, on a side note, are you rendering the tabs and frame border with OpenGL as well, or is that something native to Linux?

Re: LTS Editor

Posted: Sun Oct 12, 2014 3:12 pm
by Katorone
IMO he just minimized LT, or switched to the coding desktop.

Re: LTS Editor

Posted: Sun Oct 12, 2014 3:38 pm
by Dinosawer
Those tabs are the workspaces of his linux window manager and thus not part of the game

Re: LTS Editor

Posted: Sun Oct 12, 2014 4:10 pm
by axefrog
Ohhh, right I understand. I'm only aware of KDE, Gnome and X. Is that something different?

Re: LTS Editor

Posted: Sun Oct 12, 2014 4:16 pm
by Cornflakes_91
X isnt a window manager, its the display server, it runs below KDE, gnome, cinnamon, xfce, openbox, xmonad (blabli blablubb) and
Awesome (which is joshs windowmanager).

but i dont know if awesome gives josh that functionality, though

Re: LTS Editor

Posted: Mon Oct 13, 2014 1:52 am
by Katorone
Cornflakes_91 wrote:but i dont know if awesome gives josh that functionality, though
I don't know either... But Josh being awesome sure helps! :thumbup: