Update README.md
This commit is contained in:
parent
d739a6786b
commit
8f8903ad64
1 changed files with 3 additions and 2 deletions
|
@ -55,8 +55,9 @@ import { KBTween } from ".../tween.js";
|
|||
import { easings } from ".../easingpackage.js";
|
||||
|
||||
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();
|
||||
|
||||
var bean = add([
|
||||
|
|
Loading…
Reference in a new issue