Jump to content

Translations:Gluon/10/uk: Difference between revisions

From KDE UserBase Wiki
Yurchor (talk | contribs)
Created page with '===Докладніше про компоненти=== Компоненти (Component) подібні до властивостей, які можна пов’язати з О...'
 
(No difference)

Latest revision as of 05:47, 10 July 2010

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Gluon)
===More on Components===
Components are like properties that you can attach to GameObjects, such as a "render" Component that actually makes the GameObject visible, or a "SoundListener" Component that gives the object the ability to listen to sounds. Components can also be scripts that controls the behaviour of the GameObjects attached to them. All GameObjects in Gluon have their Transform properties built-in, giving the object its position, rotation, and scale (it doesn't make much sense to have an object that doesn't have at least a position). Components do not have Transform properties, but the GameObject to which a Component is attached to does.

Докладніше про компоненти

Компоненти (Component) подібні до властивостей, які можна пов’язати з Об’єктами гри (GameObject), таким компонентами є компонент показу ("render"), який робить об’єкт гри видимим, або компонент реакція на звук ("SoundListener"), який надає об’єктові можливість реагувати на звуки. Компонентами можуть бути скрипти, які керують поведінкою, пов’язаного з ними об’єкта. До всіх Об’єктів гри (GameObjects) у Gluon вбудовано властивості перетворення (Transform), які визначають розташування об’єкта, кут обертання та масштаб (звичайно ж, об’єкти, які не мають принаймні певного розташування, не дуже придатні для створення ігор). У компонентів немає властивостей перетворення (Transform), але такі властивості завжди будуть у Об’єктів гри (GameObject), з якими пов’язано відповідний компонент.