(????BGM???) - PowerPoint PPT Presentation

About This Presentation
Title:

(????BGM???)

Description:

6 BGM wav ... – PowerPoint PPT presentation

Number of Views:242
Avg rating:3.0/5.0
Slides: 17
Provided by: webSfcK
Category:
Tags: bgm

less

Transcript and Presenter's Notes

Title: (????BGM???)


1
??????????
  • ?6???????!
  • (????BGM???)

2
????????
  • wav?????????????????
  • midi?????????
  • (??????????????)??????
  • ??????midi?????????????
  • docomo?mld????
  • au?pmd,mmf????(?????????)
  • vodafone?spf,mmf????

3
gameCanvas??????
  • gameCanvas?????????????????
  • ???
  • ????????
  • ??????????????
  • BGM
  • ?????????
  • ?????BGM 0?BGM 1???????????
  • ????????????????BGM??????????????????????????????
    ?

4
?????????
  • ?????????
  • ????????snd0.mld?res??????
  • ????????
  • gameCanvas?sndX.mld?X?0????????????sndX.mld?game
    Canvas???????????????BGM??????????????????

5
??????????????
  • ????????????
  • gc.playSe(?????)
  • ?????????1??????
  • ???????0?????snd0.mld???????????
  • ??????????
  • gc.stopSe()

6
??????????
  • ????0????snd0.mld???????
  • snd1.mld?snd2.mld?????????
  • res??????????????????
  • ?????????????????
  • gc.playSe(1)
  • ?snd1.mld???

7
BGM???(1)
  • ?????????????midi????????(?.MID????)
  • ????????????????????
  • ???????midi????mld????

8
BGM???(2)
  • ???? sndX.mld?????BGM?bgmX.mld?????
  • ???????mld?bgmX.mld(X???)???
  • ???gameCanvas? bgm0.mld?????BGM????????????

9
BGM?????????
  • ??????playSe?????BGM????????????
  • gc.playBgm(BGM??)
  • ????????????
  • gc.changeBgmVolume(??)
  • ????0100?????
  • ???????????????????gc.changeSeVolume(??)

10
????BGM???
  • initGame???
  • BGM???????
  • ??????????????????????????

11
??????initGame???
  • ?????????????????????????????????????????????????
  • ????updateGame????????????
  • int gameState -1 //????
  • updateGame??
  • if(gameState -1 )
  • initGame()//???????????

12
????20?????????
  • ???????????????????
  • int p
  • ???????????????1???
  • p
  • ???20???????gameState?2????
  • ??????
  • if(p?20??????) gameState?2?

13
??????????????
  • gameState?2???????????????????(gc.playSe)
  • drawGame()???gameState????
  • ????????
  • if(gameState1)??????????
  • if(gameState2)??????????

14
?????????(1)
  • ??????????
  • ???????????
  • ?????????????
  • ????????????????
  • ????????
  • ?????????????????
  • ????????????????

15
?????????(2)
  • ??????????????????
  • ??????
  • bardx???
  • ?bardx?0??????
  • bardx???????
  • ??????????????????
  • ????????????????

16
?????????(3)
  • ?????
  • if(?????????????)
  • dy-dy // ?????????
  • if(??????????)dx
  • if(??????????)dx--
  • ?????????????????????(????????????????)
Write a Comment
User Comments (0)
About PowerShow.com