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
Throw an exploding object?
Acies Offline
Posting Freak

Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation: 73
#13
RE: Throw an exploding object?

(03-18-2012, 11:47 AM)Apjjm Wrote:
(03-18-2012, 06:31 AM)Damascus Wrote: I studied the section you were talking about, and saw that there are options for creating particle effects, sounds, and thrown objects when something hits hard enough. I probably won't be able to deal damage with it, but can probably achieve the explosion effect.

However, after thinking hard about it, I think it might make the game far too frustrating if the player throws it against the wrong object and loses the item, no longer able to advance in the game. But then, if I make it only explode when thrown against the right object, I risk making it look unrealistic. What to do... what to do...
One solution would be to provide an infinite supply of the explosive items (e.g fill a chest with 3 or 4 of them, and when one is destroyed spawn a new one with createEntityAtArea). When the puzzle is solved you can just disable the respawn. I Might make an attempt to come up with an example map showing my approach later today.

Edit:
Done, download link:
http://dl.dropbox.com/u/64805489/explosions.zip
Youtube video (Processing at time of post):
http://youtu.be/THiQ-gF1qJ8
Hoho. Molotov shocktails.

Edit: Nice work.


[Image: mZiYnxe.png]


(This post was last modified: 03-18-2012, 07:08 PM by Acies.)
03-18-2012, 07:07 PM
Find


Messages In This Thread
Throw an exploding object? - by Damascus - 03-17-2012, 08:56 PM
RE: Throw an exploding object? - by SilentStriker - 03-17-2012, 09:21 PM
RE: Throw an exploding object? - by ClayPigeon - 03-17-2012, 09:22 PM
RE: Throw an exploding object? - by Damascus - 03-17-2012, 09:36 PM
RE: Throw an exploding object? - by ClayPigeon - 03-17-2012, 09:39 PM
RE: Throw an exploding object? - by Damascus - 03-17-2012, 10:05 PM
RE: Throw an exploding object? - by SilentStriker - 03-17-2012, 11:14 PM
RE: Throw an exploding object? - by Stepper321 - 03-17-2012, 11:13 PM
RE: Throw an exploding object? - by Apjjm - 03-18-2012, 12:51 AM
RE: Throw an exploding object? - by Damascus - 03-18-2012, 06:31 AM
RE: Throw an exploding object? - by Apjjm - 03-18-2012, 11:47 AM
RE: Throw an exploding object? - by Equil - 03-18-2012, 07:19 AM
RE: Throw an exploding object? - by Acies - 03-18-2012, 07:07 PM
RE: Throw an exploding object? - by Damascus - 03-18-2012, 07:14 PM
RE: Throw an exploding object? - by Apjjm - 03-18-2012, 09:50 PM
RE: Throw an exploding object? - by Damascus - 03-18-2012, 10:29 PM
RE: Throw an exploding object? - by Apjjm - 03-19-2012, 12:35 AM
RE: Throw an exploding object? - by Damascus - 03-19-2012, 01:09 AM
RE: Throw an exploding object? - by Apjjm - 03-19-2012, 01:38 AM
RE: Throw an exploding object? - by Damascus - 03-19-2012, 01:42 AM
RE: Throw an exploding object? - by Apjjm - 03-19-2012, 01:43 AM
RE: Throw an exploding object? - by Damascus - 03-19-2012, 01:59 AM
RE: Throw an exploding object? - by Apjjm - 03-19-2012, 02:07 AM
RE: Throw an exploding object? - by Damascus - 03-19-2012, 02:15 AM
RE: Throw an exploding object? - by Apjjm - 03-19-2012, 02:18 AM



Users browsing this thread: 1 Guest(s)