Tubulii
06-08-2011 15:42:33
Hi,
I converted Gorilla to vb.Net. It started as a simple test and comes out as Gorilla.Net. I have tested most of the code (ok, the examples). ANYTHING should work( = no exception
), except ScreenRenderable . Download and try it by your self:
Note: If you want this to use in C# than either convert it to c# or compile it as an .dll and than add it to your project.
Known Bug:
Some chars are wrong (depends on font height) -> solution: use other font height
Differences to Gorilla (and MogreGorilla):
MarkupText now supports All colors (using hex colors). In Gorilla you can only use 9 default colors. I changed the code a bit.
But you can still use the old markup-index-system but you have now 141 colors (0 is white, like in Gorilla but the color order has changed) or the hex colors.
Usage:
Tip: Use helper functions (in Utils.vb) to avoid handling with hex values:
the code above with helper functions:
Most of the methods are replaced with properties (.eg. function GetText and sub SetText with property Text and have there original xml comments.
The Utils.vb conatins usefull function for color handling.
GorillaConsole:
Features: Text highlight, autocompletion, (basic) plugin support (-> extendable), Uses only Gorilla.Net functions, Argumentinfo





And the original Gorilla : https://github.com/betajaen/gorilla
Thanks betajaen for such a great Gorilla
I converted Gorilla to vb.Net. It started as a simple test and comes out as Gorilla.Net. I have tested most of the code (ok, the examples). ANYTHING should work( = no exception

Note: If you want this to use in C# than either convert it to c# or compile it as an .dll and than add it to your project.
Known Bug:
Some chars are wrong (depends on font height) -> solution: use other font height

Differences to Gorilla (and MogreGorilla):
MarkupText now supports All colors (using hex colors). In Gorilla you can only use 9 default colors. I changed the code a bit.
But you can still use the old markup-index-system but you have now 141 colors (0 is white, like in Gorilla but the color order has changed) or the hex colors.
Usage:
markuptext1.text = "%FF0000Gorilla.Net%0 is red and %00FF00this is green"
Tip: Use helper functions (in Utils.vb) to avoid handling with hex values:
the code above with helper functions:
markuptext1.text = markup("Gorilla.Net", color.red) +" is red and "+markup("this is green",color.green)"
Most of the methods are replaced with properties (.eg. function GetText and sub SetText with property Text and have there original xml comments.
The Utils.vb conatins usefull function for color handling.
GorillaConsole:
Features: Text highlight, autocompletion, (basic) plugin support (-> extendable), Uses only Gorilla.Net functions, Argumentinfo
And the original Gorilla : https://github.com/betajaen/gorilla
Thanks betajaen for such a great Gorilla
