0

Render canvas game

I made a very simple logic that the camera is centered on the player while the rest around moves with a field of 3000. On the canvas it’s sitting on the 25x25 tag and on the css 400x400 so it doesn’t get tiny. But when the players and the fruits are rendered, it have a size of 4 pixels and a half transparent. How do I fix that? Render code: https://sololearn.com/compiler-playground/chtmai0SM3dH/?ref=app

16th Oct 2023, 2:16 PM
O Jaum
O Jaum - avatar
1 Antwort
+ 7
The code is incomplete. In addition that need to be saved in SL playground called „Web“, together with html und css parts.
16th Oct 2023, 2:46 PM
JaScript
JaScript - avatar