A year later...

2 views
Skip to first unread message

Jos Yule

unread,
Jul 10, 2011, 11:01:03 PM7/10/11
to SWFt Game Framework
Hello all (that are still here!).

This project had a rocket start, a engine failure on launch, and has
been sitting dormant for a year now.

One thing that has happened that i think could be useful to "relaunch"
things is the development of the covariant auto-mediation utility for
RL.

See this blog post:

http://guyinthechair.com/2011/07/design-by-contract-in-robotlegs-1-4/

and repo @ github:

https://github.com/dnalot/robotlegs-utilities-variance

This allows for view items to implement interfaces and then have
multiple mediators. So you can have the player's avatar implement the
IMouseControl & IPhysics interfaces, and when it is added to the
screen, it will get the IMouseControlMediator implementation and the
IPhysicsMediator implementation.

Just trying to kick off some discussion about this again.

Is there any one still there interested in a light-weight DI game
framework? I have to go back and re-read the message threads - they
were so inspiring! And all the packages/libraries have come such a far
way in the past year, and the way they can be used is better
understood.

Most of my use of RL in the games i've been creating has been to deal
with everything other then the "core" game engine. This is, generally
i MC/Sprite extended class, with all my game specific stuff wrapped
into it. I'd love to "componentize" it out, and make use of RL to a
greater extent.

Next steps?!

jos

ps. i might just have too much time (or not enough - tool building
rather then doing actual work!) on my hands right now. :)

Michael Cann

unread,
Jul 11, 2011, 5:38:11 AM7/11/11
to swft-fr...@googlegroups.com
Hello Hello!

Wow talk about blast from the bast. Great to see at least one person still interested :)

Yes, well the project was going well but if you remember there were licencing complications introduced on my part due to my employment situation. Things have changed since those days however, im hoping now that it shouldn't be a problem, so if there was still interest in the project I could continue to contribute to swft. 

In in the intervening months I have continued to think about and work on swft, just none of it made it to commit. If people are still interested ill post a summary of where swft was at when we left it and my thoughts and developments since then.

As for the design by contract / multiple-mediator links that certainty is very interesting. I wonder what the performance hit is of using "is" rather than the usual type comparison method, probably some performance stats needed here. Its an interesting solution to the "DI inheritance" problem which I have encountered during development and is a whole 'nother topic of conversation ;)

Anyways, its great to see some interest in the project still, lets hope it doesn't fizzle out again :)

Mike

Jos Yule

unread,
Jul 12, 2011, 1:25:41 PM7/12/11
to SWFt Game Framework
I'd love a summary of what you have done over the past year -
interesting to see how things have evolved with real use!

I was thinking of the DBC/covariant auto-mediation thing more for
Entities - rather then [Include]-ing components, you would simple
extend an Interface. When you created an instance of that Entity, the
injector would add the appropriate Component. So, it would be a
ComponentMap, rather then a mediator map. This would also force you to
think about the Component's API...

That's what i'm thinking for now, anyway! I'm still mostly talk, and
little code, so as usual, take everything with a grain of salt!

j

Michael Cann

unread,
Jul 12, 2011, 2:25:33 PM7/12/11
to swft-fr...@googlegroups.com
Okay cool, well im a little busy tonight (trying to speed-read Stray and Joel's RobotLegs book :P) but in the next few days (perhaps even this weekend) ill put together a summary.

Cheers,
Mike

Jos Yule

unread,
Jul 12, 2011, 3:33:56 PM7/12/11
to SWFt Game Framework
No worries - when you get time. Also, how did you get a copy of the
book? Has it been realeased now!? I'm going to have to get a copy...
Which means you have time to get back to me as I'll be reading it too!

J

Jos Yule

unread,
Jul 12, 2011, 4:08:37 PM7/12/11
to SWFt Game Framework
Dang, not till the 22nd here.

Michael Cann

unread,
Jul 13, 2011, 11:46:01 AM7/13/11
to swft-fr...@googlegroups.com
No it was an advance copy, I was supposed to be helping by reading it and checking for errors and things, unfortunately I have been severely time constrained at the moment so couldn't give it much of a read :( Oh well ill still be buying it when its out :)
Reply all
Reply to author
Forward
0 new messages