This is old, so sorry if anything is confusing.
How to use in games: 1 - 2 to switch scenes R to reset A - D to change blocks Q - E to change direction of blocks Click to place ------------------ To implement into a game, you'll first have to make sure the levels you're on are kept track of in a variable. Then, for each level there is, make a "TILE X", "TILE Y", "TILE DIR" and "TILE TYPE" list. Then, edit the code to fit with your levels, and it should work. If anything bugs or you're having trouble, ask me for help.