0
Answered

Booleans

DanT 12 months ago in Game Creator updated 12 months ago 1

Which is the best video to watch to learn booleans in Game Creator? I want to have an action true or false on a keypress. Thanks.

Unity version:
Game Creator version:

Answer

Answer
Answered

Hi Dan. Booleans are what is called a primitive type and are exclusive to Variables. Booleans have the particularity that they can only either be True or False. To learn more about booleans, check: https://www.youtube.com/watch?v=9YbgRZvfwas (unrelated to Game Creator, but useful, nonetheless).


On the other hand, Actions can't be True or False. An Action is basically an instruction and doesn't store data.

Answer
Answered

Hi Dan. Booleans are what is called a primitive type and are exclusive to Variables. Booleans have the particularity that they can only either be True or False. To learn more about booleans, check: https://www.youtube.com/watch?v=9YbgRZvfwas (unrelated to Game Creator, but useful, nonetheless).


On the other hand, Actions can't be True or False. An Action is basically an instruction and doesn't store data.