Saturday, 22 August 2015

Ludum Dare 33

A new ludum dare has begun and I'm taking part again :D

Been looking at how to have programs hosted through google drive and then embedded onto webpages. Experimenting with that below:

Awesome, it just works! :D Source code for what I end up making will be on Github like last time:

Saturday, 8 August 2015

Javascript Text Editor

Many of my coding project have been Javascript based for the simple fact that nothing is better for click and play function and ease of source code sharing. One thing it lacks though is easy file read/write access. This is for the extremely sensible reason of not allowing any arbitrary script edit the contents of your hard-drive when you load a page, that would be chaos!

Files can be saved and loaded by the user though so with significant help from the example script on the blog This Could Be Better I've made a proof-of-concept file loader and editor. This opens up all kinds of exciting prospects for projects which are more than little toys. There are several things I experimented with in Java which would benefit from such functionality if ported to Javascript. :D

Javascript Text Editor
File : Save as :

I could even write code in this browser based editor :3