Young87

SmartCat's Blog

So happy to code my life!

游戏开发交流QQ群号60398951

当前位置:首页 >跨站数据测试

dig工具使用_让我们使用MelonJS构建Dig Dug游戏

dig工具使用

by Yazed Jamal

由Yazed Jamal

让我们使用MelonJS构建Dig Dug游戏 (Let’s build the Dig Dug game using MelonJS)

Recently I had the chance to watch Stranger Things Season 2. After watching it, I was very excited to see one of my favorite game during my childhood, “Dig Dug”, featured in the series. At the same time, I was searching for a game that I could build to practice my game development skills. So today I have decided that Dig Dug is the game.

最近,我有机会观看《陌生事物第二季》。看完之后,我很兴奋地看到了我童年时期最喜欢的游戏之一“挖挖”,该游戏是该系列的特色。 同时,我正在寻找可以用来练习游戏开发技能的游戏。 因此,今天我决定把Dig Dug当作游戏。

This Dig Dug version is not a complete version. It is only the basic mechanism of the game, which can be expand to a full working Dig Dug version later on.

此Dig Dug版本不是完整版本。 这只是游戏的基本机制,以后可以扩展到完整的Dig Dug版本。

MelonJS is the chosen framework, not because of any particular reason. I just picked it randomly from the many frameworks out there.

MelonJS是选择的框架,并非出于任何特殊原因。 我只是从那里的许多框架中随机选择了它。

Below are the steps that I will go through for this game development:

以下是我将进行此游戏开发的步骤:

  1. Setting up the framework

    建立框架
  2. Creating the ground

    创造基础
  3. Creating the digger

    创建挖掘者
  4. Creating the Monster

    创造怪物
  5. Creating the collision logic

    创建碰撞逻辑
  6. Adding Head Unit Display

    添加主机显示
  7. Adding sound effects and background music

    添加声音效果和背景音乐
  8. Adding the Intro screen

    添加介绍屏幕
  9. Final adjustment

    最终调整
  10. What’s next

    下一步是什么

第1步-设置框架 (Step 1 — Setting up the framework)

MelonJS recommends using the boilerplate provided by them, to start a game development. First, I need to download the boilerplate from GitHub.

MelonJS建议使用他们提供的样板开始游戏开发。 首先,我需要从GitHub下载样板。

I am going to clone the boilerplate to my local directory of choice:

我将样板克隆到我选择的本地目录中:

#terminalgit clone https://github.com/melonjs/boilerplate.git mylocalfolder

Then I will need to setup my own remote repository for the game by using this

除特别声明,本站所有文章均为原创,如需转载请以超级链接形式注明出处:SmartCat's Blog

上一篇: MySQL(四)基础概念PLUS-优化小细节,索引失效的情况

下一篇: STM32标准库与HAL库,寄存器对照表

精华推荐