Welcome!

You are just one step away from creating awesome games!

Sign up with Google

You need a Google account to use Defold

Search results

Your search for background color rendered 11 results.

api reference

"clear_color", { color=… }

Set render clear color. This is the color that appears on the screen where nothing is rendered, ie background.

api reference

"clear_color", { color=… }

Set render clear color. This is the color that appears on the screen where nothing is rendered, ie background.

tutorial

Each of the background and the two menu items, have the same animations applied to them, but with different delays. ... anim3) end local function anim1( node, d) -- set scale to 70% local start_scale = 0.7 gui.set_scale(node, vmath. vector4(start_scale, start_scale, start_scale, 0)) -- get current color and set alpha to 0 to fade ...

manual

Given the above render script and on_message() function, you can change the clear color (background color) to a nice dark steel blue by sending the message:.

tutorial

The player drags and links blocks of the same color to remove them, but the objective of the game is not to remove long series of same colored blocks, clear the board or gather .... If you add the background sprite component, make sure to set its Z position to -1, or it won't be drawn behind all the blocks we'll spawn later.

manual

The tint color is multiplied onto the image data, meaning that if you set the color to white (the default) no tint is applied. Box nodes are always .... The octopus in the background is deformed, but the GUI elements are not. The text nodes are ...

tutorial

file: background1.script function init(self) msg.post("@render:", "clear_color", { color = vmath.vector4(0.52, 0.80, 1, 0) } ) end -- the background is a tilemap in a ...

tutorial

This changes the background color of the game. The vector4 contains color information -- by channel from 0-1: Red = 0.2. Green = 0.2, Blue = 0.2 and Alpha ...

manual

Select Curve from the context menu in the text field you wish to key, which gives the text field a light green background. Go to the Curve Editor ... should be scaled . Life Red/Green/Blue/Alpha: How the particle color should be tinted over its life.

manual

Alpha: Normal blending: a0 * rgb0 + (1 - a0) * rgb1; Add: Brighten the background with the color values of the corresponding sprite pixels: rgb0 + rgb1; Add ...

FAQ

When creating a GUI box-node with only color (no texture), how will it be rendered? It is just a vertex colored ... Defold runs a modified version of Box2D in the background and the performance cost should be quite similar. You can always see ...