BUBBLY BACKGROUND
View the Project on GitHub el3um4s/construct-plugins-and-addons
Beautiful bubbly backgrounds for Construct 3 project
Download:
This plugin allows to change the predifined background with a fancy bubbly one. It’s useful to avoid the black bars when the app doesn’t fit the screen.
The original idea is by @tipsy and his bubbly-bg repository.
Main
Reset Property
: Reset proterty to default value.Redraw Background
: Redraw background.Set Property
Change style to {0}
: Change background style to
Change preset bubbly to {0}
: Change preset bubbly style to:
Background animation set to {0}
:Compose set to {0}
: Choose how to compose the bubbles:
Blur set to {0}
: Set the blur (a number value).Bubbles set to {0}
: Insert a number or a function to set the number of bubbles to show.Bubble Func set to {0}
: Insert a function to set the bubbles’s color.
() => hsla(0, 0%, 100%, ${r() * 0.1})
Angle Func set to {0}
: Insert a function or a number to set the bubbles’s angle.
() => Math.random() * Math.PI * 2
Velocity Func set to {0}
: Insert a function or a number to set the bubbles’s velocity.
() => 0.1 + Math.random() * 0.5
Radius Func set to {0}
: Insert a function or a number to set the bubbles’s radius.
() => 4 + Math.random() * canvas.width / 25
Color Start set to {0}
: The background gradient start color.
#22aaee
red
rgb(255,0,0)
rgba(255,0,0,0.5)
Color Stop set to {0}
: The background gradient stop color.
#22aaee
red
rgb(255,0,0)
rgba(255,0,0,0.5)
Shadow Color set to {0}
: The bubbles’s shadow color.
#22aaee
red
rgb(255,0,0)
rgba(255,0,0,0.5)
getStyleBackground
getPresetBubbly
getBlur
isAnimate
getCompose
getBubbles
getBubbleFunc
getAngleFunc
getVelocityFunc
getRadiusFunc
getColorStart
getColorStop
getColorShadow
The background is animate
: Test if the background is animated.The compose is lighter
: Test if compose is set to Lighter or to Source Over.Load background from JSON
: Load the background settings from a string in JSON format. This can be retrieved from either the getAsStringJSON expression.getAsStringJSON
: Return the settings of the background as a string in JSON format. This can later be loaded in to the plugin with the Load action. The string is C2-C3 style:
getAsJSON
: Return the setting as as a string in JSON format. The string is standard style:
Icon made by Freepik from Flaticon.
Apps for Linux and Windows made with ElectronJS.