-
Notifications
You must be signed in to change notification settings - Fork 2
Default Components
Thomaltarix edited this page Nov 3, 2024
·
3 revisions
Button State, contains:
- The state of a button:
ButtonTexturePath, contains:
- A texture path for the none state
- A texture path for the hover state
- A texture path for the clicked state
- A texture path for the pressed state
CanJump, contains:
- A boolean to tell if the entity can jump or not.
Checkable, contains:
- A boolean to tell if the entity is checkable
Clickable, contains:
- A callback which is used when the entity is clicked
ColliderDamage, contains:
- A float for the damage the entity does in 3d when colliding something
Colour, contains:
- r The red colour
- g The green colour
- b The blue colour
- a The alpha colour
DefaultText, contains:
- The default text of an entity
Draw, contains:
- A boolean to tell if the entity needs to be draw or not
Editable, contains:
- A boolean to tell if the entity can be edited
EntityId, contains:
- An index of an entity
FontPath, contains:
- The path to a font (for a text)
Gravity, contains:
- The gravity for the 3 axes (x, y and z)
HitBox, contains:
- A list of HitBoxes. A HitBox looks like this:
MaterialMap, contains:
- A List of paths of materials
- A list of indexes of materials
- A list of types of materials which looks like this:
Music, contains:
- A value for the volume of the music
- A value for the pitch of the music
- A value for the path to the music
NetworkConnection, contains:
- A boolean that tells the status of connection
- The server IP
- The server Port
ObjPath, contains:
- The path to the obj file
Player, contains:
- The token for the server connection
- A boolean that tells if he's alive
Position2D, contains:
- The position in x
- The position in y
Position3D, contains:
- The position in x
- The position in y
- The position in z
Scale, contains:
- The scale factor of an entity
Size1D, contains:
- The size of the 1D values (texts)
Sound, contains:
- A value for the volume of the sound
- A value for the pitch of the sound
- A value for the path to the sound
Speed, contains:
- A value for the speed in x
- A value for the speed in y
- A framerate for the speed
Speed3D, contains:
- A value for the speed in x
- A value for the speed in y
- A value for the speed in z
- A framerate for the speed
SpriteSheetAnimation, contains:
- The number of frames of a sprite sheet
- The time elapsed since the last frame change
- Time for each frame to be displayed
- The vector direction x to change the texture rect left
- The vector direction y to change the texture rect top
- The position of the first frame in x
- The position of the first frame in y
- The index of the current frame
- A boolean to specify a reverse mod (or not)
Text, contains:
- A text
TextLimit, contains:
- A number of characters as a text limit
TextPosition, contains:
- A position in x for a text
- A position in y for a text
TexturePath, contains:
- A path to the texture
TextureRect, contains:
- The path to open
- All for coordinates of the rectangle (top left, top right, bottom left, bottom right)
Velocity, contains:
- The velocity in x
- The velocity in y
- The framerate of the velocity
Velocity3D, contains:
- The velocity in x
- The velocity in y
- The velocity in z
- The framerate of the velocity