# Godot-Demos **Repository Path**: xia-ziren/Godot-Demos ## Basic Information - **Project Name**: Godot-Demos - **Description**: Godot demos and tutorials - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 1 - **Created**: 2021-05-15 - **Last Updated**: 2024-06-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Godot-Demos ![Godot 3.2](https://img.shields.io/badge/Godot-v3.2-%23478cbf?logo=godot-engine&logoColor=white) My godot learning tutorials and blog articles, demos. Find more at my blog: [http://liuqingwen.me](http://liuqingwen.me) *** ## Demo14: Godot Game DevLog 3 - introduce a new AI path finding method 文章链接: [Godot游戏开发实践之三:容易被忽视的Resource](http://liuqingwen.me/2020/08/17/godot-game-devLog-3-talk-about-resource/) *本篇讲解到的知识点:* 1. Resource 的创建与使用 2. Resource 相关问题与局限 3. Resource 应用之一:数据容积 4. Resource 应用之二:全局事件模式 ![Demo14](https://github.com/spkingr/Godot-Demos/raw/master/Images/demo14.jpg) *** ## Demo13: Godot Game DevLog 2 - introduce a new AI path finding method 文章链接: [Godot游戏开发实践之二:AI之寻路新方式](http://liuqingwen.me/2020/08/01/godot-game-devLog-2-introduce-a-new-AI-path-finding-method/) *本篇讲解到的知识点:* 1. AI 寻路的几种方式 2. 场景结构继承等简单介绍 ![Demo13](https://github.com/spkingr/Godot-Demos/raw/master/Images/demo13.gif) *** ## Demo12: Godot Game DevLog 1 - making game with high level multiplayer API 文章链接: - [Godot游戏开发实践之一:使用High Level Multiplayer API制作多人游戏(上)](http://liuqingwen.me/2020/07/22/godot-game-devLog-1-making-game-with-high-level-multiplayer-api-part-1/) - [Godot游戏开发实践之一:使用High Level Multiplayer API制作多人游戏(下)](http://liuqingwen.me/2020/07/22/godot-game-devLog-1-making-game-with-high-level-multiplayer-api-part-2/) *本篇讲解到的知识点:* 1. 局域网多人联网游戏开发介绍 2. 远程调用基础知识 3. Godot 中几个重要的关键字 4. 游戏结构、代码简析 5. 经验总结 ![Demo12](https://github.com/spkingr/Godot-Demos/raw/master/Images/demo12.jpg) *** ## Demo11: Introduction of Godot 3 part 15 - several usage examples of RigidBody2D node in games 文章链接: [Godot3游戏引擎入门之十五:RigidBody2D刚体节点的几种应用场景及示例](http://liuqingwen.me/2019/07/31/introduction-of-godot-3-part-15-several-usage-examples-of-rigidbody2d-node-in-games/) *本篇讲解到的知识点:* 1. 刚体节点作为普通的游戏物品或者元素 2. 刚体节点响应鼠标事件进行拖拽 3. 利用刚体节点实现爆破特效 4. 随机生成地图的应用 ![Demo11-1](https://github.com/spkingr/Godot-Demos/raw/master/Images/demo11-1.gif) ![Demo11-2](https://github.com/spkingr/Godot-Demos/raw/master/Images/demo11-2.gif) *** ## Demo10: Introduction of Godot 3 part 14 - Make a game with RigidBody2D node and the FSM introduction 文章链接:[Godot3游戏引擎入门之十四:RigidBody2D刚体节点的应用以及简单的FSM状态机介绍](http://liuqingwen.me/2019/07/20/introduction-of-godot-3-part-14-make-a-game-with-rigidbody2d-node-and-the-fsm-introduction) *本篇讲解到的知识点:* 1. 介绍 RigidBody2D 刚体节点的基本属性 2. 刚体节点的基本应用以及注意点 3. 游戏场景的结构关系与核心代码说明 4. 最简单的 FSM 有限状态机介绍和应用 5. 新版本中存在的 Bug 以及解决方法 ![Demo10](https://github.com/spkingr/Godot-Demos/raw/master/Images/demo10.gif) *** ## Demo9: Introduction of Godot 3 part 13 - The player jump implementation and make a platform game 文章链接: - [Godot3游戏引擎入门之十三:实现玩家的跳跃功能并完成一个平台小游戏(上)](http://liuqingwen.me/2019/01/17/introduction-of-godot-3-part-13-the-player-jump-implementation-and-make-a-platform-game-part-1/) - [Godot3游戏引擎入门之十三:实现玩家的跳跃功能并完成一个平台小游戏(下)](http://liuqingwen.me/2019/01/26/introduction-of-godot-3-part-13-the-player-jump-implementation-and-make-a-platform-game-part-2/) *本篇讲解到的知识点:* 1. 重力加速度知识和简单的跳跃实现方法 2. 二次跳跃的实现 3. 精确高度的跳跃实现 4. 游戏场景结构与主要代码 5. 三种敌人的行为和实现 6. 其他的一些效果介绍 7. 问题和总结 ![Demo9](https://github.com/spkingr/Godot-Demos/raw/master/Images/demo9.gif) *** ## Demo8: Introduction of Godot 3 part 12 - talk about collision and move_and_collide vs move_and_slide in KinematicBody2D 文章链接:[Godot3游戏引擎入门之十二:Godot碰撞理论以及KinematicBody2D的两个方法](http://liuqingwen.me/2018/12/30/introduction-of-godot-3-part-12-talk-about-collision-and-move-and-collide-vs-move-and-slide-in-kinematicbody2d/) *本篇讲解到的知识点:* 1. 三种 2D 物理节点以及 Area2D 节点的回顾 2. 碰撞层和碰撞掩码理论知识 3. KinematicBody2D 两个方法详述 4. 简单的应用场景分析 ![Demo8](https://github.com/spkingr/Godot-Demos/raw/master/Images/demo8.gif) ## Demo7: Introduction of Godot 3 part 11 - introduce the particles system and make a shooter game 文章链接: - [Godot3游戏引擎入门之十一:Godot中的粒子系统与射击游戏(上)](http://liuqingwen.me/2018/12/23/introduction-of-godot-3-part-11-introduce-the-particles-system-and-make-a-shooter-game-part-1/) - [Godot3游戏引擎入门之十一:Godot中的粒子系统与射击游戏(下)](http://liuqingwen.me/2018/12/25/introduction-of-godot-3-part-11-introduce-the-particles-system-and-make-a-shooter-game-part-2/) *本篇讲解到的知识点:* 1. Godot 中自带粒子系统的相关参数说明 2. 游戏中应用到的其他几个有用的节点 3. 太空射击游戏的所有场景构造及其关键点 4. 游戏代码逻辑的核心部分解析 ![Demo7](https://github.com/spkingr/Godot-Demos/raw/master/Images/demo7.gif) ## Demo6: Introduction of Godot 3 part 10 - introduce some node types and make a new game 文章链接: - [Godot3游戏引擎入门之十:介绍一些常用的节点并开发一个小游戏(上)](http://liuqingwen.me/2018/11/30/introduction-of-godot-3-part-10-introduce-some-node-types-and-make-a-new-game-part-1/) - [Godot3游戏引擎入门之十:介绍一些常用的节点并开发一个小游戏(中)](http://liuqingwen.me/2018/12/05/introduction-of-godot-3-part-10-introduce-some-node-types-and-make-a-new-game-part-2/) - [Godot3游戏引擎入门之十:介绍一些常用的节点并开发一个小游戏(下)](http://liuqingwen.me/2018/12/06/introduction-of-godot-3-part-10-introduce-some-node-types-and-make-a-new-game-part-3/) *本篇讲解到的知识点:* 1. 学习了一些新的 Godot 节点,以及一些新的关键词 2. 探讨了一些基本的游戏开发规则,包括编写代码的规范 3. 编写实现游戏中相关逻辑代码,完成我们第一个完整的小游戏 ![Demo6](https://github.com/spkingr/Godot-Demos/raw/master/Images/demo6.gif) ## Demo5-3: Introduction of Godot 3 part 9 - add audio effects and UI elements 文章链接:[Godot3游戏引擎入门之九:创建UI界面并添加背景音乐](http://liuqingwen.me/2018/11/09/introduction-of-godot-3-part-9-add-audio-effects-and-ui-elements/) *本篇讲解到的知识点:* 1. 给游戏添加 UI 控件元素,使用 CanvasLayer 节点 2. 创建独立的游戏主界面,使用按键切换游戏场景 3. 添加背景音乐和其他声音效果及动画、代码控制 4. 其他小知识点:分组、代码中信号连接、字体资源等 ![Demo5-3](https://github.com/spkingr/Godot-Demos/raw/master/Images/demo5-3.gif) ## Demo5-2: Introduction of Godot 3 part 8 - add collectable elements and sub-scenes 文章链接:[Godot3游戏引擎入门之八:添加可收集元素和子场景](http://liuqingwen.me/2018/11/02/introduction-of-godot-3-part-8-add-collectable-elements-and-sub-scenes/) *本篇讲解到的知识点:* 1. 创建子场景并实例化子场景: SubScene 2. 连接订阅事件信号,处理信号: Signal 3. 学习使用 Godot 3.1 动画中的方法调用特性: Call Method Track 4. Area2D 节点简介,碰撞处理,多轨道动画设计 源码链接: [https://github.com/spkingr/Godot-Demos/tree/v0.3](https://github.com/spkingr/Godot-Demos/tree/v0.3) ![Demo5-2](https://github.com/spkingr/Godot-Demos/raw/master/Images/demo5-2.gif) ## Demo5-1: Introduction of Godot 3 part 7 - add collision and move player in map 文章链接:[Godot3游戏引擎入门之七:地图添加碰撞体制作封闭的游戏世界](http://liuqingwen.me/2018/10/22/introduction-of-godot-3-part-7-add-collision-and-move-player-in-map/) *本篇讲解到的知识点:* 1. Godot 3.1 中 Tile 瓦片的碰撞体添加和设置 2. Godot 中调试地图和玩家的碰撞体运行状态 3. 几个有用的 GDScript 脚本代码技巧: `export`, `flip_h`, `move_and_collide` 源码链接: [https://github.com/spkingr/Godot-Demos/tree/v0.2](https://github.com/spkingr/Godot-Demos/tree/v0.2) ![Demo5-1](https://github.com/spkingr/Godot-Demos/raw/master/Images/demo5-1.gif) *** ## 5. Introduction of Godot 3 part 6 - make tile map in godot 文章链接:[Godot3游戏引擎入门之六:制作TileMap瓦片地图](http://liuqingwen.me/2018/10/19/introduction-of-godot-3-part-6-make-tile-map-in-godot/) *本篇讲解到的知识点:* 1. 创建 TileSet 瓦片集资源 2. 创建 TileMap 瓦片地图 3. 介绍 Godot 3.1 中 TileMap 的一些新特性 源码链接: [https://github.com/spkingr/Godot-Demos/tree/v0.1](https://github.com/spkingr/Godot-Demos/tree/v0.1) ## Demo4: Introduction of Godot 3 part 5 - base topdown movement 文章链接: - [Godot3游戏引擎入门之五:上下左右移动动画(上)](http://liuqingwen.me/2018/10/10/introduction-of-godot-3-part-5-the-basic-top-down-movement-part-1/) - [Godot3游戏引擎入门之五:上下左右移动动画(下)](http://liuqingwen.me/2018/10/11/introduction-of-godot-3-part-5-the-basic-top-down-movement-part-2/) *本篇讲解到的知识点:* 1. 使用 AnimationPlayer 节点工具创建状态动画 2. 使用代码控制玩家的上下左右移动功能 3. 简单的摄像机使用和地图碰撞检测实现 4. 通过代码实现 RigidBody2D 刚体节点的运动 ![Demo4](https://github.com/spkingr/Godot-Demos/raw/master/Images/demo4.gif) ## Demo3: Introduction of Godot 3 part 4 - add some cute animations 文章链接: - [Godot3游戏引擎入门之三:移动我们的主角(上)](http://liuqingwen.me/2018/09/25/introduction-of-godot-3-part-4-add-some-cute-animations-part-1/) - [Godot3游戏引擎入门之三:移动我们的主角(下)](http://liuqingwen.me/2018/09/27/introduction-of-godot-3-part-4-add-some-cute-animations-part-2/) *本篇讲解到的知识点:* 1. 使用 AnimatedSprite 节点创建多个多图动画 2. 使用 Sprite 节点和 GDScript 脚本代码创建背景动画 3. 介绍了 Sprite 节点的原点设置:左上角或者居中 4. 相关 GDScript 脚本知识:`onready/$/position/animation` ![Demo3](https://github.com/spkingr/Godot-Demos/raw/master/Images/demo3.gif) ## Demo2: Introduction of Godot 3 part 3 - move the character with inputs 文章链接:[Godot3游戏引擎入门之三:移动我们的主角](http://liuqingwen.me/2018/09/18/introduction-of-godot-3-part-3-move-character-with-inputs/) *本篇讲解到的知识点:* 1. 图片材质的导入模式 2. 节点渲染顺序 3. 最基础的 GDScript 脚本入门 4. 使用脚本获取节点属性,侦听输入控制主角移动 ![Demo2](https://github.com/spkingr/Godot-Demos/raw/master/Images/demo2.gif) ## Demo1: Introduction of Godot 3 part 2 - game scene and node 文章链接:[Godot3游戏引擎入门之二:第一个简单的游戏场景](http://liuqingwen.me/2018/09/11/introduction-of-godot-3-part-2-game-scene-and-node/) *本篇讲解到的知识点:* 1. 几个基本的节点添加和使用 2. 刚体碰撞体设置 3. 静态碰撞体设置 4. 材质背景平铺设置 5. 可视化 Debug 功能 ![Demo1](https://github.com/spkingr/Godot-Demos/raw/master/Images/demo1.gif) *** > 欢迎关注我的微信公众号: ![IT自学不成才](http://liuqingwen.me/images/wexin_2.jpg)