Lesson 10 – If() Conditional Statements

A major part of game design is handling branching possibilities from one moment to the next. This is most often handled in code with a variety of conditional statements that evaluate whether or not the statement it evaluates returns “true.” Here we look at the simplest type of conditional statement called if(), as well as the closely related else() and else if() clauses. We also look at equivalence evaluations, as well as the common mathematical evaluations involving greater-than/less-than checks.

Members Only Content (Source Code, Quiz, Q&A)

This content is for Extended Support Package members only.
Log In Register