Цветная, текстурированная, анимированая 3D лестница! правда на яваскрипте ))) HTML: <html> <head> <title>Цветная, текстурированная, анимированая 3D лестница!</title> <style type="text/css"> span {font-size:10px;font-family: monospace;text-decoration : underline;}; </style> </head> <body> <div id="lestnica"></div> <script language="JavaScript1.2"> decor = new Array('#','@','$','O','Ж'); decor_color = new Array('red','yellow','green','blue','black'); it=decor.length-1; speed=2; //1-10 function redraw() { var str=''; len=100; ind=1; steps = 25; index=ind*2; decorindex = it; for (i=1;i<=steps;i++){ x1=len/2-i*index; x2=i*index*2; str = str + '<span style="text-decoration : none;">'; str = str + str_repeat(' ', x1); str = str + '</span>'; str = str + '<span style="background-color:'+decor_color[decorindex]+';">'; str = str + "|"; str = str + str_repeat(decor[decorindex],x2); str = str + "|"; str = str + "</span><br>"; decorindex ++; if (decorindex== decor.length) {decorindex=0;} } var obj = document.getElementById('lestnica'); obj.innerHTML = str; it --; if (it == -1) {it=decor.length-1;} setTimeout("redraw()",speed*100); } function str_repeat(lit,count) { res = ''; for (t=0;t<count;t++) {res = res+lit;} return res; } redraw(0); </script> </body> </html>
Sergey89 может прикрутишь к человеку парашют? Чтобы когда он падал, парашют открывался бы и у него произошла бы мягкая посадка на землю... =))) он будет типо десантник... потом вытащит автомат и будет стрелять в приближаюшихся врагов с разных сторон... кто текстуру прорисует? )
Вот вам еще динамики - 1.0Reliz моей "Лесенка и Human", смотреть в IE6 чтобы ничего не съезжало: http://tanksfactory.ru/lestnica.php