freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

仿雷霆戰(zhàn)機(jī)——光影空戰(zhàn)_二級(jí)課題報(bào)告-資料下載頁(yè)

2025-06-02 01:24本頁(yè)面
  

【正文】 新 姓名:王彥培 課題名稱(chēng):仿雷霆戰(zhàn)機(jī) —— 光影空戰(zhàn) 35 九月十一號(hào) 參考源代碼版面類(lèi)的設(shè)置,鍵 盤(pán)監(jiān)聽(tīng)參考子彈設(shè)置類(lèi)的源代碼,及子彈移動(dòng)的源代碼 編寫(xiě)面板類(lèi)代碼和設(shè)置為鍵盤(pán)監(jiān)聽(tīng),子彈移動(dòng)的代碼 九月十二號(hào) 上網(wǎng)搜索資料 設(shè)置圖片和子彈圖片 九月十三號(hào) 圖書(shū)館查資料 寫(xiě)報(bào)告 上午 下午 九月十六號(hào) 實(shí)現(xiàn)鍵盤(pán)監(jiān)聽(tīng) 查看資料 九月十七號(hào) 實(shí)現(xiàn)玩家戰(zhàn)機(jī),各種bo ss子彈發(fā)射 參考資料書(shū) 九月十八號(hào) 實(shí)現(xiàn)動(dòng)態(tài)背景效果圖; 寫(xiě)報(bào)告 九月十九號(hào) 增加音樂(lè)效果,制 ppt 匯報(bào)驗(yàn)收,寫(xiě)報(bào)告 九月二十號(hào) 匯報(bào)驗(yàn)收,寫(xiě)報(bào)告 寫(xiě)報(bào)告 附錄 2 游戲代碼 package simple。 import 。 import 。 import 。 import 。 import 。 姓名:王彥培 課題名稱(chēng):仿雷霆戰(zhàn)機(jī) —— 光影空戰(zhàn) 36 import 。 public class GameMain extends JFrame { private static final long serialVersionUID = 5444035349167086790L。 private KeyboardPanel keyboardPanel = new KeyboardPanel()。 public static AudioClip BackMusic。 @SuppressWarnings(deprecation) public GameMain(){ ()。 try { BackMusic = (new File(src/image/).toURL())。 } catch (MalformedURLException e) { ()。 } add(keyboardPanel)。 ()。 ()。 (true)。 } public static void main(String[] args) { 姓名:王彥培 課題名稱(chēng):仿雷霆戰(zhàn)機(jī) —— 光影空戰(zhàn) 37 GameMain frame = new GameMain()。 (光影空戰(zhàn) )。 (560, 700)。 (null)。 ()。 (true)。 } } package simple。 import 。 import 。 import 。 import 。 import 。 import .*。 public class KeyboardPanel extends constant{ private static final long serialVersionUID = 7820830326982686769L。 private static boolean isTrue = false。 private static boolean is = false。 private static boolean IsTrue = false。 private static boolean Is = false。 Timer timer = new Timer(delay,new TimerListener())。 //鍵盤(pán)監(jiān)聽(tīng)方法 Bullet bullet = new Bullet()。 姓名:王彥培 課題名稱(chēng):仿雷霆戰(zhàn)機(jī) —— 光影空戰(zhàn) 38 public KeyboardPanel() { ()。 addKeyListener( new KeyAdapter(){ public void keyPressed(KeyEvent e){ switch (()){ case : y += 20。 if(y 580) y = 580。 break。 case : y = 20。 if(y 0) y = 0。 break。 case : x = 20。 if(x 0) x = 0。 break。 case : x += 20。 if(x 500) x = 500。 break。 case : isTrue = true。 is = true。 break。 case : IsTrue = true。 Is = true。 break。 } } 姓名:王彥培 課題名稱(chēng):仿雷霆戰(zhàn)機(jī) —— 光影空戰(zhàn) 39 })。 } class TimerListener implements ActionListener{ public void actionPerformed(ActionEvent e){ repaint()。 } } protected void paintComponent(Graphics g){ (g)。 (g)。 (image0, x, y,80,80,null)。 if (is){ is = false。 xball = x190。 yball = y。 } if (isTrue){ (ballRedimage5_1, xball+220, yball,60,60, null)。 (ballRedimage5_1, xball+190, yball,60,60, null)。 (ballRedimage5_1, xball+200, yball,60,60, null)。 (ballRedimage5_1, xball+210, yball,60,60, null)。 yball = 100。 } 姓名:王彥培 課題名稱(chēng):仿雷霆戰(zhàn)機(jī) —— 光影空戰(zhàn) 40 if (Is){ Is = false。 Xball = x210。 Yball = y。 } if (IsTrue){ (enemyBimage2_3, Xball+220, Yball,60,60, null)。 (enemyBimage2_3, Xball+190, Yball,60,60, null)。 (enemyBimage2_3, Xball+200, Yball,60,60, null)。 (enemyBimage2_3, Xball+210, Yball,60,60, null)。 Yball = 100。 } } } package simple。 import 。 import 。 import 。 public class imageArray extends JPanel { private static final long serialVersionUID = 9193602567989822345L。 ImageIcon imageicon0 = new ImageIcon(src/image/)。 姓名:王彥培 課題名稱(chēng):仿雷霆戰(zhàn)機(jī) —— 光影空戰(zhàn) 41 Image image0 = ()。 ImageIcon imageicon1 = new ImageIcon(src/image/)。 Image enemyAimage1 = ()。 ImageIcon imageicon2= new ImageIcon(src/image/)。 Image enemyBimage2 = ()。 ImageIcon imageicon2_1 = new ImageIcon(src/image/)。 Image enemyAimage2_1 = ()。 ImageIcon imageicon2_2= new ImageIcon(src/image/)。 Image enemyBimage2_2 = ()。 ImageIcon imageicon2_3= new ImageIcon(src/image/)。 Image enemyBimage2_3 = ()。 ImageIcon imageicon5 = new ImageIcon(src/image/)。 Image ballBlueimage5 = ()。 ImageIcon imageicon5_1 = new ImageIcon(src/image/)。 Image ballRedimage5_1 = ()。 姓名:王彥培 課題名稱(chēng):仿雷霆戰(zhàn)機(jī) —— 光影空戰(zhàn) 42 ImageIcon imageicon6 = new ImageIcon(src/image/)。 Image ballgreenimage6 = ()。 ImageIcon imageicon6_2 = new ImageIcon(src/image/)。 Image enemyBimage6_2 = ()。 ImageIcon BigBossimageicon= new ImageIcon(src/image/)。 Image BigBossimage = ()。 ImageIcon enemyBulletimageicon= new ImageIcon(src/image/)。 Image enemyBulletimage = ()。 ImageIcon imageicon7 = new ImageIcon(src/image/)。 Image backimage7 = ()。 ImageIcon imageicon8 = new ImageIcon(src/image/)。 Image backimage8 = ()。 ImageIcon imageicon9 = new ImageIcon(src/image/)。 Image backimage9 = ()。 ImageIcon imageicon10 = new ImageIcon(src/image/)。 Image backimage10 = ()。 姓名:王彥培 課題名稱(chēng):仿雷霆戰(zhàn)機(jī) —— 光影空戰(zhàn) 43 } package simple。 class constant extends imageArray { private static final long serialVersionUID = 5213376169587631914L。 int x = 260。 int y = 580。 int count = 0。//大 boss 移動(dòng)計(jì)數(shù)器 int delay = 50。 int xball = int yball = 500。 int Xball = int Yball = 500。 int x001 = 0。 //背景一坐標(biāo) int y001 = 0。 int x002 = 0。 //背景二坐標(biāo) int y002 = 700。
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報(bào)告相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1