Re: invaders.lua bug report
Heyup, So how's this going? I just updated to latest git and I'm getting the same invaders behavior: - trash in alpha areas and - no keyboard input I don't use a background pixmap, instead I set a solid color with xsetroot. On Wed, Oct 15, 2008 at 19:35, Julien Danjou [EMAIL PROTECTED] wrote: I think awesome should draw a black rectangle if it fails to copy background image (widget.c:widget_render()). Anyone want to test my assumption, I'm in the middle of something else right now? If I understand correctly that would cause black outlines on objects in invaders when there's no background pixmap at all. drawing a wibox as a background for the whole game would solve that but i think it has issues of its own. just my 5p. cheers, koniu -- To unsubscribe, send mail to [EMAIL PROTECTED]
Re: invaders.lua bug report
At 1224245108 time_t, koniu wrote: I don't use a background pixmap, instead I set a solid color with xsetroot. That's probably why you get this garbage behind monsters. If I understand correctly that would cause black outlines on objects in invaders when there's no background pixmap at all. Yup. But I don't know (yet) how to get root window color. :-/ drawing a wibox as a background for the whole game would solve that but i think it has issues of its own. Sounds like a plan. Cheers, -- Julien Danjou // ᐰ [EMAIL PROTECTED] http://julien.danjou.info // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD signature.asc Description: Digital signature
Re: invaders.lua bug report
At Fri, 17 Oct 2008 13:05:08 +0100 koniu [EMAIL PROTECTED] wrote: drawing a wibox as a background for the whole game would solve that but i think it has issues of its own. Good idea, I'll implement that as an option to invaders.run(). Gregor -- To unsubscribe, send mail to [EMAIL PROTECTED]
Re: invaders.lua bug report
At 1224026551 time_t, Alex Cornejo wrote: After launching invaders, the graphics seemed filled with garbage, there is no background (it uses my wallpaper, but perhaps this is intended), the window takes no input (it does not respond to left,right or q for quit). Yes, it should use your wallpaper. For sprites, it does not seems like garbage, it seems that you've set a wallpaper with 2 differents tools and awesome uses the wrong one to simulate transparency. Never put a pink wallpaper? :) And please check if you've got anything on stderr. Cheers, -- Julien Danjou // ᐰ [EMAIL PROTECTED] http://julien.danjou.info // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD signature.asc Description: Digital signature
Re: invaders.lua bug report
At 1224093579 time_t, Gregor Best wrote: Also, there might be problems if the application you use for setting wallpapers just overlays the root window with another one, because if you start Invaders on top of other windows, your screen background will show through around the sprites. If no real screen background is set, maybe Awesome tries to grab the root windows background but receives garbage. No, it don't take garbage, it just ignore alpha. Cheers, -- Julien Danjou // ᐰ [EMAIL PROTECTED] http://julien.danjou.info // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD signature.asc Description: Digital signature
Re: invaders.lua bug report
At Wed, 15 Oct 2008 20:19:59 +0200 Julien Danjou [EMAIL PROTECTED] wrote: At 1224093579 time_t, Gregor Best wrote: Also, there might be problems if the application you use for setting wallpapers just overlays the root window with another one, because if you start Invaders on top of other windows, your screen background will show through around the sprites. If no real screen background is set, maybe Awesome tries to grab the root windows background but receives garbage. No, it don't take garbage, it just ignore alpha. Cheers, Okay, then I should add an option to ignore the screen background and use a plain colored wibox as a background. Gregor -- To unsubscribe, send mail to [EMAIL PROTECTED]
Re: invaders.lua bug report
At 1224094960 time_t, Gregor Best wrote: Okay, then I should add an option to ignore the screen background and use a plain colored wibox as a background. I don't think that's your job. If there's alpha and awesome cannot copy background image, alpha will be blend with garbage or what was drawn before. I think awesome should draw a black rectangle if it fails to copy background image (widget.c:widget_render()). Anyone want to test my assumption, I'm in the middle of something else right now? -- Julien Danjou // ᐰ [EMAIL PROTECTED] http://julien.danjou.info // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD signature.asc Description: Digital signature