I was recently creating a web game. Now, while creating graphics for this game (characters, map etc), I saw that under the HTML canvas API, drawing even a single line took 4 lines of code-
ctx.beginPath();
ctx.moveTo(100, 150);
ctx.lineTo(100, 200);
ctx.stroke();
I knew that things like mapping out coordinates and rewriting repeated methods can easily be done by a no-code tool. This led to the creation of Canvascript. It's a open source tool whose purpose is to speed up the time it takes to create web game graphics.
Using it is simple, draw on the canvas, then click on the generate button to get the code to render the design on the actual HTML canvas. You can use the tool here. We also have a Discord server btw.
What do you think about this? any feedback or suggestions?
Top comments (1)
That's great π