官术网_书友最值得收藏!

Summary

With the story of this little dragon, you learned a lot more about the engine. We loaded our first sprite sheet and understood what happens under the hood of animations by creating one by ourselves. You also learned how to repeat textures seamlessly. We then added some simple gravity and implemented rectangular collision detection. Finally, we discussed how to persistently store data in a web browser and play sounds using HTML5 audio. My best score at the time of writing this chapter was 103. Why don't you try and beat me?

In the next chapter, we'll be creating a space game. So fasten your seat belts, here we go!

主站蜘蛛池模板: 宜城市| 通山县| 玉环县| 平塘县| 营山县| 即墨市| 钟山县| 河西区| 苗栗县| 禄丰县| 荥阳市| 岢岚县| 景泰县| 永昌县| 泾川县| 阿荣旗| 双峰县| 临江市| 聂拉木县| 射阳县| 石家庄市| 庆城县| 巨鹿县| 长海县| 云霄县| 曲阜市| 陕西省| 同仁县| 克什克腾旗| 民县| 施秉县| 合江县| 南川市| 岐山县| 留坝县| 兴安盟| 吴忠市| 青神县| 沙洋县| 枝江市| 克东县|