Drag objects from the margin and drop them on the map. Scroll the map around using the arrow keys. See inside for the object location API.
Map generator uses components from @LocoMule and @DadOfMrLog. This is a trivial implementation of a 2D data structure. It is implemented using a linear list, which will be quite slow if there are a large number of objects. Can you make it significantly faster? Perhaps by using quad trees? btw this scrolling demo uses an adaptive speed algorithm to make the scrolling look faster than it really is :-) (Once it speeds up, it jumps by whole tiles rather than pixel positioning) The objects are all different costumes of a single sprite.