I know the obvious difference, in that one can change during gameplay and the other is constant.
However i tend to use vars more often (even when they never change), simply because I can specify explicit types, rather than constants seeming to imply the type based on the value assigned.
For example if i declare
const MyConst = 222
Will the compiled code interpret this as a byte or an int?
Or if I declare
const MyConst = 222.0
Would it be considered a float?
Does anyone know if there is any performance cost of using constants over variables?
Cheers