Discuss Scratch

sandy_cg07
New Scratcher
3 posts

can we made explosive like bomb in scratch..

i want some tips to make explosive charater in my project. so plz help me to do so in scratch.
Zro716
Scratcher
1000+ posts

can we made explosive like bomb in scratch..

greenjay23 wrote:

(removed by moderator - please keep it polite)
that's not helping

sandy_cg07 wrote:

i want some tips to make explosive charater in my project. so plz help me to do so in scratch.
if you want to explode a character, you can create particle clones from a sprites position:
when I receive [explode v]  //this is for the sprite you want exploding
set [explosion x v] to (x position)
set [explosion y v] to (y position)
repeat (20)
create clone of [explosion particle v]
end

//this is in the sprite that creates the explosion
when I start as a clone
go to x: (explosion x) y: (explosion y)
point in direction (pick random (-180) to (180))
show
repeat (pick random (5) to (25))
move (15) steps
end
delete this clone

Last edited by Paddle2See (July 9, 2014 17:43:08)

sandy_cg07
New Scratcher
3 posts

can we made explosive like bomb in scratch..


sandy_cg07 wrote:

i want some tips to make explosive charater in my project. so plz help me to do so in scratch.
if you want to explode a character, you can create particle clones from a sprites position:
when I receive [explode v]  //this is for the sprite you want exploding
set [explosion x v] to (x position)
set [explosion y v] to (y position)
repeat (20)
create clone of [explosion particle v]
end

//this is in the sprite that creates the explosion
when I start as a clone
go to x: (explosion x) y: (explosion y)
point in direction (pick random (-180) to (180))
show
repeat (pick random (5) to (25))
move (15) steps
end
delete this clone

i want to explode the explosion after 3 sec not right after the character touches the bomb.. suppose a human keep the bomb in a path of the anti character,,and if the character comes there at the explosion tym then only it will die otherwise not..

Last edited by sandy_cg07 (July 9, 2014 08:56:23)

12bpoulton
Scratcher
1 post

can we made explosive like bomb in scratch..

when I receive [explode v]
wait (3) secs
set [explosion x v] to [(x position) ]
set [explosion y v] to [(y position) ]
repeat (20)

create clone of [explosion particle v]
end
The_Scratch_Squad
Scratcher
1000+ posts

can we made explosive like bomb in scratch..

12bpoulton wrote:

when I receive [explode v]
wait (3) secs
set [explosion x v] to [(x position) ]
set [explosion y v] to [(y position) ]
repeat (20)

create clone of [explosion particle v]
end

Please don't necropost.
Paddle2See
Scratch Team
1000+ posts

can we made explosive like bomb in scratch..

Since this topic hasn't seen a new post from the topic owner in a long time, I'm going to assume that it is dead and close the topic. If it still is alive, the topic owner just needs to use the Report button to ask a mod to reopen it

Powered by DjangoBB