I just want to create a 5x5 moving background and after 5 seconds add 5x5 tiles to existing ones. But it seems like it can properly update surface only once. After that it updates only coordinates changes. Maybe I`m missing something?
https://github.com/Sektoid/sprite.js/blob/master/tests/test_scrolling.html
I just want to create a 5x5 moving background and after 5 seconds add 5x5 tiles to existing ones. But it seems like it can properly update surface only once. After that it updates only coordinates changes. Maybe I`m missing something?
https://github.com/Sektoid/sprite.js/blob/master/tests/test_scrolling.html