+ 6

My Canvas game doen't have any output please tell me what's wrong

I made a mini game with canvas but it doesn't drawing a ball on window why? please tell me whats wrong. https://code.sololearn.com/W56C13aKCZSt/?ref=app

25th May 2018, 1:28 PM
Ishwar Ramdasi
Ishwar Ramdasi - avatar
2 Respostas
+ 5
ok thanks I found it
26th May 2018, 12:11 PM
Ishwar Ramdasi
Ishwar Ramdasi - avatar
+ 4
There was no ctx.fill() or.... ctx.stroke() in your code. https://code.sololearn.com/WO521HwDJePs/?ref=app
25th May 2018, 1:48 PM
᠌᠌Code X
᠌᠌Code X - avatar