C/C++ Game Developers Group - Meeting Notes
2023-2024 School Year
This year, I created all of my notes with Emacs org-mode documents and sample code, which are all part of the CGD repo.
This page shows which notes were covered on which meeting dates. If you just want to view the notes directly, view the repo.
4.5.24
2.2.24
1.5.24
12.22.23
12.15.23
- Session 1
- (reviewed for people who fell behind) hello.c
- (reviewed for people who fell behind) hello.org
- (reviewed for people who fell behind) hello.pdf
- Session 2
12.8.23
12.1.23
11.17.23
10.5.23
2022-2023 School Year
Here you'll find the meeting notes, each named by their date, with a list of the topics they cover below. Some notes are in the form of google docs, and others are in the form of highly commented example code.
5.19.23
- Installing Emscripten
- Testing Emscripten
- Compiling with Emscripten
- Porting your game to Emscripten
- Customizing the Emscripten HTML page
3.25.23
2.4.23 - 4.1.23 (pong code)
- Game loop(s)
- Creating a player
- Creating enemies
- Collision with projectiles
12.23.22 - 1.23.23 (SDL demo code)
- Creating a window SDL_Window
- Rendering rectangles SDL_Renderer, SDL_Rect
- Loading and rendering images SDL_Surface, SDL_Texture, SDL_RenderCopy
- Handling user input SDL_Event
- Keyboard events
- Mouse events
- Playing sound effects
- Playing music
12.23.22
- Dynamic memory management malloc, calloc, free
- Setting up an include and lib directory
- Creating a window SDL_Window
- Handling user input SDL_Event
- Bitwise Operators & Bit Flags | & ~
12.3.22
- Scope and Duration (with the static keyword)
- Setting up a dev environment on Windows w64devkit, git
11.25.22
- Arrays int arr[x];
- Multi-dimensional Arrays int arr[x][y];
- Standard Input & Output stdin, stdout
- Error Handling stderr, exit
11.18.22
- Data Types unsigned, const, char, short, long, float, double
- Using multiple .c and .h files extern, static, #include
- Compound Data Types struct, union, enum, typedef
- Pointers int *ptr = &x;
11.11.22
- Macros #define X
- Operators & Expressions + - / * ++ -- +=
- Functions void func_name(void);
- Function Macros #define F(X) X
- Control Flow if, else, while, for, goto, switch
- Scope and Duration {}, static
11.4.22
- Accessing the command line on Linux, Windows, or Mac
- Basic commands ls, cd, mkdir, rm
- Using a terminal text editor nano, vim
- Infiles, outfiles, and piping < > |
- Writing Hello World
- Compiling & Running Hello World gcc, ./a.out
- Variables int x;
- Basic Input & Output printf, scanf