How to draw the ground

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
lordlight7
Prole
Posts: 6
Joined: Mon Jan 23, 2012 8:39 am

How to draw the ground

Post by lordlight7 »

I really don't have any idea how to draw my ground in my game.So if i have a 400*200 image and i want the ground in my game to be let's say 2000*200,can i do this somehow?
User avatar
tentus
Inner party member
Posts: 1060
Joined: Sun Oct 31, 2010 7:56 pm
Location: Appalachia
Contact:

Re: How to draw the ground

Post by tentus »

YES. :D

You'll need to use Quads. If the quad is bigger than the source image (as in your case) you'll also need to use setWrap.
Kurosuke needs beta testers
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 1 guest