Hi,
Here is a new version, which fixes some bugs, and which adds support for lots of libraries included in Ruby's stdlib. I added bigdecimal, digest, fcntl, stringio, strscan, zlib, enumerator, thread, and nkf. Of course, more libraries can be used, since some of them depend on the ones I added.
The socket extension still had some problems (I guess they happened each time a program tried to send some strings after having read some datas). I tested it by playing with a local IRC server :)
I've also played with sockets in a program I created (when I was testing DRb), which allows me to control my PSP from my computer through Ruby code. Look at the sample remote_ruby, which can be useful if you want to test Joyau.
The separation between sprites and buffers has also been increased: a buffer is nothing more than a graphical resource which is manipulated by sprites. A funny Ruby module allowing to create your own buffer library easily has also been added. You can now write such codes :
Another feature which I've added is the debugging screen. You can change the cursor's position, the used colors, and clear it (which means the exception-catcher must reset everything :P).Code:Joyau::Sprite.from_res_name("gray:sprite.png") Joyau::Sprite.from_res_name("red:sprite.png") Joyau::Sprite.from_res_name("green:sprite.png")
This can still be loaded on the same web page, which is still there, on github.


LinkBack URL
About LinkBacks
Reply With Quote


