Re: Life
Posted: Wed Sep 29, 2010 11:52 am
My science teacher told me I should go to the science fair with this as my project.
Inverse the colors and make cells gigantic? No thanks.Ozzypig wrote:Add in terrain generation. Like, change the background color to grass green (or tile the minecraft grass texture ) then change the cells to red or blue color then generate random lines across the map and color them blue. Rivers
EDIT: Erasing does not work when the camera is moved.
Code: Select all
if healthbar and v.alive then --dead cells don't need health bars anymore.
local x1,y1=math.floor(v.x-8),math.floor(v.y-8)
local x2,x3=math.floor(v.x+8),math.floor(v.x+(v.food/100)*16-8)
--love.graphics.setLine(1,"rough") --Lines didn't seem to be working, so I tried points...
--love.graphics.setColor(0,0,0)
--love.graphics.line(x3,y1,x2,y1)
love.graphics.setColor(0,255,0)
--love.graphics.line(x1,y1,x3,y1)
love.graphics.setPoint(1,"rough")
for i=x1,x3 do
love.graphics.point(i+0.5,y1+0.5)
end
love.graphics.setColor(0,0,0)
for i=x3+1,x2 do
love.graphics.point(i+0.5,y1+0.5)
end
end
<ot>Can't complain about a free service, but their pricing for anything beyond the free 2G is a bit steep. I use ExpandDrive which maps any SFTP server into Windows as an external drive. My web host (which supports SFTP) is $5/mo for 150GB. The biggest account DropBox sells is 100GB and it's $19! I could get nearly 600GB for that price. Not to say a free 2GB isn't awesome, but if you end up needing more than that I'd explore other options.</ot>
Mud wrote:<ot>Can't complain about a free service, but their pricing for anything beyond the free 2G is a bit steep. I use ExpandDrive which maps any SFTP server into Windows as an external drive. My web host (which supports SFTP) is $5/mo for 150GB. The biggest account DropBox sells is 100GB and it's $19! I could get nearly 600GB for that price. Not to say a free 2GB isn't awesome, but if you end up needing more than that I'd explore other options.</ot>
BTW: Your program is cool.
If you use Nautilus, just choose to connect to a server, enter your account information and remember to save as a bookmark. Then you'll be able to use it just like any other drive.zac352 wrote:Is there a linux version? :O