hump vector/camera error

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
Refpeuk
Citizen
Posts: 91
Joined: Wed Dec 14, 2011 6:16 pm

hump vector/camera error

Post by Refpeuk »

I've been banging my head against this error for a while, and don't really understand what it means.

Add: wrong argument types(<vector> expected)

It sounds really straightforward, except looking through the HUMP code I can see that it is actually asking for single number values like I'm giving it, not vector tables.

Here's my code so you can see what I mean.

EDIT: It's probably a HUMP issue. I've tried calling the worldCoords() function on its own or through the mousepos() function and it always gives the same error.
Attachments
spacegame.love
(44.02 KiB) Downloaded 70 times
It was the best of times, it was the worst of times . . .
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 194 guests