In what engine did you made this
I use scratch for most of my games, and use a compiler to turn everything into html + add some small features.