really means?Error: [string "graphics.lua"]:1252: Incorrect parameter type: expected Rasterizer
Rasterizer
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Rasterizer
Anybody know what the error message:
Re: Rasterizer
remove the " " from love.graphics
Only douchebags tell the admins to delete threads once they get they're answer.
Re: Rasterizer
Thanks.
Narrowed down to one line of code:
The surprise is that if I call it once, everything is fine. Twice gives the error.
Second surprise is that self didn't have a font field, so code shouldn't even have been executed.
Think that the bug is actually somewhere else that is effected by this.
No big deal - can work around.
Thanks again for the pointer as to error message meaning.
Narrowed down to one line of code:
Code: Select all
if self.font then self.font = gr.newFont( self.font, self.width ) end
Second surprise is that self didn't have a font field, so code shouldn't even have been executed.
Think that the bug is actually somewhere else that is effected by this.
No big deal - can work around.
Thanks again for the pointer as to error message meaning.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Rasterizer
The second time self.font is a Font object, not a font name (string).
Who is online
Users browsing this forum: Bing [Bot] and 7 guests