love. draw_fill and love.draw_line missing in 0.6.0?

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
Jesterscript
Prole
Posts: 4
Joined: Mon Nov 02, 2009 7:41 pm

love. draw_fill and love.draw_line missing in 0.6.0?

Post by Jesterscript »

I can't get love.graphics.rectangle() working in 0.6.0 because love.draw_fill and love.draw_line ar both nil, why are this constants uninitialized? Is there anything I would "require" to use them?

Thanks in advance.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: love. draw_fill and love.draw_line missing in 0.6.0?

Post by bartbes »

Because we now use string constants, so "fill" and "line".
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: love. draw_fill and love.draw_line missing in 0.6.0?

Post by Robin »

And with a few exceptions, the constant love.xxx_yyy is replaced by "yyy".
Help us help you: attach a .love.
Jesterscript
Prole
Posts: 4
Joined: Mon Nov 02, 2009 7:41 pm

Re: love. draw_fill and love.draw_line missing in 0.6.0?

Post by Jesterscript »

Thank you ;)
Post Reply

Who is online

Users browsing this forum: No registered users and 67 guests