This release packs two new classes, Sound and Time.
Obviously, Sound class was added to make KonsolScript capable of playing sounds. The Sound class consists of the functions:
- Sound:GetStatus(sndHndl)
- Sound:Free(sndHndl)
- Sound:GetPan(sndHndl, Number_Var)
- Sound:GetVolume(sndHndl, Number_Var)
- Sound:GetLoop(sndHndl, Number_Var)
- Sound:SetPan(value,sndHndl)
- Sound:SetVolume(value,sndHndl)
- Sound:SetLoop(value,sndHndl)
- Sound:Pause(sndHndl)
- Sound:Stop(sndHndl)
- Sound:Play(sndHndl)
- Sound:Load(filename,Number_Var_sndHndl)
Please note that as of this release, the only supported format is WAV.
Time class is added to support user-defined function delay. The built-in Delay function of Konsol class does not provide accurate delay as tested on different CPU speed.
The functions inside Time class are as follows:
- Time:GetTimer(Number_Var)
- Time:GetMonth(Number_Var)
- Time:GetYear(Number_Var)
- Time:GetDay(Number_Var)
- Time:GetSecond(Number_Var)
- Time:GetMinute(Number_Var)
- Time:GetHour(Number_Var)
As always, KonsolScript is released in three zip files for tree different user-groups:
a binary distribution for the alpha testers (http://downloads.sourceforge.net/konsolscript/konsolscript_0_1_50_bin.zip).
source distribution for the researchers (http://downloads.sourceforge.net/konsolscript/konsolscript_0_1_50_src.zip).
and an end-user distribution for the beta testers (http://downloads.sourceforge.net/konsolscript/konsolscript_0_1_50_Setup.zip)
Some more news… Mj Mendoza IV has currently released an ebook that teaches programming using KonsolScript. This is an attempt to finally provide KonsolScript tutorial. Get the drafted ebook at (http://downloads.sourceforge.net/konsolscript/illustrated_konsolscripting_0_00_01.zip).



April 3rd, 2010 at 5:37 pm
[...] to DJ Peters’s FBSound, Quixie could play sounds now, It supports all the FreeKE’s Sound functions except [...]