Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tinderbox inventory detection or Reset ignite property: I need one!
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#2
RE: Tinderbox inventory detection or Reset ignite property: I need one!

I'm not exactly sure what you're getting at, but I think you could have a global variable integer that increases by every interaction between the player and a tinderbox. So that once the player has a tinderbox, you might be able to set every turned off candle as a static, uninteractible object while having an interaction area that checks if the player has a tinderbox and then add a fire particle effect on the top of the candle. Finally, it should also subtract the global variable by one per interaction between the player and the area. Though it may be some work planning it out across multiple levels, it should do the job right.

10-02-2011, 09:48 PM
Find


Messages In This Thread
RE: Tinderbox inventory detection or Reset ignite property: I need one! - by Kyle - 10-02-2011, 09:48 PM



Users browsing this thread: 2 Guest(s)