hexyz is tower defense game, and a lua library for dealing with hexagonal grids
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
204 B

function rrgb(a)
local R = math.random(20, 80) / 100
local G = math.random(20, 80) / 100
local B = math.random(20, 80) / 100
local A = a or math.random()
return vec4(R, G, B, A)
end