RetroBASIC
Retrogamecoding(.org) => EGSL => Topic started by: Cybermonkey on November 12, 2012, 02:31:55 PM
-
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)
-
- 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.
-
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.
-
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. :)
-
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:
!"#$%&'()*+,-./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.
-
Two new functions are pie and fillpie.
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()
-
Ok, just a small update: the sdl monofonts are working now on Windows, too. Release is planned before christmas. So stay tuned, folks.
-
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....
-
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)?
-
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...
-
What about DokuWiki (https://www.dokuwiki.org/dokuwiki)? Basic256 documentation (http://doc.basic256.org/doku.php?id=en:start) uses it and it looks quite nice.