Comparison

« Back to Glossary Index

A comparison is a way of comparing (checking) the similarities or differences between two or more values. Usually you compare variables against constant values e.g. x < 3 or gift == "camera" and use the results of the comparison in a conditional to do things like change dialogue or branch off in an entirely new direction.

« Back to Glossary Index