Explosives
#1
Posted 05 April 2012 - 09:48 AM
it look like smoke please help
#2
Posted 05 April 2012 - 10:13 AM
#3
Posted 05 April 2012 - 11:51 AM
Do some
var n;
while(n=collision_circle(blahblah))with(n)instance_destroy();
#4
Posted 07 April 2012 - 10:13 AM
I still don't understand
Do some
var n;
while(n=collision_circle(blahblah))with(n)instance_destroy();
#5
Posted 07 April 2012 - 01:05 PM
#6
Posted 08 April 2012 - 01:25 AM
I have made the objects The object that blows up when you click it and the object smoke that fly's around when youWhat have you tried so far?
blow it up to make it look realistic but that's it
#7
Posted 08 April 2012 - 01:27 AM
#8
Posted 08 April 2012 - 01:33 AM
Well im just asking for help on how to do this When you click the Object 1 it blows up and removes the objects 2 around itWe'res asking for cold hard code. not explanations heh. And maybe a clearer problem or pictures.
i know how to make smoke come of it but i don't know how to remove objects around where ever the object 1 is sitting
#9
Posted 08 April 2012 - 01:36 AM
#10
Posted 08 April 2012 - 02:07 AM
No idea how to do thatWell one way to do it is to just make a circlular invisible object appear for a few frames at the explosion, and make a collision eveent with everything you want to be destroyed get destroyed when it collides with it.
#11
Posted 08 April 2012 - 02:09 AM
A)Create an object at a position
C)Collision events with an object
D) destroying an object
E) Creating an object that lasts only a few frames
Edited by greep, 08 April 2012 - 02:09 AM.
#12
Posted 08 April 2012 - 02:14 AM
I don't understand the collision partWell which part don't you know? There's a few simple things in that:
A)Create an object at a positionMake it invisible
C)Collision events with an object
D) destroying an object
E) Creating an object that lasts only a few frames
#13
Posted 08 April 2012 - 02:17 AM
Take everything you want to be destroyed, like enemies, walls etc. In those objects, go to events, and make a collision event. with the drop down menu, choose explosionRadius. In action, make it destroy itself
Edited by greep, 08 April 2012 - 02:17 AM.
#14
Posted 08 April 2012 - 02:23 AM
Ohhhhh i get itOkay so make the circular object called something like explosionRadius
Take everything you want to be destroyed, like enemies, walls etc. In those objects, go to events, and make a collision event. with the drop down menu, choose explosionRadius. In action, make it destroy itself
#15
Posted 08 April 2012 - 03:04 AM
#16
Posted 08 April 2012 - 03:33 AM
Create:
Timer = 0
Step:
Timer += 1
if (Timer = 5)
{
instance_destroy()
}
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











