Updated pixi.

Maybe fixed a case from interpolation that a sprite could not be cleaned up. Need to make a better system for controlling sprites.
Added binds for arrow keys to scroll multiline text.
Added support for colorto tween changing tint not just alpha.
This commit is contained in:
firebingo 2018-06-07 21:35:47 -07:00
parent 2287163a34
commit d356f17adb
6 changed files with 110 additions and 44 deletions

View file

@ -333,7 +333,11 @@ function dialogScrollDown(event) {
}
function onBodyKey(event) {
if(event.code.toLowerCase() === "space") {
if(event.code.toLowerCase() === "arrowdown") {
dialogScrollDown(event)
} else if(event.code.toLowerCase() === "arrowup") {
dialogScrollUp(event);
} else if(event.code.toLowerCase() === "space") {
event.preventDefault();
event.stopPropagation();
player.onMainClick(event);