All that's left is to try it out! Create a new Map in
GameStateEditor, then either load it or fill it with random tiles
using a for loop inside the constructor. Add a map.draw call in
draw after we draw the background (note it's map.draw(window, dt)
not window.draw(map)), then compile and run! Hopefully you should see
a lovely, animated world.
All that's left is to try it out! Create a new
Map
inGameStateEditor
, then eitherload
it or fill it with random tiles using afor
loop inside the constructor. Add amap.draw
call indraw
after we draw the background (note it'smap.draw(window, dt)
notwindow.draw(map)
), then compile and run! Hopefully you should see a lovely, animated world.from tuto 6 p.s. i'm new so i don't really get it