Object: Difference between revisions

From Fancade Wiki
m (→‎Usage: Fixed typo)
Tags: Mobile edit Mobile web edit
(Mark as a stub)
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
(One intermediate revision by the same user 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 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]]

Latest revision as of 14:43, 23 August 2025

This article is a stub. You may help expand the article by editing it.

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.

An example of an object

Objects can represent a player, part of the world or literally anything else, the only limit is your creativity!

Objects can be physical, static or 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.

An object can only have one block and collision type, even if it consists of multiple blocks with different values.