Making games on JavaScript?
Hey everybody, I seen here alot of questions like can we really make game with JavaScript or can we do it on native JavaScript without any frameworks or libraries. So..now I have clear answer "YES" with example ,even if I used library , it's not so much difference (it's not so hard and long way to make things I have in library in native js by yourself). So,here it is. CastleFight Game with just simple shapes on JavaScript + some features from p5 (not so many of them) inside Canvas. https://code.sololearn.com/W9OBLD7SuHxg Notice: Canvas better for GAMES in web.Better then using and operate HTML elements or using SVG animations. (DOM is alooot more laggy and even simple thing will became messy slow nonsence,especially if you'll try to play it on phones).