The Daily Click ::. Forums ::. Klik Coding Help ::. Flashbang
 

Post Reply  Post Oekaki 
 

Posted By Message

Menthalmotion



Registered
  20/01/2007
Points
  42
30th January, 2007 at 03:21:11 -

Now, i just made a flashbang weapon, but currently, i dont know how to create the flash. If the flash is not stopped by walls it can go on, but if it is. It will stop. I have a scrolling enviroment, so please no overlay.

 
Timetravel ^^
* Bad english warning

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
30th January, 2007 at 03:36:10 -

When the flashbang explodes, shoot an invisible 'bullet' in all directions. If this detector hits the player, then flash the whole screen white.

Or if you are capable, test for the line of sight between the player and the flashbang using an example similiar to this:
http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=20437&page=0&fpart=1

It depends on what program you are using to make your game with to flash the screen white. If you are using MMF2 then you can use layers and ink effects. For earlier products you will need to use methods that use more memory. The overlay object is another option.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
30th January, 2007 at 10:03:23 -

You don't have to shoot detectors in all directions, unless there are multiple players that could be affected by the flash. Just shoot one detector, toward the player.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click