Newer
Older
js_html_template / script.js
@clewis clewis on 28 Feb 2024 280 bytes initial commit
window.addEventListener('load', function() {

    const canvas = this.document.getElementById('canvas1');
    const ctx = canvas.getContext('2d');
    canvas.width = 1500;
    canvas.height = 500;

});

/*
Ref: Make Your Own Animated 2D Games
Author: Frank Dvorak 
Udemy Course
*/