I would to present you new series of "Bored programmer", where I will show my new interesting effects in 2D/3D, games and maybe something more.
Please comment my work, feedback will be very helpful for me
This thread will be update from time to time, when I create something new.
----------------------------------------------------------------------------
Bored programmer - part one (balls)
UPDATED LINK
YouTube link: http://www.youtube.com/watch?v=VnhRtcIoiX0
Please view in HD! Quality is important!
Everything is rendered in real-time of course, using Irrlicht.
It's very simple algorithm, which checking in main loop positions of balls and colors with destination positions, and correcting them in single steps.
Little example:
Code: Select all
if ( ball.x > dest.x )
ball.x--;
(...)
ball->setPosition(vector3df(ball.x,ball.y,ball.z));
Everything is about 320 lines of code.
Very simple and simultaneously looking nice.
Update 15 May 2010:
Source: -DEPRECATED-
Update 25 May 2010:
License changed to zlib.
Source with new license: http://wklej.org/hash/985d5118917/