Jump to content

Object: Difference between revisions

Rewrote the page
m (→‎Usage: Fixed typo)
Tags: Mobile edit Mobile web edit
(Rewrote the page)
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 1: Line 1:
'''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 '''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.
{{Image|Physics_Box.png|An example of an object}}


[[File:Physics Box.png|thumb|250px|right|An example object in Fancade]]
Objects can represent a player, part of the world or literally anything else, the only limit is your creativity!


== Overview ==
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.
Objects are placed in levels to create gameplay elements. They can move, collide, detect events, or trigger actions via scripting.


Each object has:
An object can only have one block and [[Collider|collision type]], even if it consists of multiple blocks with different values.
* 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 ==
* [[Model]]
* [[Script]]
* [[Scripting]]
* [[Build]]
[[Category:Game Making]]
[[Category:Build]]
[[Category:Build]]
[[Category:Scripting]]