Devblog - M2k - можно ли играть без текстур
https://vk.com/m2kgame
О поддержке канала + мой живой журнал.
https://rasoft.livejournal.com/49752.html
Поддержать через Patreon
https://www.patreon.com/m2kdev_djalex
function generate_random_image ()
if (zdata==nil) then
zdata = love.image.newImageData(16,16); end;
gc11,gc12,gc13=rnd1 (),rnd1(),rnd1();
gc21,gc22,gc23=rnd1 (),rnd1(),rnd1();
for i=0, 255 do -- remember: start at 0
a=rnd1 ();
px = i % 16
py = math.floor(i / 16);
if (a==0)then zdata:setPixel(px,py, gc11, gc12, gc13) ;end;
if (a~=0)then zdata:setPixel(px,py, gc21, gc22, gc23) ;end;
end
imgbench = love.graphics.newImage(zdata);
return imgbench;
-- love.graphics.draw(imgbench , 50+line*31,50+SC_MODE*31,0,4,4);
end;
Other Videos By Linux4house
Other Statistics
Battle City Statistics For Linux4house
Linux4house currently has 438 views spread across 10 videos for Battle City. His channel published less than an hour of Battle City content, less than 0.61% of the total video content that Linux4house has uploaded to YouTube.