Skip to content

Setup & Installation

Oğuzhan edited this page Oct 3, 2021 · 6 revisions

Injecting into HTML

<script src="https://raw.githubusercontent.com/OguzhanUmutlu/JavaScript2D/main/script.js"></script>

Injecting into Node.JS

const {Vector2, ImageModel, SquareModel, TextModel, EntityData, Entity, Scene} = require("canvas-game-2d");

  • You can install it to your IDE by holding your mouse on it and clicking Download library
Clone this wiki locally