KodingKid

How to make a 720p window in Javascript

May 9th, 2021 (edited)
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var myGameScreen = {
  2.   canvas : document.createElement("screen"),
  3.   start : function() {
  4.     this.screen.width = 1280;
  5.     this.screen.height = 720;
  6.   }
  7. }
Add Comment
Please, Sign In to add comment