Goodbye Retro Flow API

Click here to play.

Click here to play.

Click here to play.
I developed Retro Flow API in AS3 in 2009 specifically for Ludum Dare. Once Flash was officially depricated it was time to move on.
Hello Super Flow SDK
The past few weeks I’ve been developing a fresh new Javascript Software Development Kit tentatively named “Super Flow”.
I figured it was time to make my “Dream API” for Game Jams and Ludum Dare, something that had a few specific requirements:
- Convenient programming.
- Deployable to the web without plugins
- One programming language for everything.
I came up with a concept I call directives-based programming.
In practice it’s a modular server/client API. In reality it’s a bit of a paradigm shift in the way you write multi-runtime software.
Directives may or may not be a new concept, I do not know but they will definitely require a tutorial for me to adequately demonstrate their power. I feel that once you understand the concept its power will be very evident.
Technically speaking directives allow you to define data and entry points for multi-runtime software in any execution order without repeating code using one language.
Why that’s useful comes down to convenience. It’s an extremely convenient way to write complicated software for the web such as web games.
// in one file...
_.server()
_.remote("do_something",function(arg1,arg2){
trace("a client called this function with arg1 =" + arg1 + " and arg2 = " + arg2 )
})
_.client()
_.ready(function(){
send("do_something", 0, 0 )
})
This doesn’t give it justice at all. Like I say, some tutorials will clear up how powerful this concept really is in the near future.
Super Flow Prototype 3
Althought I’m developing a complete SDK (software development kit), complete a powerful IDE (integrated development environment), I’ll be using Super Flow Prototype 3 this Ludum Dare.
This was the first solid prototype that really took advantage of directives. It resembles very closely the final design of the API.
Click here (25.2 kb ZIP) – download Super Flow Prototype 3 w/ Net Tank Source Code.
Requires NodeJS,
type “node sf.js server” to run.
Browse to http://localhost:8080 to play the game.
Docs
Sorry, there are no docs yet.
Oh btw I also used “_” object to make my own jQuery thingy once haha
I honestly don’t understand your statements – you call this an API and then you talk about an SDK and then you tell me it’s bunch of mods and then you talk about multi-runtime. I feel like the entire thing is scattered.
Well, as far as I know there are already lots of plugins that allow php and javascript merge pretty well in one place.
Really appreciate your response but you see, I could really care less about the prettiness of runtime-functionality made into modular components. Let PHP do what PHP does best. I don’t like forcing languages out of their natures, let each language do what it does best or you’re just making it pointless. Why not use a single-agreed upon language to everything? Because that’s a terrible idea. I do appreciate stuff like Node.js and all sorts of plugins but I guess I’m just not into the kind of stuff of twisting it too much, by the end of the day this means more vulnerability in the web. I prefer letting browsers leave HTML4 and go into the new era safely and slowly. So I guess this stuff isn’t my thing .. but I’m sure this is a cool thing I do like drag & drop features like everybody else =]
As for its usefulness – well, I mostly see potential in client-server based games which is most of the time multiplayer / shared worlds or stats.
All of the canvas and the boilerplate parts I guess are cool but I don’t get how they are dependent on this thing?
Couldn’t you just program it into some native JS module or something?