![]() ![]() The font should be placed within your project's root folder.įollow these links to learn how to embed your own vector fonts using the SOLAR2D SDK:.The font must be properly installed on your machine.With SOLAR2D SDK, specify the correct font name in your ttings file. ![]() Specify the correct font name in your theme's settings.NOTE: When using custom vector fonts in your app, please make sure that you Within this folder, you can collect all graphics and sounds used for this theme. lua file that is placed in your project's root and a folder (also to be placed in your project's root file). Once a theme is loaded, it can be applied to any widget to determine its look, colors etc. Loads a new widget theme ("skin" or style) into memory. Sound channel number to be used for widget sound playback. Use SetAudioChannel( ) to change the widget sound channel to any other channel that should be used for widget sound playback. Widget Candy uses a fixed audio channel (channel #1 by default) to play widget sounds. Note, that on a device environment, the logging level is ALWAYS set to level 1 (error messages are logged).Ģ = All messages (error and info messages). Specifies Widget Candy's console output (error messages only, error messages and info messages or no output at all). Specify true to disable all GUI sounds or false to enable. To disable a sound, pass nil.ĭisables or enables all widget sound effects. Sound ID to use (as defined in your theme's. SetSounds (tapSound, releaseSound, changeSound, selectSound) Note: If you create any widgets after calling SetSound and specify individual sound properties for a widget, the individual widget settings are used then. ![]() Using this command will override the individual settings of any existing widgets and set the default values for the widgets you create at a later time. changeSound properties, you can use SetSounds() to globally set (or disable) sound effects for all widgets at once. While you can apply sound effects to widgets individually using a widget's. Each widget you create features a set of methods that can be called to change its position or any of its properties.
0 Comments
Leave a Reply. |