Hello Eveybody,
I'm a complete newbie to Love and Lua (although I've been a professional c++ programmer for the last 17 years). Anyhow I'm going through the book "Love for Lua Game Programming" which appears to use a version of Love prior to 0.9.0 because its sample code has calls to Quad:flip. Now I'm using version 0.9.0 (in which Quad:flip has been removed) and have searched but am unable to find what to use in place of Quad:flip.
Any help is greatly appreciated!
thanks,
Marc
Equivalent to Quad:flip in 0.9.0?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Equivalent to Quad:flip in 0.9.0?
A combination of [wiki]Quad:getViewport[/wiki] and [wiki]Quad:setViewport[/wiki], probably negating the width and/or height.
Alternatively, the quad can be flipped while drawn (using negative scale parameters).
Alternatively, the quad can be flipped while drawn (using negative scale parameters).
-
- Prole
- Posts: 2
- Joined: Sat Dec 28, 2013 1:37 am
Re: Equivalent to Quad:flip in 0.9.0?
Thanks bartbes :-)
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 6 guests