Need help with making surface of image clickable.

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.
Andlac028
Party member
Posts: 174
Joined: Fri Dec 14, 2018 2:27 pm
Location: Slovakia

Re: Need help with making surface of image clickable.

Post by Andlac028 »

Also you should not call love.graphics.newImage in love.draw or love.update, because it causes to load image every frame and the game will be very laggy. Instead of this, load it in love.load and then use it in love.draw (see big yellow warning at wiki love.graphics.newImage)
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 91 guests