spacedinvaders

所属分类:文章/文档
开发工具:C++
文件大小:41379KB
下载次数:0
上传日期:2021-03-15 23:36:29
上 传 者sh-1993
说明:  C++编程教程系列
(C++ programming tutorial series)

文件列表:
00.basicconcepts.md (7261, 2021-03-16)
01.functionprimer.md (6854, 2021-03-16)
01.morewithfunctions.md (9749, 2021-03-16)
01.pointers.md (16634, 2021-03-16)
01.programflowcontrol.md (9856, 2021-03-16)
01.structures.md (2498, 2021-03-16)
02.arrays.md (5495, 2021-03-16)
02.firststeps.md (20987, 2021-03-16)
03.graphics.md (23745, 2021-03-16)
03.moreanimation.md (13462, 2021-03-16)
03.simpleanimation.md (5460, 2021-03-16)
04.gameplay01.md (15983, 2021-03-16)
AnimatedPixels (0, 2021-03-16)
AnimatedPixels\AnimatedPixels.vcxproj (10363, 2021-03-16)
AnimatedPixels\main.cpp (5230, 2021-03-16)
AnimatedPixels\packages.config (208, 2021-03-16)
AnimatedPixels\stdafx.cpp (604, 2021-03-16)
AnimatedPixels\stdafx.h (642, 2021-03-16)
AnimatedPixels\targetver.h (630, 2021-03-16)
LICENSE (1069, 2021-03-16)
Raw (0, 2021-03-16)
Raw\AnimatedSpacedStyleSheet.xcf (26988, 2021-03-16)
Raw\imagesheet.xcf (38577, 2021-03-16)
WindowLayout (0, 2021-03-16)
WindowLayout\WindowLayout.vcxproj (10361, 2021-03-16)
WindowLayout\main.cpp (6394, 2021-03-16)
WindowLayout\packages.config (208, 2021-03-16)
WindowLayout\stdafx.cpp (604, 2021-03-16)
WindowLayout\stdafx.h (642, 2021-03-16)
WindowLayout\targetver.h (630, 2021-03-16)
animation01 (0, 2021-03-16)
animation01\animation01.vcxproj (10737, 2021-03-16)
animation01\animation01.vcxproj.filters (904, 2021-03-16)
animation01\main.cpp (7228, 2021-03-16)
animation01\packages.config (208, 2021-03-16)
animation01\stdafx.cpp (604, 2021-03-16)
... ...

# Spaced Invaders - A C/C++ Programming Tutorial Series ## Rationale For years I've wanted to put together a tutorial in programming languages that would be appropriate for all ages and disciplines. It's bothered me that there haven't been any 'accessible' tutorials out there; tutorials that go from zero to competency in a way that _everyone_ can understand. That is a difficult problem to try and get right. So, I thought I'd throw my hat into the ring on this one. What we're going to build over the course of this series is a functional (not necessarily complete) Space Invaders clone. I chose this because:
  1. I'm a game developer by day. Write what you know.
  2. There's a butt load of source material that people can reference.
  3. Gameplay logic is trivial.
  4. It allows, at an incredibly low fidelity, us to cover a great deal of ground.
## The Method I'm going to be using a mix of technologies for this. - Visual Studio Community 2017 - This is what's called an IDE - that stands for 'Integrated Development Environment'. - This is where we can edit the 'code' that creates a program. - We also use it to 'build' the program. - And, we also use it to debug the program when things go sideways. - C++ Shell - This is a web-based C/C++ compiler. - It's very simple to use and allows us to quickly try out ideas (and try code snippets). - Allegro - A library that covers the majority of our media needs (drawing lines, images, text). - Also is a nice utility wrapper for operating system functionality. - GitHub - You're here. - Github is a place to store code (and share it). - Also can be used to document code. - Markdown - You won't need this, but I use Markdown as my article formatting language. - Krita and The Gimp - Image editing I'm also going to be writing in a very informal manner. I write like I talk. I'll be doing a lot of edits as I build out this documentation, so you may want to re-read sections (I'll call them out as I edit them). ## So why not just grab a book/take a class? Well ... arguably you should. One web article can't replace a university education. Or a degree from a college. These articles aren't meant to replace formal classes and other reference material. I personally encourage researching and experimenting as much as possible any programming language that you can find. The intent of these articles is to act as a supplement to other materials. I will try not to gloss over topics, but if there are better resources for explaining the material, I will be (gladly) referring to them. That said, I do find that there are some ideas, concepts and techniques that are either glossed over, skipped entirely, or wrong, in a great deal of materials out there (and in many universities, in my experience). My goal in these articles is to cover the fundamentals, as I see them and try to convey them in a fashion that is consumable to the reader, given only a mildly passing curiosity in programming. Hopefully this instills a sense of curiosity about programming and the C/C++ language that you may not have had in the past. The other aspect of this is that I want anyone who's reading this to feel engaged. If there are any questions, or suggestions, I'd like to be able to accommodate them as much as possible. For now, I'm going to try and answer all questions through twitter - just reply to this tweet (until I find something better): https://twitter.com/nuclearfossil/status/967220497569083392 ## Syllabus I'll be building this out as I go: - Introduction (You're currently here) - [Basic Concepts](https://github.com/Nuclearfossil/spacedinvaders/blob/master/00.basicconcepts.md) - [Function Primer](https://github.com/Nuclearfossil/spacedinvaders/blob/master/01.functionprimer.md) - [More on Functions](https://github.com/Nuclearfossil/spacedinvaders/blob/master/01.morewithfunctions.md) - [Program Flow Control](https://github.com/Nuclearfossil/spacedinvaders/blob/master/01.programflowcontrol.md) - [Pointers](https://github.com/Nuclearfossil/spacedinvaders/blob/master/01.pointers.md) - [Something you can compile on your own machine](https://github.com/Nuclearfossil/spacedinvaders/blob/master/02.firststeps.md) - [Arrays](https://github.com/Nuclearfossil/spacedinvaders/blob/master/02.arrays.md) - [Graphics Introduction](https://github.com/Nuclearfossil/spacedinvaders/blob/master/03.graphics.md) - [Simple Animation](https://github.com/Nuclearfossil/spacedinvaders/blob/master/03.simpleanimation.md) - [More Animation](https://github.com/Nuclearfossil/spacedinvaders/blob/master/03.moreanimation.md) - [First Gameplay](https://github.com/Nuclearfossil/spacedinvaders/blob/master/04.gameplay01.md) ## Related Materials - [Introduction to Programming for Games by Andrew Simpson](https://github.com/Nuclearfossil/spacedinvaders/blob/master/github.com/asimpson2004/ASCII_Invaders)

近期下载者

相关文件


收藏者