kittkat
kittkat
my script here isn't working. the idea is that when you press "spin" then the character's sprite shrinks vertically and vertically only. I'm still learning lua, but why ain't this working?
squash:
if input.gameControlDown GC_SPIN then
p.mo.spriteyscale = FRACUNIT/2 until
not input.gameControlDown GC_SPIN
end