Afinal, nada melhor doque juntar robos dos anos 60 e 80 com uma imagem atual.
Tive esta ideia em algum dia da semana passada
Deixei uns toques de ferrugem para ele ficar mais ambientado no cenério.
import away3d.animators.PathAnimator;
import away3d.animators.data.Path;
private var camPath:Path;
private var camPathAnimator:PathAnimator;
private var time:Number = 0;
var aPath:Array = [
new Number3D(-433.7,315.5,-109.0),
new Number3D(-266.1,225.2,-416.4),
new Number3D( 467.9,071.0,-226.6),
new Number3D(467.9,071.0,-226.6),
new Number3D(582.3,170.2,-178.0),
new Number3D(426.6,145.4,388.6)
];
camPath = new Path(aPath);
var init:Object = { duration:1000,
lookat:null,
aligntopath:true,
targetobject:null,
offset:new Number3D(0,0,0),
rotations:null,
fps:24,
easein:false ,
easeout:false
};
camPathAnimator = new PathAnimator(camPath, view.camera, init);
//No enter frame
time = (time +0.01>1)? 0 : time+0.01;
camPathAnimator.update(time);public function indexAction()
{
$page = $this->getRequest()->getParam('page',false);//'www.8arte.net/wwpvisualizador';
$this->view->rss = $this->formatRSS( $page );
}
protected function formatRSS($dt,$title=false)
{
$config = Zend_Registry::get('config');
$base = $config->rss->base;
if(!$title) $title = $config->rss->title;
$ens = array();
$pageNome = 'www.8arte.net';
foreach( $this->comentarios->listComments($dt) as $com )
{
array_push( $ens,
array(
'title' => 'Comentário de '.$com['nome'],
'author' => $com['nome'],
'link' => 'http://'.$com['pagina_nome'].'/',
'description' => $com['coment']//$this->formatDescription($com['nome'],$com['web'],$com['coment'])
)
);
$pageNome = $com['pagina_nome'];
}
$rss = array(
'title' => $pageNome,
'link' => "http://$pageNome/",
'charset' => 'UTF-8',
'entries' => $ens,
'author' => 'Marcos Augusto Bitetti (marcosbitetti@gmail.com)',
'category' => "Comentários",
'image' => 'http://www.8arte.net/media/img/rss/rss_wild.jpg'
);
$feed = Zend_Feed::importArray($rss, 'rss');
return $feed->saveXML();
}private function addComents():void {
coment_list.removeAllChildren();
var ld:URLLoader = new URLLoader();
ld.addEventListener( Event.COMPLETE, addCommentsData);
ld.load( new URLRequest("http://www.8arte.net/comments/wwpvisualizador") );
}
private function addCommentsData( e:Event ):void {
var ld:URLLoader = e.target as URLLoader;
var com:Array = new Array();
//adiciona comentario principal
var t:TextArea = new TextArea();
t.percentWidth = 100;
t.height = 85;
t.wordWrap = true;
t.editable = false;
t.htmlText = '<img align="left" alt="gravatar" height="80" hspace="2" src="http://www.gravatar.com/avatar/aa6003be4294547ab18571dfca3e4522.png" vspace="0" width="80" />Bitetti (autor) Implementação de visualização de personagens do jogo Wild Witch Project.'+
'Utilizando Adobe Flex 4.0, Zend Framework e Flash Develop.'+
'Modelos 3D produzidos no Blender, texturas no Gimp, Inkscape e ArtRage2 (licenciado).'+
'Wild Witch Project sob licenca Creative Commons 3.0 - uso não comercial, atribuição e não derivação.';
coment_list.addChild(t);
//parse RSS
var feed:RSS20 = new RSS20();
feed.parse( ld.data as String );
ld = null;
System.gc();
for each( var i:Item20 in feed.items) {
t = new TextArea();
t.percentWidth = 100;
t.height = 85;
t.wordWrap = true;
t.editable = false;
t.htmlText = i.description;
coment_list.addChild(t);
}
}
| Char | Concept | Malha | Animação | Textura | Script* | Audio |
| Cibele | 100 | 0 | 0 | 0 | 0 | 0 |
| Aracne | 100 | 100 | 10 | 0 | 0 | - |
| Coisa Ruim | 100 | 0 | 0 | 0 | 0 | - |
| Fada Lime | 100 | 100 | 3 | 0 | 0 | - |
| Loira do Banheiro | 90 | 0 | 0 | 0 | 0 | - |
| Harpia | 0 | 0 | 0 | 0 | 0 | - |
| Trolls | 90 | 0 | 0 | 0 | 0 | - |
| Gil Gasaper | 60 | 0 | 0 | 0 | 0 | - |
| Velhão | 50 | 0 | 0 | 0 | 0 | - |
| Preto Velho Tarado | 80 | 0 | 0 | 0 | 0 | - |
| Neaderstalore | 60 | 0 | 0 | 0 | 0 | - |
| Monstro do Armário | 100 | 100 | 0 | 0 | 0 | - |
| Nesgóico | 100 | 100 | 0 | 0 | 0 | - |
| Crendeuspaldo | 100 | 0 | 0 | 0 | 0 | - |
| Firefox | 100 | 100 | 0 | 0 (normalmap) | 0 | - |
| Nerd das Montanhas | 100 | 0 | - | |||
| Winderfall | 100 | 100 | 0 | 100 | 0 | - |
| Mortos-vivos | 100 | 100 | 0 | 0 | 0 | - |
| Guarda-chuva | 100 | 100 | 0 | 0 | 0 | - |
