ãªããéããã®ããã«ã¤ã㦠JSX éçºè ã®ç«å ´ããã ãã¨ãã°ãã·ã¥ã¼ãã£ã³ã°ã²ã¼ã ã§ä¸çªéããå¦çã¯ä½ããè¨ãã¾ã§ããªãè¡çªå¤å®ãå¤æ°ã®å¼¾ãæµæ©ã®è¡çªå¤å®ãæ¯ãã¬ã¼ã ãã¨ã«è¡ãå¿ è¦ãããããã®æ¼ç®ãéããã JSX ã«å梱ããã¦ãã web/example/shooting.jsx ã«ã¯è¡çªå¤å®ã®ã³ã¼ããè¤æ°ããããä¸çªéããã®ã¯ Bullet#update é¢æ°ã§ããã®å¦çã¯ä»¥ä¸ã®ããã«ãªã£ã¦ãã*1ã for (var rockKey in st.rocks) { var rock = st.rocks[rockKey]; if (this.detectCollision(rock)) { if (rock.hp == 0) return false; inDisplay = false; if (--rock.hp == 0) { st.score = Math.min(st.s
{{#tags}}- {{label}}
{{/tags}}