Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Why use plain js, and not a library like p5.js or three.js, which would be easier and have have a bunch of tutorials.
-
Hazarth95014yDoes WebGL count as "plain javascript" since its integrated into browsers and not an external library?
If so, look into WebGL, which is just a wrapper for OpenGL accessible from a browser through javascript.
It's the closest and most performant (as far as I know) way to drawing things on screen.
Though if you don't want to struggle with a lot of boilerplate code look for an engine. I believe RayLib has a .js extension
I would like to make a 2d game using plain Javascript this coming weekend. What do you suggest?
question
javascript
game