The Daily Click ::. Forums ::. Klik Coding Help ::. Flash! (no, not THAT kind...)
 

Post Reply  Post Oekaki 
 

Posted By Message

Teh Keelor



Registered
  03/07/2003
Points
  333
6th July, 2003 at 16:58:26 -

Anybody know a way I can get the screen to flash white without making a huge transparent active object the size of the screen? I want the effect to occurn when a bomb explodes.

 
Image

"Don't push the Mario man!"

AsparagusTrevor

Mine's a pint of the black stuff

Registered
  20/08/2002
Points
  2364

Game of the Week WinnerHas Donated, Thank You!VIP MemberEvil kliker
6th July, 2003 at 18:05:33 -

Well you can use the Palette Object, with that you can lighten the screen or darken it, as well as other effects. But it doesn't seem to work under Windows XP. For the lightning in my game Zombies Now, I had to use the huge transparent object method cos I have Windows XP, although the Palette object worked fine in Windows ME. If it's only displayed for a split second, then it won't slow the game down.

 
Image

AsparagusTrevor

Mine's a pint of the black stuff

Registered
  20/08/2002
Points
  2364

Game of the Week WinnerHas Donated, Thank You!VIP MemberEvil kliker
6th July, 2003 at 18:09:52 -

Oh, by the way, you can get it here for MMF http://www.3ee.com/docs/files/mmf/palette.cox and here for TGF here: http://www.3ee.com/docs/files/tgf/palette.gox

 
Image

Crystal Clear (H.E.S)

Possibly Insane

Registered
  06/10/2002
Points
  2548
6th July, 2003 at 18:43:49 -

Yeah, i made a program with the Pallete object. it was called Disco Desktop. it was a program where you could create flashy colors. but the big problem was, most had XP so that kinda sucked. youre probably better off not using it.

 
HES homepage:
http://www.distinctiv-efair.com/heretic/studios
Crystal Clear Productions: http://www.distinctiv-efair.com/heretic/crystalclear

Teh Keelor



Registered
  03/07/2003
Points
  333
6th July, 2003 at 18:45:53 -

I use ME, so I guess im set. Thanks guys.

 
Image

"Don't push the Mario man!"

AsparagusTrevor

Mine's a pint of the black stuff

Registered
  20/08/2002
Points
  2364

Game of the Week WinnerHas Donated, Thank You!VIP MemberEvil kliker
7th July, 2003 at 07:16:01 -

The Palette object could be so good, it's a shame it doesn't work on XP, and is so buggy anyway.

 
Image

Blackgaze

Possibly Insane

Registered
  01/11/2002
Points
  3161

VIP Member
7th July, 2003 at 11:31:45 -

i have just done a flash in my game. but a difficult way of doing a flash but not an active is to make the background white and make onbjecst invisble for about 0.05 milliseconds but thats rubbish.
i dont know how to do this without making the flash an active object.

 
Formerly known as "Spiderhead".

Returned after four years.
www.youtube.com/user/sevlech for more infomation

Teh Keelor



Registered
  03/07/2003
Points
  333
8th July, 2003 at 00:53:14 -

there an MMX version?

 
Image

"Don't push the Mario man!"

AsparagusTrevor

Mine's a pint of the black stuff

Registered
  20/08/2002
Points
  2364

Game of the Week WinnerHas Donated, Thank You!VIP MemberEvil kliker
12th July, 2003 at 18:50:08 -

there's only three, one for MMF, one for TGF and one for CNC, which is here http://www.3ee.com/docs/files/cnc/palette.cox

I dunno if any of the other extension formats work for MMX, I never used it, and know jack about it.

 
Image

Teh Keelor



Registered
  03/07/2003
Points
  333
12th July, 2003 at 21:20:11 -

Hey good news, the CNC version works. I put it in the game and it looks very nice! Too bad i cant get the screen to flash orange.... when i say to flash red, it turns purple.

 
Image

"Don't push the Mario man!"

Lew



Registered
  06/01/2002
Points
  1014
15th July, 2003 at 15:37:54 -

You shouldn't use the pallette object. It is so incompatible with peoples systems, using it in a game would cause all sorts of problems. Just go with the object, except instead of making it invisible, destroy it at the start of the frame, and create it when you need it. That way it doesn't slow down the game at all.

 
<--intelligent, witty comment here-->

NUB



Registered
  23/10/2003
Points
  95
30th October, 2003 at 12:11:35 -

If you want it to flash continually, make a big white object then theres an event under visibility, called flash object.

if you want it to flash once then just create a big white object create it when you want the bomb to explode and delete a short time after, make a counter that counts down the period of time you want the object to stay on screen, when it hits 0, delete the object.

Lew is right about the pallette, the object verion is much more stable.

hope it helps

 
n/a

Kris

Possibly Insane

Registered
  17/05/2002
Points
  2017
30th October, 2003 at 12:26:54 -

just temporarily move the camera to the middle of a large white block, then move it back to where it was before

 
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G

Pete Nattress

Cheesy Bits img src/uploads/sccheesegif

Registered
  23/09/2002
Points
  4811
30th October, 2003 at 16:06:31 -

woah... bumpity bump.

 
www.thenatflap.co.uk

Kirby Smith

Resident Slacker

Registered
  18/05/2003
Points
  479

VIP Member360 OwnerWii OwnerThe Cake is a Lie
30th October, 2003 at 16:15:58 -

I'd have to agree with Kris's solution. Just have a white quick-background the same size of your screen, put an invisible active object in the middle of it, and tell the game to 'center display on the active', until a counter gets to 0 (have it set that counter to 4 or so and tell it to subtract one every MMF loop). As long as the counter is equal to or less than 0, have it center the screen on your player.

 
XBL Gamertag: Rampant Mjolnir
   

Post Reply



 



Advertisement

Worth A Click