+ 1

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).

21st Aug 2017, 3:29 AM
Rose Sevenyears
Rose  Sevenyears - avatar
4 Antworten
0
A great game example is Xibalba, first person shooter built using impact.js http://phoboslab.org/xibalba/
21st Aug 2017, 4:07 AM
Salekin
Salekin - avatar
0
@Salekin Yep,nice one, but it uses engine and it's not free :)
21st Aug 2017, 4:13 AM
Rose Sevenyears
Rose  Sevenyears - avatar
0
@rose, yes, impactjs is costly, but it's really great library.
21st Aug 2017, 4:16 AM
Salekin
Salekin - avatar
0
@Salekin Engine...not library :D But whatever =\ Post wasn't about libraries\ frameworks\engines... I made it to show people that they realy can do stuff even with native js. That's just a simple example :) I used just a bit of library features...
21st Aug 2017, 4:20 AM
Rose Sevenyears
Rose  Sevenyears - avatar