00 Intro Git
00 Intro Git
Programming
Course introduction
Instructor: Dung, Dinh Nguyen Anh
Email: [email protected]
Course overview
DirectX 10 , simple drawing and movement
Frame-based animation
Keyboard handling
Collision handling & camera
Scene Manager
Sample source:
https://github.com/dungdna2000/gamedev-intro-tuto
rials
Project
NES Super Mario Bros 3
Solo
2 main check points
(1) First half of world 1-1 : week 6-8
(2) Full world 1-1 and world map : week 12
This is going to be a real product, not a student
demo: (almost) perfection is a requirement.
Progress mark = Final mark
How to pass?
Try to build your first best game, don’t care about
passing or not
Start from the sample code. It has everything you
need to finish your project.
Do NOT “reference” other’s code
Do not rush to Internet or “training club”
Attend class and understand what I want first !
Invest at least 160 hours of your life
code … debug … code
code .. debug .. code
Using Git correctly is now a MUST
Push commit(s)
Source files
Stage changes
- Manually select changes to commit instead of committing ALL changes
Demos
Create a repository for a project on Github
using VS 2022
Making changes, staging changes, commit
changes, push
See changes and diff
Create a repo from VS
Comment : what
did you change? Push: send commit to remote repo
Must have
Commit: Write
change(s) to
your local repo
Warning
DO:
Create repo using VS Studio.
DO NOT
Create repo using other tools
Your repo will include tons of intermediate files
generated by VS Studio
Start from sample code
Start clean
Create and init empty repo using VS Studio
Download & add files from sample 05
Use Git properly
A small commit is much better than a large
commit
Small commit = few changes & small change
Commit = something meaningful done, not
necessary a large completed feature
Commit MUST have a meaningful comment
Because commit = something meaningful done
Hint:
when you build successfully and test something
passed, it’s time for a commit
Use Git properly
Lots of commits and frequent
Meaningful and small commits
A lot modifications (bug fixing)
Red flags
Project created too close to deadline
Few commits
Large commits
Binaries
Use Git properly
I take ZERO tolerance on bad Git repos
No matter what you did, if you do not have a
proper Git repo, you will fail.