Author Topic: Help please  (Read 3977 times)

0 Members and 2 Guests are viewing this topic.

Offline lampman13

  • Jr. Member
  • **
  • Posts: 71
  • Karma: -10
Help please
« on: September 20, 2015, 12:25:07 PM »
ok so I want to make a menu with a background that makes things behind it blurry like this.



can anyone tell me how I would do this?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Help please
« Reply #1 on: September 20, 2015, 12:40:55 PM »
make a panel, use DrawBackgroundBlur on it.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline lampman13

  • Jr. Member
  • **
  • Posts: 71
  • Karma: -10
Re: Help please
« Reply #2 on: September 20, 2015, 12:47:25 PM »
Thanks for such a fast reply i tried that once but i think i was using it wrong but i thought it meant behind the panel what do I use for the start time thing? just a little confused sorry :P

Offline lampman13

  • Jr. Member
  • **
  • Posts: 71
  • Karma: -10
Re: Help please
« Reply #3 on: September 20, 2015, 12:59:07 PM »
ok so i got that but how do i restrict the blur to just an area like a box? also sorry for looking like a kid someone spilt something on my keyboard and I have sticky keys

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Help please
« Reply #4 on: September 20, 2015, 01:37:48 PM »
ok so i got that but how do i restrict the blur to just an area like a box? also sorry for looking like a kid someone spilt something on my keyboard and I have sticky keys
Blur will limit itself to the size of your panel.
As for time, there is a perfect example in that link. Systemtime in panel init.
Set a var when you make the panel, use that time in the blur. Or even a second before for fun effect I'd guess.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Professor_Smiley

  • Newbie
  • *
  • Posts: 45
  • Karma: -24
Re: Help please
« Reply #5 on: September 28, 2015, 01:32:36 AM »
Blur will limit itself to the size of your panel.
As for time, there is a perfect example in that link. Systemtime in panel init.
Set a var when you make the panel, use that time in the blur. Or even a second before for fun effect I'd guess.
It is possible to make a panel that blurs and fades into transparent then fades into blur again and so on? Then I will color it red. For my gamemode.

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given