this is a tile-based scrolling game. if you are not familiar with tile games, they are games that use lists to control collisions. in this whole game, there is not a single "if touching" block. it measures what tile it is on, and it finds if that tile is solid. this is so useful, because you can define what tiles are solid and which ones are not. tile games will also run much faster than other platformers. another thing that makes tile games so much cooler is that you can have off screen collisions, because all of the detection is done with x and y positions. this is very useful for off screen enemies, and other things that need to move off screen. one more thing (my favorite) is the in-game editor! all you have to do is change the values in the list, and it will shift tiles! ~~~~~~~~~~~~~~~~~~controls.~~~~~~~~~~~~~~~~~ arrow keys/WASD = move click to place a tile press space to change your tile r = rotate a tile press M to show/hide the variables if you use this, make sure to ❤️ and ⭐!
art: by @crumbthehog code: by @crumbthehog music: I don't know what the music is. the tiles are 16×16 because it's a standard size. changing the size would mean changing a lot of values. in my tile games, I mostly use 24×24 tiles there are notes inside to show you how to do all this. feel free to use this. there are a few things you should know before using it though: if you add your own tiles, you must add its value to the "solid" list. (s for a solid tile and c for a clear tile) then in the editor sprite, find the script that is changing the selected tile (the ct variable) switch the number to the number of tiles you have. to change the background, go in the background sprite, and draw what you want. if you want to change the speed of the back drop scrolling, just go o the code, and there is a code that is setting the x position. in the code there is "scroll x / 2" set the number to a larger value to make it go slower.