在好例子网,分享、交流、成长!
您当前所在位置:首页C# 开发实例C#语言基础 → 坦克大战C#教程以及源码

坦克大战C#教程以及源码

C#语言基础

下载此实例
  • 开发语言:C#
  • 实例大小:9.91M
  • 下载次数:31
  • 浏览次数:243
  • 发布时间:2022-06-15
  • 实例类别:C#语言基础
  • 发 布 人:15618977195
  • 文件格式:.zip
  • 所需积分:2
 相关标签: 坦克大战 大战 坦克 C#

实例介绍

【实例简介】坦克大战C#教程以及源码

【实例截图】

【核心代码】
.
├── 素材
│   ├── Images
│   │   ├── Boss.jpg
│   │   ├── BulletDown.jpg
│   │   ├── BulletLeft.jpg
│   │   ├── BulletRight.jpg
│   │   ├── BulletUp.jpg
│   │   ├── EXP1.bmp
│   │   ├── EXP2.bmp
│   │   ├── EXP3.bmp
│   │   ├── EXP4.bmp
│   │   ├── EXP5.bmp
│   │   ├── GEMAPPLE.BMP
│   │   ├── GEMARROW.BMP
│   │   ├── GEMBLOW.BMP
│   │   ├── GEMCLOCK.BMP
│   │   ├── GEMGRENADE.BMP
│   │   ├── GEMHAT.BMP
│   │   ├── GEMSTAR.BMP
│   │   ├── GEMTANK.BMP
│   │   ├── GameOver.jpg
│   │   ├── GrayDown.png
│   │   ├── GrayLeft.png
│   │   ├── GrayRight.png
│   │   ├── GrayUp.png
│   │   ├── GreenDown.png
│   │   ├── GreenLeft.png
│   │   ├── GreenRight.png
│   │   ├── GreenUp.png
│   │   ├── MyTankDown.png
│   │   ├── MyTankLeft.png
│   │   ├── MyTankRight.png
│   │   ├── MyTankUp.png
│   │   ├── QuickDown.png
│   │   ├── QuickLeft.png
│   │   ├── QuickRight.png
│   │   ├── QuickUp.png
│   │   ├── SlowDown.png
│   │   ├── SlowLeft.png
│   │   ├── SlowRight.png
│   │   ├── SlowUp.png
│   │   ├── Star1.bmp
│   │   ├── Star2.bmp
│   │   ├── Star3.bmp
│   │   ├── Thumbs.db
│   │   ├── YellowDown.png
│   │   ├── YellowLeft.png
│   │   ├── YellowRight.png
│   │   ├── YellowUp.png
│   │   ├── steel.png
│   │   └── wall.jpg
│   ├── Sounds
│   │   ├── add.wav
│   │   ├── blast.wav
│   │   ├── fire.wav
│   │   ├── hit.wav
│   │   └── start.wav
│   ├── Unity_1144_C编程-第三季-坦克大战.pdf
│   ├── 源码工程
│   │   └── 第三季-坦克大战
│   │       ├── 01-基础知识-类型换换
│   │       │   ├── 01-基础知识-类型换换.csproj
│   │       │   ├── Program.cs
│   │       │   ├── bin
│   │       │   │   └── Debug
│   │       │   │       └── netcoreapp3.1
│   │       │   │           ├── 01-基础知识-类型换换.deps.json
│   │       │   │           ├── 01-基础知识-类型换换.dll
│   │       │   │           ├── 01-基础知识-类型换换.exe
│   │       │   │           ├── 01-基础知识-类型换换.pdb
│   │       │   │           ├── 01-基础知识-类型换换.runtimeconfig.dev.json
│   │       │   │           └── 01-基础知识-类型换换.runtimeconfig.json
│   │       │   └── obj
│   │       │       ├── 01-基础知识-类型换换.csproj.nuget.dgspec.json
│   │       │       ├── 01-基础知识-类型换换.csproj.nuget.g.props
│   │       │       ├── 01-基础知识-类型换换.csproj.nuget.g.targets
│   │       │       ├── Debug
│   │       │       │   └── netcoreapp3.1
│   │       │       │       ├── 01-基础知识-类型换换.AssemblyInfo.cs
│   │       │       │       ├── 01-基础知识-类型换换.AssemblyInfoInputs.cache
│   │       │       │       ├── 01-基础知识-类型换换.assets.cache
│   │       │       │       ├── 01-基础知识-类型换换.csproj.AssemblyReference.cache
│   │       │       │       ├── 01-基础知识-类型换换.csproj.CoreCompileInputs.cache
│   │       │       │       ├── 01-基础知识-类型换换.csproj.FileListAbsolute.txt
│   │       │       │       ├── 01-基础知识-类型换换.dll
│   │       │       │       ├── 01-基础知识-类型换换.genruntimeconfig.cache
│   │       │       │       ├── 01-基础知识-类型换换.pdb
│   │       │       │       └── apphost.exe
│   │       │       ├── project.assets.json
│   │       │       └── project.nuget.cache
│   │       ├── 02-多线程
│   │       │   ├── 02-多线程.csproj
│   │       │   ├── Program.cs
│   │       │   ├── bin
│   │       │   │   └── Debug
│   │       │   │       └── netcoreapp3.1
│   │       │   │           ├── 02-多线程.deps.json
│   │       │   │           ├── 02-多线程.dll
│   │       │   │           ├── 02-多线程.exe
│   │       │   │           ├── 02-多线程.pdb
│   │       │   │           ├── 02-多线程.runtimeconfig.dev.json
│   │       │   │           └── 02-多线程.runtimeconfig.json
│   │       │   └── obj
│   │       │       ├── 02-多线程.csproj.nuget.dgspec.json
│   │       │       ├── 02-多线程.csproj.nuget.g.props
│   │       │       ├── 02-多线程.csproj.nuget.g.targets
│   │       │       ├── Debug
│   │       │       │   └── netcoreapp3.1
│   │       │       │       ├── 02-多线程.AssemblyInfo.cs
│   │       │       │       ├── 02-多线程.AssemblyInfoInputs.cache
│   │       │       │       ├── 02-多线程.assets.cache
│   │       │       │       ├── 02-多线程.csproj.AssemblyReference.cache
│   │       │       │       ├── 02-多线程.csproj.CoreCompileInputs.cache
│   │       │       │       ├── 02-多线程.csproj.FileListAbsolute.txt
│   │       │       │       ├── 02-多线程.dll
│   │       │       │       ├── 02-多线程.genruntimeconfig.cache
│   │       │       │       ├── 02-多线程.pdb
│   │       │       │       └── apphost.exe
│   │       │       ├── project.assets.json
│   │       │       └── project.nuget.cache
│   │       ├── 03-WinForm
│   │       │   ├── 03-WinForm.csproj
│   │       │   ├── App.config
│   │       │   ├── Form1.Designer.cs
│   │       │   ├── Form1.cs
│   │       │   ├── Form1.resx
│   │       │   ├── Program.cs
│   │       │   ├── Properties
│   │       │   │   ├── AssemblyInfo.cs
│   │       │   │   ├── Resources.Designer.cs
│   │       │   │   ├── Resources.resx
│   │       │   │   ├── Settings.Designer.cs
│   │       │   │   └── Settings.settings
│   │       │   ├── bin
│   │       │   │   ├── Debug
│   │       │   │   │   ├── 03-WinForm.exe
│   │       │   │   │   ├── 03-WinForm.exe.config
│   │       │   │   │   └── 03-WinForm.pdb
│   │       │   │   └── Release
│   │       │   └── obj
│   │       │       └── Debug
│   │       │           ├── 03-WinForm.csproj.AssemblyReference.cache
│   │       │           ├── 03-WinForm.csproj.CoreCompileInputs.cache
│   │       │           ├── 03-WinForm.csproj.FileListAbsolute.txt
│   │       │           ├── 03-WinForm.csproj.GenerateResource.cache
│   │       │           ├── 03-WinForm.exe
│   │       │           ├── 03-WinForm.pdb
│   │       │           ├── DesignTimeResolveAssemblyReferences.cache
│   │       │           ├── DesignTimeResolveAssemblyReferencesInput.cache
│   │       │           ├── TempPE
│   │       │           ├── _03_WinForm.Form1.resources
│   │       │           └── _03_WinForm.Properties.Resources.resources
│   │       ├── 04-手动创建Winform窗体
│   │       │   ├── 04-手动创建Winform窗体.csproj
│   │       │   ├── App.config
│   │       │   ├── MyForm.cs
│   │       │   ├── Program.cs
│   │       │   ├── Properties
│   │       │   │   ├── AssemblyInfo.cs
│   │       │   │   ├── Resources.Designer.cs
│   │       │   │   ├── Resources.resx
│   │       │   │   ├── Settings.Designer.cs
│   │       │   │   └── Settings.settings
│   │       │   ├── bin
│   │       │   │   ├── Debug
│   │       │   │   │   ├── 04-手动创建Winform窗体.exe
│   │       │   │   │   ├── 04-手动创建Winform窗体.exe.config
│   │       │   │   │   └── 04-手动创建Winform窗体.pdb
│   │       │   │   └── Release
│   │       │   └── obj
│   │       │       └── Debug
│   │       │           ├── 04-手动创建Winform窗体.csproj.AssemblyReference.cache
│   │       │           ├── 04-手动创建Winform窗体.csproj.CoreCompileInputs.cache
│   │       │           ├── 04-手动创建Winform窗体.csproj.FileListAbsolute.txt
│   │       │           ├── 04-手动创建Winform窗体.csproj.GenerateResource.cache
│   │       │           ├── 04-手动创建Winform窗体.exe
│   │       │           ├── 04-手动创建Winform窗体.pdb
│   │       │           ├── DesignTimeResolveAssemblyReferencesInput.cache
│   │       │           ├── TempPE
│   │       │           └── _04_手动创建Winform窗体.Properties.Resources.resources
│   │       ├── 05-坦克大战
│   │       │   ├── 05-坦克大战.csproj
│   │       │   ├── App.config
│   │       │   ├── Form1.Designer.cs
│   │       │   ├── Form1.cs
│   │       │   ├── Form1.resx
│   │       │   ├── Program.cs
│   │       │   ├── Properties
│   │       │   │   ├── AssemblyInfo.cs
│   │       │   │   ├── Resources.Designer.cs
│   │       │   │   ├── Resources.resx
│   │       │   │   ├── Settings.Designer.cs
│   │       │   │   └── Settings.settings
│   │       │   ├── Resources
│   │       │   │   ├── Boss.jpg
│   │       │   │   ├── BulletDown.jpg
│   │       │   │   ├── BulletLeft.jpg
│   │       │   │   ├── BulletRight.jpg
│   │       │   │   ├── BulletUp.jpg
│   │       │   │   ├── EXP1.bmp
│   │       │   │   ├── EXP2.bmp
│   │       │   │   ├── EXP3.bmp
│   │       │   │   ├── EXP4.bmp
│   │       │   │   ├── EXP5.bmp
│   │       │   │   ├── GEMAPPLE.BMP
│   │       │   │   ├── GEMARROW.BMP
│   │       │   │   ├── GEMBLOW.BMP
│   │       │   │   ├── GEMCLOCK.BMP
│   │       │   │   ├── GEMGRENADE.BMP
│   │       │   │   ├── GEMHAT.BMP
│   │       │   │   ├── GEMSTAR.BMP
│   │       │   │   ├── GEMTANK.BMP
│   │       │   │   ├── GameOver.jpg
│   │       │   │   ├── GrayDown.png
│   │       │   │   ├── GrayLeft.png
│   │       │   │   ├── GrayRight.png
│   │       │   │   ├── GrayUp.png
│   │       │   │   ├── GreenDown.png
│   │       │   │   ├── GreenLeft.png
│   │       │   │   ├── GreenRight.png
│   │       │   │   ├── GreenUp.png
│   │       │   │   ├── MyTankDown.png
│   │       │   │   ├── MyTankLeft.png
│   │       │   │   ├── MyTankRight.png
│   │       │   │   ├── MyTankUp.png
│   │       │   │   ├── QuickDown.png
│   │       │   │   ├── QuickLeft.png
│   │       │   │   ├── QuickRight.png
│   │       │   │   ├── QuickUp.png
│   │       │   │   ├── SlowDown.png
│   │       │   │   ├── SlowLeft.png
│   │       │   │   ├── SlowRight.png
│   │       │   │   ├── SlowUp.png
│   │       │   │   ├── Star1.bmp
│   │       │   │   ├── Star2.bmp
│   │       │   │   ├── Star3.bmp
│   │       │   │   ├── YellowDown.png
│   │       │   │   ├── YellowLeft.png
│   │       │   │   ├── YellowRight.png
│   │       │   │   ├── YellowUp.png
│   │       │   │   ├── add.wav
│   │       │   │   ├── blast.wav
│   │       │   │   ├── fire.wav
│   │       │   │   ├── hit.wav
│   │       │   │   ├── start.wav
│   │       │   │   ├── steel.png
│   │       │   │   └── wall.jpg
│   │       │   ├── bin
│   │       │   │   ├── Debug
│   │       │   │   │   ├── 05-坦克大战.exe
│   │       │   │   │   ├── 05-坦克大战.exe.config
│   │       │   │   │   └── 05-坦克大战.pdb
│   │       │   │   └── Release
│   │       │   └── obj
│   │       │       └── Debug
│   │       │           ├── 05-坦克大战.csproj.AssemblyReference.cache
│   │       │           ├── 05-坦克大战.csproj.CoreCompileInputs.cache
│   │       │           ├── 05-坦克大战.csproj.FileListAbsolute.txt
│   │       │           ├── 05-坦克大战.csproj.GenerateResource.cache
│   │       │           ├── 05-坦克大战.exe
│   │       │           ├── 05-坦克大战.pdb
│   │       │           ├── DesignTimeResolveAssemblyReferences.cache
│   │       │           ├── DesignTimeResolveAssemblyReferencesInput.cache
│   │       │           ├── TempPE
│   │       │           │   └── Properties.Resources.Designer.cs.dll
│   │       │           ├── _05_坦克大战.Form1.resources
│   │       │           └── _05_坦克大战.Properties.Resources.resources
│   │       ├── 06-坦克大战-正式
│   │       │   ├── 06-坦克大战-正式.csproj
│   │       │   ├── App.config
│   │       │   ├── Bullet.cs
│   │       │   ├── EnemyTank.cs
│   │       │   ├── Explosion.cs
│   │       │   ├── Form1.Designer.cs
│   │       │   ├── Form1.cs
│   │       │   ├── Form1.resx
│   │       │   ├── GameFramework.cs
│   │       │   ├── GameObject.cs
│   │       │   ├── GameObjectManager.cs
│   │       │   ├── Movething.cs
│   │       │   ├── MyTank.cs
│   │       │   ├── NotMovething.cs
│   │       │   ├── Program.cs
│   │       │   ├── Properties
│   │       │   │   ├── AssemblyInfo.cs
│   │       │   │   ├── Resources.Designer.cs
│   │       │   │   ├── Resources.resx
│   │       │   │   ├── Settings.Designer.cs
│   │       │   │   └── Settings.settings
│   │       │   ├── Resources
│   │       │   │   ├── Boss.jpg
│   │       │   │   ├── BulletDown.jpg
│   │       │   │   ├── BulletLeft.jpg
│   │       │   │   ├── BulletRight.jpg
│   │       │   │   ├── BulletUp.jpg
│   │       │   │   ├── EXP1.bmp
│   │       │   │   ├── EXP2.bmp
│   │       │   │   ├── EXP3.bmp
│   │       │   │   ├── EXP4.bmp
│   │       │   │   ├── EXP5.bmp
│   │       │   │   ├── GEMAPPLE.BMP
│   │       │   │   ├── GEMARROW.BMP
│   │       │   │   ├── GEMBLOW.BMP
│   │       │   │   ├── GEMCLOCK.BMP
│   │       │   │   ├── GEMGRENADE.BMP
│   │       │   │   ├── GEMHAT.BMP
│   │       │   │   ├── GEMSTAR.BMP
│   │       │   │   ├── GEMTANK.BMP
│   │       │   │   ├── GameOver.jpg
│   │       │   │   ├── GrayDown.png
│   │       │   │   ├── GrayLeft.png
│   │       │   │   ├── GrayRight.png
│   │       │   │   ├── GrayUp.png
│   │       │   │   ├── GreenDown.png
│   │       │   │   ├── GreenLeft.png
│   │       │   │   ├── GreenRight.png
│   │       │   │   ├── GreenUp.png
│   │       │   │   ├── MyTankDown.png
│   │       │   │   ├── MyTankLeft.png
│   │       │   │   ├── MyTankRight.png
│   │       │   │   ├── MyTankUp.png
│   │       │   │   ├── QuickDown.png
│   │       │   │   ├── QuickLeft.png
│   │       │   │   ├── QuickRight.png
│   │       │   │   ├── QuickUp.png
│   │       │   │   ├── SlowDown.png
│   │       │   │   ├── SlowLeft.png
│   │       │   │   ├── SlowRight.png
│   │       │   │   ├── SlowUp.png
│   │       │   │   ├── Star1.bmp
│   │       │   │   ├── Star2.bmp
│   │       │   │   ├── Star3.bmp
│   │       │   │   ├── YellowDown.png
│   │       │   │   ├── YellowLeft.png
│   │       │   │   ├── YellowRight.png
│   │       │   │   ├── YellowUp.png
│   │       │   │   ├── add.wav
│   │       │   │   ├── blast.wav
│   │       │   │   ├── fire.wav
│   │       │   │   ├── hit.wav
│   │       │   │   ├── start.wav
│   │       │   │   ├── steel.png
│   │       │   │   └── wall.jpg
│   │       │   ├── SoundMananger.cs
│   │       │   ├── bin
│   │       │   │   ├── Debug
│   │       │   │   │   ├── 06-坦克大战-正式.exe
│   │       │   │   │   ├── 06-坦克大战-正式.exe.config
│   │       │   │   │   └── 06-坦克大战-正式.pdb
│   │       │   │   └── Release
│   │       │   └── obj
│   │       │       └── Debug
│   │       │           ├── 06-坦克大战-正式.csproj.AssemblyReference.cache
│   │       │           ├── 06-坦克大战-正式.csproj.CoreCompileInputs.cache
│   │       │           ├── 06-坦克大战-正式.csproj.FileListAbsolute.txt
│   │       │           ├── 06-坦克大战-正式.csproj.GenerateResource.cache
│   │       │           ├── 06-坦克大战-正式.exe
│   │       │           ├── 06-坦克大战-正式.pdb
│   │       │           ├── DesignTimeResolveAssemblyReferencesInput.cache
│   │       │           ├── TempPE
│   │       │           │   └── Properties.Resources.Designer.cs.dll
│   │       │           ├── _06_坦克大战_正式.Form1.resources
│   │       │           └── _06_坦克大战_正式.Properties.Resources.resources
│   │       ├── 第三季-坦克大战
│   │       └── 第三季-坦克大战.sln
│   └── 坦克大战.jpg
└── 坦克大战C#教程以及源码.zip

54 directories, 313 files


实例下载地址

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警