Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local type_color = {
- O = {
- 0.521,
- 0.521,
- 0.996,
- 1
- },
- B = {
- 0.701,
- 0.898,
- 1,
- 1
- },
- A = {
- 1,
- 1,
- 1,
- 1
- },
- F = {
- 1,
- 0.996,
- 0.780,
- 1
- },
- G = {
- 0.988,
- 0.972,
- 0.250,
- 1
- },
- K = {
- 0.905,
- 0.549,
- 0.015,
- 1
- },
- M = {
- 0.847,
- 0.011,
- 0.031,
- 1
- },
- L = {
- 0.302,
- 0.187,
- 0.177,
- 1
- }
- }
- love.draw = function()
- local radius = love.graphics.getHeight() / 2
- local x = 0
- local _list_0 = {
- "O",
- "B",
- "A",
- "F",
- "G",
- "K",
- "M",
- "L"
- }
- for _index_0 = 1, #_list_0 do
- local type = _list_0[_index_0]
- love.graphics.setColor(type_color[type])
- love.graphics.circle("fill", x, love.graphics.getHeight() / 2, radius)
- x = x + radius
- radius = radius / 1.75
- end
- end
- love.keypressed = function(key)
- if key == "escape" then
- return love.event.quit()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement