Bring a stick man to life.
51–60 of 75 posts
Re: Bring a stick man to life.
#52Re: Bring a stick man to life.
#53Re: Bring a stick man to life.
#54Re: Bring a stick man to life.
#55Re: Bring a stick man to life.
#56Re: Bring a stick man to life.
#57Re: Bring a stick man to life.
#58I love stuff like this. Im hearing the raphaelJS name a lot so it's nice to see what can be done with it. I just assumed the library was for drawing charts? But I guess it's more for vectors. Anyway - what I'm really looking forward to is realtime multiplayer / multiuser versions of all these great demos. Just think of the viral/network effect. I'm sure it's all quite possible now that we have node.js?
OK so this was done with vector graphics . I was thinking they were doing some sort of bitmap-grid skewing & stretching, but it seemed way too precise & neat. Thank you for stating the (what probably should have been) obvious ;)
Re: Bring a stick man to life.
#59Love it! For web-based animation, does anyone know how Raphael.js differs from processing.js? Why would I choose one over the other? Trying to differentiate the two.
Processing has a loop that runs every frame, in which you redraw the whole scene each time. So for a Tetris game, on each frame you'd draw all the blocks in their correct position. You maintain the game state however you like, you just tell processing what to draw each frame.
In Raphael, its more like a traditional game engine. You might for instance make a new Circle (or Monster, or Hero..), and give it properties and events. The redrawing would be handled for you.
Hope that helps/makes some amount of sense. My experience here is very limited, so its possible I'm misrepresenting one or both of the libraries.