Game logic - Custom Image Library – Ylands
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " (\=+)([a-zA-Z0-9][^ ]+[a-zA-Z0-9])(\=+) " to " $1 $2 $3 ") |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|19}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|13}}}}") |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Images defined in library can be utilized in various places: | Images defined in library can be utilized in various places: | ||
*User interface | *User interface | ||
**[[Ylands Game logic - Custom HUD|Custom HUD]], [[Ylands Game logic - Custom window|Custom Window]] | **[[Ylands:Game logic - Custom HUD|Custom HUD]], [[Ylands:Game logic - Custom window|Custom Window]] | ||
**[[Ylands Game logic - Resource|Resource]], [[Ylands Game logic - Skill|Skill]] | **[[Ylands:Game logic - Resource|Resource]], [[Ylands:Game logic - Skill|Skill]] | ||
**[[Ylands Game logic - Custom controls|Custom controls]] | **[[Ylands:Game logic - Custom controls|Custom controls]] | ||
*Particle effects | *Particle effects | ||
**[[Ylands Game logic - Particle effect|Particle effect]] | **[[Ylands:Game logic - Particle effect|Particle effect]] | ||
**[[Ylands Game logic - Particle template|Particle template]] | **[[Ylands:Game logic - Particle template|Particle template]] | ||
**[[Ylands Game logic - Melee attack effect|Melee attack effect]] | **[[Ylands:Game logic - Melee attack effect|Melee attack effect]] | ||
= Properties = | = Properties = | ||
Line 36: | Line 36: | ||
= See also = | = See also = | ||
*[[Ylands Game logic - Custom HUD|Custom HUD]], | *[[Ylands:Game logic - Custom HUD|Custom HUD]], | ||
*[[Ylands Game logic - Custom window|Custom Window]] | *[[Ylands:Game logic - Custom window|Custom Window]] | ||
*[[Ylands Game logic - Custom controls|Custom controls]] | *[[Ylands:Game logic - Custom controls|Custom controls]] | ||
*[[Ylands Game logic - Particle effect|Particle effect]] | *[[Ylands:Game logic - Particle effect|Particle effect]] | ||
*[[Ylands Game logic - Particle template|Particle template]] | *[[Ylands:Game logic - Particle template|Particle template]] | ||
*[[Ylands Game logic - Melee attack effect|Melee attack effect]] | *[[Ylands:Game logic - Melee attack effect|Melee attack effect]] | ||
*[[Ylands Game logic - Resource|Resource]] | *[[Ylands:Game logic - Resource|Resource]] | ||
*[[Ylands Game logic - Skill|Skill]] | *[[Ylands:Game logic - Skill|Skill]] | ||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|13}}}} | ||
[[Category: Game Logic]] | [[Category: Game Logic]] | ||
[[Category: Ylands 1.5]] | [[Category: Ylands 1.5]] |
Latest revision as of 14:21, 24 November 2023
Description
Image Library game logic allows users to store and share images. Images stored via Image Library are embedded in the game logic itself, meaning that Image Library can be shared via compositions without the need to distribute the source files.
Images defined in library can be utilized in various places:
- User interface
- Particle effects
Properties
Images
- List of available custom images.
- New images are added by clicking the plus button.
- Images can be deleted by clicking the trash bin button.
- Images can be edited by clicking the pencil button.
Image properties
- Preview - preview of current image.
- Name - name of the image.
- Image- image source file.
- Sliced - whenever image can be freely scaled preserving the aspect ration.
- Left, Right, Top, Bottom - offsets of the sliced region.
- Edges outside the sliced region will preserved 1:1.
- Library usage - show the current free space for all images in the game.
Image format
- Accepted formats: PNG, JPG
Library limit
- Current soft limit for sum of all images within current game is 4 megapixels (2048 x 2048 px). Beyond this limit image quality downscaling will occur.
See also
- Custom HUD,
- Custom Window
- Custom controls
- Particle effect
- Particle template
- Melee attack effect
- Resource
- Skill