Conditionals are a way that programmers can keep track of what should happen in case certain prerequisites are or are not achieved. Typically expressed as if-then statements, conditionals allow your game world to react to the player’s actions. In this chapter, we will explore how to use items and branching dialog lists to create conditionals in Bitsy.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Items and Inventory

  • Megan Condis,
  • Bobby Schweizer

摘要

Conditionals are a way that programmers can keep track of what should happen in case certain prerequisites are or are not achieved. Typically expressed as if-then statements, conditionals allow your game world to react to the player’s actions. In this chapter, we will explore how to use items and branching dialog lists to create conditionals in Bitsy.