pre-made bombs
Moderators: Commodore, Zenith Nadir
pre-made bombs
is there any way to make a pre-made bomb using the #become/#change feature? i am trying to make a rocket launcher but can only find already activated bombs
not that way at least. You'd probably have to it an object that you pick up, it follows you around, and then you push it to throw it and it #puts blocks around it when it thuds.
I haven't tested any of this code but this is what I'm thinking of:
Then you can fade out the explosion with a seperate object that looks for yellow fakes. (assuming you don't use them, red fakes, and red water as this code will make all of those tiles empty)
To make the terrain explode build what you want out of objects then chain them together checking to see if they still block each other, if the chain is broken, all the objects disappear.
I haven't tested any of this code but this is what I'm thinking of:
Code: Select all
@rocket
#cycle 1
#end
:touch
#zap touch
:do
?seek#do
:touch
#zap touch
#walk opp seek
#end
:thud
#put n yellow fake
#put s yellow fake
#put w yellow fake
#put e yellow fake
#become yellow fake
Code: Select all
@fader
#cycle 1
#if any yellow fake #do
#restart
:do
#change yellow fake red fake
/i#change red fake water
/i#change red water empty
#restart
Code: Select all
@piece of helicopter or door whatever
#cycle 1
#if not blocked w #die
#restart
*POW* *CLANK* *PING*