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:
raysan5 2016-08-06 19:29:58 +02:00
parent 7f9513fbf4
commit 865b216ebe
17 changed files with 69 additions and 78 deletions

View file

@ -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