Update README.md

This commit is contained in:
MeowcaTheoRange 2022-08-08 12:10:16 -05:00 committed by GitHub
parent d739a6786b
commit 8f8903ad64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,8 +55,9 @@ import { KBTween } from ".../tween.js";
import { easings } from ".../easingpackage.js"; import { easings } from ".../easingpackage.js";
var k = kaboom(); // Make Kaboom global but also a variable var k = kaboom(); // Make Kaboom global but also a variable
var twnlib = KBTween(k); // Create new TweenLib instance, pass in Kaboom var twnlib = KBTween(k); // Create new TweenLib instance, pass in Kaboom
// This fixes Intellisense on VSCode not picking up on how Kaboom imports plugins
// Otherwise, if your IDE is smart enough, you can just pass in the tween lib normally, using KBTween as a plugin
loadBean(); loadBean();
var bean = add([ var bean = add([