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

Post Reply  Post Oekaki 

Posted By Message


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

I make other people create vaporware


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:

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:
Also creator of ZDay20 and Dungeon Dash.




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.


Post Reply



Worth A Click