Posted 27 December 2012 - 07:56 AM
BlueSky software addon…
This is a new program i decided to make that will be similar to love2d when its done hopefully
It adds a couple of new libraries like the graphics library, file library, and clock library
Library Features:
sky.graphics:
setColours(backgroundcolour,textcolour)
rectangle(x1,y1,x2,y2,fill?,backgroundcolour,outline?,textcolour)
pixel(x,y,backgroundcolour,textcolour,text_item)
print(x,y,args(these will move to the same column of the next line))
write(x,y,text)
loads of new image and animation stuff coming soon…
sky.clock:
startTimer(name,time) – will trigger a skyTimer event with the name as p1
sky.file:
newBlueSkyFile(filename)
newFile(filename)
writeLine(file,line,data)
readFile(file) – returns table
getFiles(path) – returns table
Other Features:
Load function that runs before all else
Draw function that draws stuff
Input function that is triggered when there is an event
Update function that handles main code
Please remember…this is very new and has taken me about 2hrs…there will be loads of new features coming soon in about a week (after i go on holiday)
Thanks :D/>
This is a new program i decided to make that will be similar to love2d when its done hopefully
It adds a couple of new libraries like the graphics library, file library, and clock library
Library Features:
sky.graphics:
setColours(backgroundcolour,textcolour)
rectangle(x1,y1,x2,y2,fill?,backgroundcolour,outline?,textcolour)
pixel(x,y,backgroundcolour,textcolour,text_item)
print(x,y,args(these will move to the same column of the next line))
write(x,y,text)
loads of new image and animation stuff coming soon…
sky.clock:
startTimer(name,time) – will trigger a skyTimer event with the name as p1
sky.file:
newBlueSkyFile(filename)
newFile(filename)
writeLine(file,line,data)
readFile(file) – returns table
getFiles(path) – returns table
Other Features:
Load function that runs before all else
Draw function that draws stuff
Input function that is triggered when there is an event
Update function that handles main code
Please remember…this is very new and has taken me about 2hrs…there will be loads of new features coming soon in about a week (after i go on holiday)
Thanks :D/>