Difference between revisions of "Actor"

From Castle Wiki
m
 
Line 1: Line 1:
An '''Actor''' is an object in a card, such as the player, a wall, a coin, a ball, or whatever you decide.[[File:Actor snake.png|thumb|An actor placed in the scene.]]
An '''Actor''' is an object in a card, such as the player, a wall, a coin, a ball, or whatever you decide.[[File:Actor snake.png|thumb|An actor placed in the scene.]]
All actors are designed and created from [[Blueprint|Blueprints]], but there can be many actors all using the same blueprint. Actors have a position in space, can collide with each other, and can refer to each other with [[Tags]]. For more information about the relationship between actors and blueprints, see [[Blueprint]].
All actors are designed and created from [[Blueprint|Blueprints]], but there can be many actors all using the same blueprint. Actors have a position in space, can collide with each other, and can refer to each other with [[Tag|Tags]]. For more information about the relationship between actors and blueprints, see [[Blueprint]].


== Actor-specific state ==
== Actor-specific state ==

Latest revision as of 21:11, 11 May 2022

An Actor is an object in a card, such as the player, a wall, a coin, a ball, or whatever you decide.

An actor placed in the scene.

All actors are designed and created from Blueprints, but there can be many actors all using the same blueprint. Actors have a position in space, can collide with each other, and can refer to each other with Tags. For more information about the relationship between actors and blueprints, see Blueprint.

Actor-specific state

Although actors derive all their initial properties from their Blueprint, their state can change as the deck is played:

  • Each actor has its own position and layout in deck space.
  • Individual actors can store different Variables.
  • Individual actors can gain and lose Tags.