comparison dandy.cc @ 6:581fa1888e2e

add bullet
author tkaito
date Mon, 07 Jun 2010 18:58:59 +0900
parents e089ac9ea221
children b0248931e40f
comparison
equal deleted inserted replaced
5:57af5c610b34 6:581fa1888e2e
15 15
16 sgroot->createFromXMLfile("xml/mydandy.xml"); 16 sgroot->createFromXMLfile("xml/mydandy.xml");
17 sgroot->createFromXMLfile("xml/title2.xml"); 17 sgroot->createFromXMLfile("xml/title2.xml");
18 sgroot->createFromXMLfile("xml/gameover.xml"); 18 sgroot->createFromXMLfile("xml/gameover.xml");
19 sgroot->createFromXMLfile("xml/enemy_greenclab.xml"); 19 sgroot->createFromXMLfile("xml/enemy_greenclab.xml");
20 sgroot->createFromXMLfile("xml/bluebullet.xml");
21 sgroot->createFromXMLfile("xml/redbullet.xml");
22
20 23
21 24
22 back = sgroot->createSceneGraph(); 25 back = sgroot->createSceneGraph();
23 title = sgroot->createSceneGraph("title001"); 26 title = sgroot->createSceneGraph("title001");
24 title->xyz[0] = w/2; 27 title->xyz[0] = w/2;