ok i looked all around the reference manual online and off and couldn't find how to cut peices of the window out of the programe such as when im making a splash screen i dont want it to have the minimize, maximize, or exit button attached can someone help me please?
i think you use siccors or something, right?
can someone help me with a piece of code?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 49
- Joined: Tue Feb 10, 2009 6:07 pm
- qubodup
- Inner party member
- Posts: 775
- Joined: Sat Jun 21, 2008 9:21 pm
- Location: Berlin, Germany
- Contact:
Re: manipulating window decoration
It is not possible to manipulate window decoration through LOVE I think.
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)
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
Re: can someone help me with a piece of code?
Do you mean you want to run the game in fullscreen? Add fullscreen=true to the game's config file
-
- Prole
- Posts: 49
- Joined: Tue Feb 10, 2009 6:07 pm
Re: can someone help me with a piece of code?
no, i mean i just want the picture to be on the computer then have it load a love game screen. read the sciccors thing in the reference manual.
Re: can someone help me with a piece of code?
That's not possible with LOVE.
Re: can someone help me with a piece of code?
I suppose if you really want to use scissors, just grab a pair and scrape the pixels that you don't want off your monitor.
Re: can someone help me with a piece of code?
Only possible with DirectX on Windows, if I'm not mistaken. Sorry bro.
The best thing you can do is write some text on top saying "DO NOT LOOK AT THIS YET" and make an arrow point up during the splash screen. Or just don't worry about it at all.
Scissor is used for when you're drawing onto the screen, but you want it to only draw on a certain part of the screen so it doesn't draw anything anywhere else. Can't think of a real situation where that may be useful, but hey, it is what it is.
The best thing you can do is write some text on top saying "DO NOT LOOK AT THIS YET" and make an arrow point up during the splash screen. Or just don't worry about it at all.
Scissor is used for when you're drawing onto the screen, but you want it to only draw on a certain part of the screen so it doesn't draw anything anywhere else. Can't think of a real situation where that may be useful, but hey, it is what it is.
Re: can someone help me with a piece of code?
I can: Split screen multiplayer, games featuring HUDs maybe...
Teh Blog -> http://cryodreams.com.ar
Re: can someone help me with a piece of code?
[story]
i had ported the brain damage simple raycaster over to love and was trying to figure out how to do texture maps, i got the Y scaling working fine, the x scaling i still havent gotten right, but originally when i scaled out the x the image would naturally get larger, totally borking the entire effect, so for each sliver of the raycast i set the scissors, drew the rectangle, cleared the scissors and proceeded on to the next sliver, which worked great for keeping a slice of a scaled image within a set box ... but i havent gotten the scaling right ... still and its been about 3 weeks since i even messed with it
point is i was doing several hundred scissor cuts per draw loop, so its not just to block off 1 part of the screen
[/story]
i had ported the brain damage simple raycaster over to love and was trying to figure out how to do texture maps, i got the Y scaling working fine, the x scaling i still havent gotten right, but originally when i scaled out the x the image would naturally get larger, totally borking the entire effect, so for each sliver of the raycast i set the scissors, drew the rectangle, cleared the scissors and proceeded on to the next sliver, which worked great for keeping a slice of a scaled image within a set box ... but i havent gotten the scaling right ... still and its been about 3 weeks since i even messed with it
point is i was doing several hundred scissor cuts per draw loop, so its not just to block off 1 part of the screen
[/story]
-
- Prole
- Posts: 49
- Joined: Tue Feb 10, 2009 6:07 pm
Re: can someone help me with a piece of code?
thanx guys now i understand
Who is online
Users browsing this forum: Bing [Bot] and 217 guests