Post

 Resources 

Console

Fart Sniffer


Part 8 - Methane production


The only thing the MakeStinky method does is add a new scent to the scent collection. Because the Stinky Spawner timer will raise it's event 30 times per second, 30 scent objects will be created every second that passes. Scent objects that are created here are being removed by the DecayFarts method discussed earlier.

Copy and paste the code below into Form1

  1. Private Sub MakeStinky()
  2.     mobjScents.Add(New Scent(mobjPlayer))
  3. End Sub




Next: Part 9 - Incoming! | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11

Post a Comment


Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 36 visitors within the last 20 minutes
RSS News Feed