|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/learn-c-sharp-by-making-a-flappy-bird-game-with-moo-ict/
课程评论:没有评论
课程名称:通过制作 Flappy Bird 游戏学习 C# 课程概述:欢迎参加本 C# 编程语言课程。MOO ICT 是一个在线编程导师,专注于提供游戏、网页和应用的趣味教程,旨在利用最新的编程趋势,让更多人更容易地学习。在本课程中,我们将使用 Windows Forms、.NET 6 和 Visual Studio IDE 从零开始制作一个可自定义的 Flappy Bird 游戏。 我们将通过导入图像、布局 GUI、创建多个窗体、编写代码、添加音效,最后将游戏发布为自包含的安装向导,安装到所选文件夹,创建桌面和开始菜单的快捷方式。此外,我们还将探讨无需安装向导的便携式应用发布方式。本课程不使用任何游戏引擎,旨在展示 Windows Forms 应用的潜力。尽管 Windows Forms 是一个较老的框架,但我们将使用适合此游戏目的的 .NET 6 版本。 我们在 YouTube 上的 Flappy Bird 教程最初基于 .NET 框架开发,本次版本进行了更新,增加了一些有趣的功能,使游戏更加有趣和丰富。游戏的主要特点包括: - 点击标题屏幕上的鸟/管道图像,循环显示不同文件夹里的鸟图像。 - 循环播放鸟的动画,包括朝上和朝下的图像。 - 记录玩家在标题屏幕上的选择,并在游戏窗体中更改鸟和管道的图像。 - 在游戏中播放跳跃和击中音效。 - 本地保存高分纪录,当游戏关闭时仍能记住该高分。 - 在标题屏幕和游戏屏幕中读取最新的高分。 - 游戏结束时按键盘上的 R 键可重启游戏,直接在游戏窗口中重新开始。 - 随机位置的双管道,中间留有缝隙,提高游戏的挑战性,提供不可预测的游戏体验。 此课程将帮助您掌握 C# 编程,同时通过实际项目增强您的编程能力。无论您是初学者还是有一定基础的开发者,都欢迎参加!
Hi welcome to this C# Programming language course. MOO ICT is an online programming tutor on the web and YouTube. We make a lot of fun tutorials ranging from games, web and apps while using the latest trends of programming and making learning more accessible for more people on the web.In this course we will make a customizable flappy bird game using Windows Form,.NET 6 and Visual Studio IDE. We will be making this game from scratch import the images, lay out the GUI, create multiple forms, code the forms, add sound and finally publish the game to a self-contained set up wizard that will install the game into a chosen folder, create a shortcut to desktop and start menu. Also, we will explore a portable way to publish the app without the set-up wizard.We will not be using any games engine for this course. We wanted to demonstrate the possibilities with windows form application, and we believe it's still a good platform to create quick prototypes of apps and games. Windows form is an older framework, but we will be using the.NET 6 version of the windows form that's suitable for the purpose of this game. The tutorial we did on YouTube for flappy bird was originally created on the.net framework and this version has been updated and added few awesome features to the game to make it more fun and full of neat features.The feature of this game includes:Click on the bird/pipe image on the title screen, it will cycle through different bird images that's being loaded from different folders in the background.Cycle through animations for the birds, this includes the image for facing up and facing downRemember the player choices from the title screen and change the bird and pipe image on the games form.Playing jumping and hit sound in the gameSave high score locally, so when the game is closed it will remember that the high score in the game was.Read the high score in the title screen and the game screen. Both screens will be read the up-to-date high score from the file.When the game ends press the R key on the keyboard to restart the game. This feature is added so you wont have to go back to the start window and reset the game from there, you can simply press R and play again directly from the games window.Use double pipes with a space in the middle. Pipes will have their own function which will change their location in the game randomly while keeping a gap in the middle of them. This way the game will be more challenging for the player and give them an unpredictable play through.