SpriteEngine: Add action processing, add gravity function, add player jump