heres how i filled layer 0 with one tile as a background with bgfill, then i made 3 tiles fill across the screen for a "platform" read the 'comments and i would recommend doing that yourself when you start programming always leave comments incase another person needs to read it when you get to more advanced stuff, but these comments are for myself so i can remember the arguements it wants to work
ignore line 23 though, that was just me experimenting with the x axis to see if i could just offset a tile 16 pixels to the right lol but that would probably be better in a for loop, maybe...im a little rusty myself lol