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 .
TsT
Party member
Posts: 161 Joined: Thu Sep 25, 2008 7:04 pm
Location: France
Contact:
Post
by TsT » Sun Oct 26, 2008 2:55 pm
For 0.5.0 Documentation
Just to force white background of body. Usefull when you don't use a default white background in your favorite browser.
Before :
Code: Select all
body
{
background: url("../gfx/bar-bg.png") repeat-y;
margin: 0px;
padding: 0px;
}
After :
Code: Select all
body
{
background: url("../gfx/bar-bg.png") repeat-y;
background-color: white;
margin: 0px;
padding: 0px;
}
Best Regards,
rude
Administrator
Posts: 1052 Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway
Post
by rude » Tue Oct 28, 2008 11:02 am
Thanks.
qubodup
Inner party member
Posts: 775 Joined: Sat Jun 21, 2008 9:21 pm
Location: Berlin, Germany
Contact:
Post
by qubodup » Thu Nov 06, 2008 4:38 pm
In case some elements don't have a color configured,
body {color: black;}
might be a good idea too.
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
rude
Administrator
Posts: 1052 Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway
Post
by rude » Fri Nov 07, 2008 12:28 am
Everything is inside div-tags, so that shouldn't be a problem.
But yeah, might be good practice anyway.
Users browsing this forum: Ahrefs [Bot] and 5 guests