Hue
(Hue)
October 18, 2023, 1:54am
1
Question: I resized canvas to keep a 16:9 aspect ratio but I’m not sure how to unstretch it. My idea is that a little of the canvas will be offscreen to keep a flush, unstretched look with users with any screen size.
Repl link: https://replit.com/@ColoredHue/BulletPartyio
(Replit Ask took too long so i’m asking here)
1 Like
Darkshayan
(Codershayan)
October 18, 2023, 2:49am
2
I am not great in Js, but in other languages there usually is a few lines of code that will resize. Also, I love your projects like the Wendy’s one.
3 Likes
Hue
(Hue)
October 20, 2023, 2:01pm
4
Still more helpful than Replit Ask
1 Like
mna4
(Ayo sus)
October 22, 2023, 5:32am
5
wdym “unstretch it”, so you want the canvas to fill the screen?
2 Likes
python660
(Banana)
November 24, 2023, 4:31pm
6
Try using css width and height rather than the html properties…
@hue , you here?
1 Like
doxr
(Izaan Shaik)
November 25, 2023, 10:10pm
7
necroposter, stop it. get some help.
/j, of course