Live ClojureScript Game Editor

Channel:ibdknox · Length:5:27 · Published:2012-02-27 · Views:33524

Watch on YouTube

Summary

A five-minute demo of a live ClojureScript game editor by Chris Granger. It is based on Bret Victor's demo from the Inventing on Principle talk, with code changes reflected instantly in the running game.

Why HN recommends it

Cited as an early example of live coding applied beyond debugging, and as precursor to Light Table.

These are couple of good examples — HN, 2012

Functional programming · Testing, debugging & developer tools · GUI, HCI & interface history

Subtitles (excerpt)

you know Brett Victor showed some really really cool Demos in his talk and I was curious kind of after I saw it how hard it would actually be to go about trying to to build one of these myself and so I created sort of the live editable game demo that he had so you can see here I have some closure script code on the left side I have the game running on the right side and you know I can move around I can jump there's Collision if I fall off the edge I die and restart um but the point he was making with his game was that you wanted to be you know connected with the thing you had created and that means being able to to edit it in place so for example you know I have this draw player function I can actually change the color of my player right I do that bam now it's pink right that's kind of a trivial example let's actually change the speed of the player right now I'm really fast eight instead of five or I can make myself really slow slow so now I move really painfully slow here or um you know I can change things like how high my jump goes as an example is one of the things he also did so now I jump a little bit higher and let's make it totally ridiculous 22 now I jump really high um but I think the more

On Hacker News

I like interactive, but it seems to work well only if you can simulate the commandline well enough in the browser (like Codecademy does). If you do anything advanced, it has to be done really well. These are couple of good examples: [LINK] [VIDEO] — revorad, 2012-03
"Of course ..." is that really true though? From the very beginning, the very first demo, Chris Granger mentions that he got inspired by Bret Victor's Inventing on Principle demo. He mentions it in the first blog post as well :p No mentions of smalltalk Chris Granger's first video on LightTable: [VIDEO] Chris Granger's first blog post on LightTable: [LINK] — azeirah, 2016-10
Hmm. I work with Eclipse a lot, but this is not just visual. Maybe I use something different but the way of organizing your methods on screen and the actual live coding I don't have in Eclipse. We're not talking 'debug' here; we're talking live coding. Did you check videos like: [VIDEO] If you can do that with Eclipse & Android, please tell me how because then I have been stupid (which is very po… — tluyben2, 2012-05
I also made a ClojureScript version of Bret Victor's interactive editor applied to game development: [LINK] Video here: [VIDEO] — ibdknox, 2012-03

Related videos