0
What to do with HTML Canvas (in the long run)?
So I've been making games/ drawing pictures with HTML canvas for a while now, all of them here in Sololearn. But when exactly is canvas used to make games in real life? If I want other people to play these, do I make a webview app, or publish it as a website (i.e. like Farmville). Or is canvas only used for practice, and I need to rewrite the whole thing in Java?
5 Respuestas
+ 6
Hii
No you don't need to worry about that!
I believe there isn't any need to re-write the whole code again in java or any other programming languages..
There are many games which uses canvas to improve there graphics sometimes..
Like The second game from Fantasy Interactive is Canvas Defense. It's another addictive game in which you need to defend yourself from a swarm of enemies using nothing but the limited tools at your disposal. The game uses HTML5 canvas for the graphics...
It's used in many other places too but actually those are some small games.. like snake one..
And yes if you want then why not! You can publish it in a webview format!
Hope helps
+ 3
As I know even pubg was developed in cpp, I too never knew that cpp is such a powerful language.
+ 2
Thanks Piyush[21 Dec❤️] for the examples.
Mirielle[ INACTIVE ] thanks for your opinion, but I'm not sure why you chose C++ over C#