Object: Difference between revisions

From Fancade Wiki
(Created page with " An '''Object''' in Fancade is a basic interactive element used when building games. Objects can represent characters, vehicles, buttons, hazards, or any custom elements you design. thumb|250px|right|An example object in Fancade == Overview == Objects are placed in levels to create gameplay elements. They can move, collide, detect events, or trigger actions via scripting. Each object has: * A **Model**: the visual representation built with vox...")
Tags: Mobile edit Mobile web edit
 
m (→‎Usage: Fixed typo)
Tags: Mobile edit Mobile web edit
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:


Each object has:
Each object has:
* A **Model**: the visual representation built with voxels.
* A '''Model''': the visual representation built with voxels.
* A **Script**: defines behavior such as movement, interaction, and response.
* A '''Script''': defines behavior such as movement, interaction, and response.
* **Properties**: Such as visibility, collision type, etc.
* '''Properties''': Such as visibility, collision type, etc.


== Creating an Object ==
== Creating an Object ==
Line 18: Line 18:
== Usage ==
== Usage ==
Objects are used for:
Objects are used for:
* **Player characters** (e.g., cars, robots)
* '''Player characters''' (e.g., cars, robots)
* **Enemies**
* '''Enemies'''
* **Switches**, **doors**, or **moving platforms**
* '''Switches''', '''doors''', or '''moving platforms'''
* **Collectibles**, **hazards**, or **traps**
* '''Collectibles''', '''hazards''', or '''traps'''


== Related ==
== Related ==

Latest revision as of 11:01, 27 July 2025

An Object in Fancade is a basic interactive element used when building games. Objects can represent characters, vehicles, buttons, hazards, or any custom elements you design.

An example object in Fancade

Overview

Objects are placed in levels to create gameplay elements. They can move, collide, detect events, or trigger actions via scripting.

Each object has:

  • A Model: the visual representation built with voxels.
  • A Script: defines behavior such as movement, interaction, and response.
  • Properties: Such as visibility, collision type, etc.

Creating an Object

To create a new object: Use an existing object and edit it to create a new one.

Usage

Objects are used for:

  • Player characters (e.g., cars, robots)
  • Enemies
  • Switches, doors, or moving platforms
  • Collectibles, hazards, or traps

Related