Thread: Canvas Problem
View Single Post
Old 12-05-2012, 10:03 PM   PM User | #43
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,168
Thanks: 59
Thanked 3,993 Times in 3,962 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
Oh...and you don't *HAVE* to clear the canvas and start over for *ANY* change.

Say you wanted to change one cell from grass to concrete: You could do that by just re-writing that part of the canvas.

Or, if you didn't use a canvas, by just changing the src property of one of your <img> tags.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote