mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-07 11:58:13 +00:00
Updated Lua examples
Most of the examples already working! Only some of them still fail, mostly related to data arrays...
This commit is contained in:
@@ -36,7 +36,7 @@ local pixels = {}
|
||||
|
||||
for y = 1, height do
|
||||
for x = 1, width do
|
||||
if (((x/32+y/32)/1)%2 == 0) then pixels[y*height + x] = DARKBLUE
|
||||
if ((((x - 1)/32+(y - 1)//32)//1)%2 == 0) then pixels[y*height + x] = DARKBLUE
|
||||
else pixels[y*height + x] = SKYBLUE end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user