Third Party Tools / WIP: GG-Edit (Dedicated GG Lua Editor)

Author
Message
PartTimeCoder
9
Years of Service
User Offline
Joined: 9th Mar 2015
Location:
Posted: 24th Feb 2016 19:43 Edited at: 24th Feb 2016 22:27
Hi, I noticed on the voting page that a Lua editor was way down low on the list and I know there is already an abundance of editors available but I was thinking ..... wouldn't it be nice to have a dedicated script editor for GameGuru with full syntax highlighting, autocomplete and script error checking

Anyone Agree?

So I decided to start coding one, progress is going pretty well the base editor is fully functional but overall it still needs a bit of work to make it even close to complete and at this point over 11k lines of code I'm asking myself "is it worth the work"?, so I'm posting what I got so far for some feedback

Whats in it? (or soon will be)
Multitab script editor (Scintilla based)
Full syntax and autocomplete system for both GameGure and Lua API's
File Explorer tool, access your script folders and open files without leaving the editor
Bookmark tool, for those hard core coders, not yet fully functional (not saving/loading bookmark info to file) << currently being worked on
Template tool, for storing reusable code templates (at idea stage only)

for now I'm working on completing the bookmark tool, bookmarks are currently added by clicking margin between the numbers and folds while holding CTRL (need to make that stand out a bit more) but along with folding info the bookmarks are not yet saved to file so its session data only for now ..... its being worked on

I would appreciate some feedback, bug reports and will consider all suggestions, if this is something that would be widely used then I will continue to work on it, but if you guys are all happy with your current editors then I'll tie up a working base version and leave it at that .... posting now to test the water ......

so I ask: does GG need a dedicated script editor and do you guys see my GG-Edit as a viable tool for the job?

https://www.dropbox.com/s/axyvfk1xu0li2sa/GG-Edit.rar?dl=0

Attachments

Login to view attachments
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 24th Feb 2016 22:36
Looks interesting. Will give it a look.
Thanks for making it.
Now if you can make it a visual editor, you will have a gold mine.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

Sanguis
GameGuru TGC Backer
13
Years of Service
User Offline
Joined: 10th Jan 2011
Location: Deutschland
Posted: 24th Feb 2016 22:56
Looks good
It's right, there are many Lua Editor Freewares out there. But not one dedicated to GG. So it would be nice to have this. Could be a timesaver for GG Scripter.
Alienware 17R3 Laptop - Win10 - 16GB Ram - NVIDIA® GeForce® GTX 980M - Intel® Core™ i7-6820HK
Corno_1
GameGuru Tool Maker
14
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 24th Feb 2016 23:10 Edited at: 24th Feb 2016 23:14
Looks nice. I had the same idea, but never get to a point for a release, because lack of time and I had problems with a compiler function.

So great to hear that someone managed to do this

I will test it and give a review

In which programming language is it? Will it be free or paid? Open source? How the commands are stored, so easy updating without touching the source code?
A lot of questions, but I am into it
My dream is to develope games, which makes fun when I create it and fun when other people play it.
PM
HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 25th Feb 2016 00:15
Quote: "do you guys see my GG-Edit as a viable tool for the job?"


well yes... i am not a good coder, so any help with that is more then welcome


Harry
Harry
When nothing goes right, go left
PM
Belidos
3D Media Maker
9
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 25th Feb 2016 07:48
Quote: "so I ask: does GG need a dedicated script editor and do you guys see my GG-Edit as a viable tool for the job?"


Definitely, yes! Only one issue I can think of though, how dedicated to updating it are you? Gamegurus LUA is in a constant state of change because Lee is opening up new elements pretty much in every update, so for this to be a viable tool it needs to be kept up to date. If you can commit to that, then great job!
i7, NV960 4GB, 16GB memory, 2x 4TB Hybrid, Win10.
i5 , AMD 6770 1GB, 8GB memory, 512GB Generic SATAIII + 2TB Seagate Baracuda SATAIII, Win7.
i3, Radeon integrated graphics, 4GB memory, 512gB Generic SATAII, Win8.1.
Q6600, Intel integrated graphics, 2GB memory, 180GB Generic SATAII, WinXP.
PartTimeCoder
9
Years of Service
User Offline
Joined: 9th Mar 2015
Location:
Posted: 25th Feb 2016 10:45
Quote: "In which programming language is it? "


Its being developed in PureBasic, don't be fooled by the Basic part PB is a very powerful and robust but easy to use dev tool I love using it.

Quote: "Will it be free or paid? Open source? "


Well I would like as many people as possible to use it so if I do charge it wont be much, I think a few quid in return for my time and efforts is not much to ask and were all pros here lol, maybe a free restricted and paid full version, I don't know maybe the community could suggest a pricing model everyone is happy with?

Quote: "How the commands are stored, so easy updating without touching the source code? "

Quote: "Only one issue I can think of though, how dedicated to updating it are you?"


it would make no sense at all to hard code the api and keyword system, the entire thing is already user updatable, the autocomplete system draws its info from "API\*.api" but currently only loads the 2 existing files, I can make it recurse so users can add as many .api files as they like as I know some of you add your own functions to globals.lua so you would be able to add them to the autocomplete system and have them highlighted, the keyword and syntax highlight draws its keyword data from "API\keyword*.kw" and style data from Styles.xml, currently Styles.xml is generated at runtime and overwritten each time (this was for generation and testing purposes) I will write some documentation on updating once I have finalised the system itsself

I always like my software to be bug free so I will commit 100% to a stable version but having an accurate autocomplete system highly depends on Lee and the team publishing an accurate list of functions, there are already a bunch of direct call lua functions (AI*) not listed in globals.lua and therefore not currently covered by the autocomplete and syntax system, I will ask Lee for an updated list at some point but for now I more focused on getting all I can out of the Scintilla editor, there is still much of the api I'v yet to explore.

I do plan on making the best editor for GG I possibly can.

Quote: "Now if you can make it a visual editor, you will have a gold mine."


Yea I like gold mines, I also like my hair attached to my head! lol, is there not a visual lua editor already being developed by another forum user or is that project dead in the water .......... if its dead I'd gladly pick it up as I do have some experience with Blocky, dont want to tread on any toes tho!
PM
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 25th Feb 2016 12:45
sounds like awesome stuff, and admit Purebasic is very very powerful. Look forward to seeing the end result. Thumbs up
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, SQL, PL-SQL, JavaScript, HTML, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; LG TFT monitor (widescreen). Wanting a new PC at some point.
Interests: Drumming, Saxophone, Art, Theatre, Music.
Corno_1
GameGuru Tool Maker
14
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 25th Feb 2016 13:38
Quote: "Its being developed in PureBasic, don't be fooled by the Basic part PB is a very powerful and robust but easy to use dev tool I love using it."

I never used basic, exept agk tier 1. The programing language always decided by the developer, where he feels best, so do it I just ask.

I can not say anything about a price, because I will not use it. I decided to use ZeroBrane and now I am familiar with this.

Quote: "ont want to tread on any toes tho!"

If you can and want, do it! We do not need monopols, we need options.
My dream is to develope games, which makes fun when I create it and fun when other people play it.
PM

Login to post a reply

Server time is: 2024-12-21 19:01:20
Your offset time is: 2024-12-21 19:01:20