Skip to content

FoxyOfJungle/LiveWallpaperConfigs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

LiveWallpaperConfigs

This class allows you to easily create settings for Opera GX live wallpapers.

image

Installation

Download the .yymps file from the "Releases" tab in the right. Inside GameMaker:

1 - Go to menu "Tools > Import Local Package";
2 - Add all;
3 - Import.

Example

// my variables
variable_color = c_white;

// Wallpaper Configuration
lw_config = new WallpaperConfiguration([
	new WP_Section("Performance", "perf", [
		new WP_OptionSelect("Speed:", "lw_speed", ["Low", "Normal", "Blazing"], "Normal", "The wallpaper speed in frames per second"),
	]),
	new WP_Section("Appearance", "appearance", [
		new WP_OptionColor("Color", "color", c_white),
	]),
],

function(callback) {
  // update variable
  variable_color = callback.appearance.color;
});

// send to Opera GX browser
lw_config.Set();