Canvas image drawing order
问题 I'm making a simple engine for isometric games to use in the future. The thing is i'm having trouble drawing on the canvas. Take for instance this code: function pre_load() { var imgs = ['1', '1000','1010','1011','1012','1013']; var preload_image_object = new Image(); $.each(imgs,function(i,c){ preload_image_object.src='img/sprites/'+c.logo+'.png'; }) } function GameWorld() { //[...] this.render = function() { this.draw(1000, this.center); this.draw(1013, this.center); this.draw(1010, this