Setting Icon

General discussion about LÖVE, Lua, game development, puns, and unicorns.
dan369
Prole
Posts: 44
Joined: Tue Apr 15, 2014 10:53 pm

Re: Setting Icon

Post by dan369 »

I should mention that my platform was Linux Mint 16.
If another Linux could test & that fails, save to assume some form of bug?

P.s - Also to be save, I tried my icon in both .PNG & .BMP formats. Both fail.
User avatar
BoopDeePoop
Prole
Posts: 39
Joined: Sun Dec 30, 2012 4:15 am

Re: Setting Icon

Post by BoopDeePoop »

Setting the icon will only work for me once and that's when I set a new icon image to be used. For example, if I use icon1.png or something, it'll be used when I launch the game but it'll break after I go to run the game a second or third time. If I change the image being used to icon2.png, it'll do the same thing. Work for the first launch of the game, and then not work ever again.

Image

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

Re: Setting Icon

Post by bartbes »

A bit of a necropost, but I remembered I forgot to post this.

Window icons are displayed less and less, fewer desktop environments show it on the window decorations, and docks and menus etc tend to prefer using application icons over window icons. So some of the behavior you describe seems to be related to that.

BoopDeePoop, how do you set the window icon, then? This is not a setting saved over multiple runs, so it either has to be in your conf.lua, or in your code, to be run every time.
User avatar
BoopDeePoop
Prole
Posts: 39
Joined: Sun Dec 30, 2012 4:15 am

Re: Setting Icon

Post by BoopDeePoop »

bartbes wrote:A bit of a necropost, but I remembered I forgot to post this.

Window icons are displayed less and less, fewer desktop environments show it on the window decorations, and docks and menus etc tend to prefer using application icons over window icons. So some of the behavior you describe seems to be related to that.

BoopDeePoop, how do you set the window icon, then? This is not a setting saved over multiple runs, so it either has to be in your conf.lua, or in your code, to be run every time.
I set it exactly like this in my conf.lua

Code: Select all

t.window.icon = "logo.png"
jjmafiae
Party member
Posts: 1331
Joined: Tue Jul 24, 2012 8:22 am

Re: Setting Icon

Post by jjmafiae »

The icon fully works on windows 8
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 254 guests