Canvas HD | Sololearn: Learn to code for FREE!

+6

Canvas HD

my circles or other elements in canvas are always pixeled, like low quality... but I found games with canvas with hight quality... how is it possible ? example : http://mope.io

5/20/2018 12:42:23 PM

NoxFly

6 Answers

New Answer

+5

This code by user Ask Plays explains how to increase pixel density for better graphics: https://code.sololearn.com/WKO0CNJ6ny3L/?ref=app

+14

Perhaps they scaled it? https://iwalt.com/weblog/2010/08/generating-highresolution-graphics-with-html5s-canvas-element

+5

thanks SILENT and Haris. I rly want to make best answer your both ans. but... I can't

+4

NoxFly ドリアン that game has a million downloads so theres more to than canvas.There are graphic enhacing tools,probably what they used,things that cant be used in pure js

+4

I wrote now how you can do it, just scroll to the last message: https://www.sololearn.com/Discuss/1104654/?ref=app

+2

CSS file too