Archive for July, 2010
as3isolib Isometric Library

i’m going to start a personal project using an isometric view, and i just find about as3isolib
it´s a very useful library that could help you in building your own isometric game.
i uploaded already a few examples on GitHub, and i will continue uploading more examples on the road.
http://github.com/rauluranga/as3isolib-demos-bundle
you can find more info here and here.
cheers!
Playing with GitHub!
i started learning how GitHub works and created a new project http://github.com/GrupoW;
Learning git it’s a little bit more complicated than SVN, and if you are in MAC, installing it is another history! (you can go to this page for little help)
I´m going to start porting all the GrupoW googles repository to GitHub, yes……… i could export/import from SVN to GitHub but i also want to refactor some classes and remember, i´m doing this for learning purposes and because everybody is talking about git!!!.
so let’s start sharing code!
Weakreference + Robotlegs
yesterday i was wondering why i just couldn’t get the eventMap.mapListener to work as expected.
in my mediator class i have the next code:
1 2 3 | override public function onRegister():void { eventMap.mapListener(view, CustomEvent.CLICK, onClick); } |
the onClick handler never happens… (using Flash CS4)
but if i change that line to this:
1 | view.addEventListener(CustomEvent.CLICK, onClick) |
it works!
it also works with:
1 | eventMap.mapListener(view, CustomEvent.CLICK, onClick ,CustomEvent,false,0,false); |
after two hours of digging in, downgrading Robotlegs version, downgrading Flash IDE version, changing from PC to MAC, i just realized that i needed to ask to google san. (yeah!! after two hours i just realized that!, can you believe it??)
made the next search: “Weakreference + Robotlegs”
google’s response: 0.37 segs
google’s first result
my fix was, changing this:
1 2 3 4 5 6 7 8 | public class Main extends MovieClip { public function Main() { var context:MainContext = new MainContext(this,false); context.startup(); } } |
for this:
1 2 3 4 5 6 7 8 9 10 | public class Main extends MovieClip { private var context:MainContext; public function Main() { context = new MainContext(this,false); context.startup(); } } |
the GC was only doing his duty!
man, if i would have asked to google before, it would have saved two hours of my lifetime!.
Getting started with Robotlegs
i want to share all these links with you, helps you to start playing with RobotLegs from the very begining.
- Best Practices Documentation
- MVCS Class and Flow Diagram
- Robotlegs Internals (draft)
- Robotlegs Framework on Github
- Robotlegs Examples on Github
- Hello World video tutorial
- RobotLegs and FlashIDE
- Zend AMF + RobotLegs
- Playing with robotlegs modular
- Robotlegs Diagram
- Robotlegs beginner Q&A
- Robotlegs FDT Templates
- Shaun Smith (founder)
- Joel Hooks (colaborator)
