Author Topic: EGSL 1.6.0  (Read 1994 times)

Cybermonkey

  • Administrator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
    • Home of EGSL
EGSL 1.6.0
« on: 12. November 2012, 15:31:55 »
Yes I know the release date should have been in October. I am actually working on the next release. What you can expect:
  • rectangle and fillrectangle which work slightly different from box and fillbox
  • a new font system called monofonts which can change the colour of the characters
  • a simple particles system
  • improved IDE with colour and font options
There will be no more .deb or .rpm packages for Linux. Just a plain tar.gz. The reason is that packaging for Linux is really time consuming (one needs 32 bit deb and rpm and 64 bit deb and rpm). At last the Windows version is still the most downloaded so I prefer to improve that installer. On the other hand you can expect a MacOS X version with IDE.
So stay tuned for more news soon ...  8)
Best regards,
Cybermonkey

Tomaaz

  • Guest
Re: EGSL 1.6.0
« Reply #1 on: 12. November 2012, 18:33:09 »
  • improved IDE with colour and font options

Are you going to implement all Lua functions (I mean for highlighting)? I know that EGSL has its own set of helper functions, but still it's possible to use all build-in Lua functions, so why not to support them in the IDE? You can use my Geany configuration file or I can send you text file with all keywords.

Cybermonkey

  • Administrator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
    • Home of EGSL
Re: EGSL 1.6.0
« Reply #2 on: 12. November 2012, 20:30:46 »
The EGSL-IDE uses the file "keywords.txt" (in the same folder as the IDE). So it is easy to add any keywords one wants to.
Best regards,
Cybermonkey

Tomaaz

  • Guest
Re: EGSL 1.6.0
« Reply #3 on: 12. November 2012, 21:12:43 »
I've added all Lua functions to keyword.txt file (see attachment). All you need to do to have them highlighted in EGSL-IDE is replacing old keyword.txt file with the new one. Hope it will be useful. :)

Cybermonkey

  • Administrator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
    • Home of EGSL
Re: EGSL 1.6.0
« Reply #4 on: 18. November 2012, 16:05:54 »
I just implemented the sdl-monofont functions into EGSL. What are the benefits? you might ask. It's now easy for anybody to create his/her own font with any paint program. (Though I recommend Gimp because one can disable the anti-aliasing of texts.) Just enter the following fontface into one line with your favourite font:
Quote
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~
Now we only need to mark the width of the characters in the first line with purple (color 255,0,255).
As an example see the attachments.
BTW, mono doesn't mean monospaced font but monocoloured font. As you can see the characters can have different widths.
« Last Edit: 18. November 2012, 16:08:13 by Cybermonkey »
Best regards,
Cybermonkey

Cybermonkey

  • Administrator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
    • Home of EGSL
Re: EGSL 1.6.0
« Reply #5 on: 18. November 2012, 22:17:12 »
Two new functions are pie and fillpie.

Code: [Select]
screen (800,600,0,"New features")
backcolour (100,25,25)
loadmonofont ("Fonts/MS Sans Serif Regular 12.bmp")
cls()
colour (0,120,0)
fillpie (400,300,200,12,39)
colour (255,255,0)
fillpie (400,300,200,39,12)
colour (0,0,0)
monotext (280,150,"I am not a Pacman but a Pie chart")
monotext (280,180,"functions pie(x,y,rad,start,end) ")
monotext (280,195,"and fillpie are implemented")
colour (255,255,255)
monotext (10,10,"int [works like trunc], round, floor and ceil are now implemented")
sync()
inkey()
closewindow() 
Best regards,
Cybermonkey

Cybermonkey

  • Administrator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
    • Home of EGSL
Re: EGSL 1.6.0
« Reply #6 on: 04. December 2012, 21:23:48 »
Ok, just a small update: the sdl monofonts are working now on Windows, too. Release is planned before christmas. So stay tuned, folks.
Best regards,
Cybermonkey

kevin

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
Re: EGSL 1.6.0
« Reply #7 on: 04. December 2012, 22:33:52 »
I'm looking forward to the new release ..... haven't tried it much yet but will do when the new version comes along...thank you for the time you are putting into this project....

Tomaaz

  • Guest
Re: EGSL 1.6.0
« Reply #8 on: 10. December 2012, 19:21:39 »
I've been thinking about helping with EGSL documentation for some time, but, unfortunately, it takes more time and is less fun than coding. I will have more free time soon and will try to edit some functions. So, I've got two question. First - how different the new 1.6.0 version will be? Second - are you planning to keep documentation in the same format (WoaS)?

Cybermonkey

  • Administrator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
    • Home of EGSL
Re: EGSL 1.6.0
« Reply #9 on: 10. December 2012, 19:58:57 »
Yes docu is less or even nor fun. :-( All functions from the old version are still valid on 1.6.0. At the moment I'd like to keep the documentaiton in the same format until someone can point me a better system...
Best regards,
Cybermonkey

Tomaaz

  • Guest
Re: EGSL 1.6.0
« Reply #10 on: 10. December 2012, 20:05:30 »
What about DokuWiki? Basic256 documentation uses it and it looks quite nice.