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

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!

主站蜘蛛池模板: 濮阳县| 镇雄县| 乐都县| 安阳县| 本溪市| 怀远县| 绍兴市| 台江县| 内乡县| 鹤岗市| 泽库县| 浦城县| 凉山| 出国| 新泰市| 紫云| 三明市| 邵阳市| 通州区| 东丽区| 疏附县| 松原市| 邵武市| 宜章县| 普格县| 潜江市| 理塘县| 福贡县| 浑源县| 邯郸县| 嘉义县| 称多县| 吐鲁番市| 西乡县| 广水市| 丰县| 阿城市| 句容市| 栾城县| 剑阁县| 右玉县|