Object: Difference between revisions

Minor clarification
(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
 
(Minor clarification)
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Stub}}


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.
'''Objects''' are the most important part of Fancade games. An object describes a single thing in a level. It can consist of multiple blocks, and one block can contain multiple objects, defined by [[glue]].


[[File:Physics Box.png|thumb|250px|right|An example object in Fancade]]
{{Image|Physics_Box.png|An example of an object}}


== Overview ==
Objects can represent a player, part of the world or literally anything else, the only limit is your creativity!
Objects are placed in levels to create gameplay elements. They can move, collide, detect events, or trigger actions via scripting.


Each object has:
Objects can be physical, static or [[Pass Through|pass through]], and can have different shapes. Fancade provides lots of ways for objects to interact with [[physics]], or they can be used just to display stuff to the player.
* 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 ==
An object can only have one block type and [[Collider|collision type]], even if it consists of multiple blocks with different values.
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 ==
* [[Model]]
* [[Script]]
* [[Scripting]]
* [[Build]]
[[Category:Game Making]]
[[Category:Build]]
[[Category:Build]]
[[Category:Scripting]]