Search found 1 match
- Tue Oct 06, 2020 1:23 pm
- Forum: Support and Development
- Topic: bad argument #1 to 'draw' (Drawable expected, got nil)
- Replies: 1
- Views: 3756
bad argument #1 to 'draw' (Drawable expected, got nil)
Newbie with Löve here, hi. I'm trying to display an arrow sprite from a class with this code. Arrow = Class{} function Arrow:init(x, y, r) self.image = love.graphics.newImage('arrowpic.png') self.width = self.image:getWidth() self.height = self.image:getHeight() self.x = x self.y = y self.ox = self....