mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-01 20:03:55 -04:00
Made the example work properly with Love 11.0
This commit is contained in:
parent
a11cb94aaa
commit
01e97c8072
2 changed files with 3 additions and 3 deletions
4
main.lua
4
main.lua
|
@ -99,7 +99,7 @@ for i = 1, 100 do
|
|||
e:give(Rectangle, love.math.random(5, 20), love.math.random(5, 20))
|
||||
|
||||
if love.math.random(0, 1) == 0 then
|
||||
e:give(Color, love.math.random(0, 255), love.math.random(0, 255), love.math.random(0, 255), 255)
|
||||
e:give(Color, love.math.random(), love.math.random(), love.math.random(), 1)
|
||||
end
|
||||
|
||||
Game:addEntity(e)
|
||||
|
@ -111,7 +111,7 @@ for i = 1, 100 do
|
|||
e:give(Circle, love.math.random(5, 20))
|
||||
|
||||
if love.math.random(0, 1) == 0 then
|
||||
e:give(Color, love.math.random(0, 255), love.math.random(0, 255), love.math.random(0, 255), 255)
|
||||
e:give(Color, love.math.random(), love.math.random(), love.math.random(), 1)
|
||||
end
|
||||
|
||||
Game:addEntity(e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue