Update README.md
This commit is contained in:
parent
d739a6786b
commit
8f8903ad64
1 changed files with 3 additions and 2 deletions
|
@ -56,7 +56,8 @@ 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([
|
||||||
|
|
Loading…
Reference in a new issue