Pages: 1
Topic closed
I really want to make a defence game (You know, where you're in a fixed position,
shooting off zombies and such.)
The only problem is,I don't know how to make projectiles come from an object.
If you could make one for me, it'd be appreciated.
I'll give you credit.
It is open-source after all.
I make all my graphics (Or edit them when it's things like a picture or so.)
So if you do help, you don't need to make a gun model I can use.
For all I care, it can be a simple line.
But here's the requirements if I am not to pushy;
-Has to follow the mouse.
-Shoots on clicks.
-Make (So&So) Hide when (So&So) are hit, (To represent a kill.
-Made in 3rd Person, NOT 1st
Optional;
-Ammo
-On hit damage.
-Only shoots one enemy at a time.
Thank you for reading.
P.S. It's my 1st ORIGINAL game. So don't be surprised if it doesn't get many views.
Last edited by PepperFaic (2009-11-29 21:51:00)
Offline
Is this the sort of shooting you're looking for? Click on the picture in my sig for the game pocket tanks... That is a shootng game, but I'm not sure if it's what you're looking for.

Offline
Will the arm and the person be seprate sprites? If they are, put these scripts into the person's arm:
<when green flag clicked>
<forever>
<point towards( mouse pointer
<end>
<when green flag clicked>
<forever if> <mouse down?>
<broadcast[ shoot ]and wait c>
<end>
<when green flag clicked>
<forever>
<go to[ person sprite
<end>
And put these scripts into the bullet sprite:
<when green flag clicked>
<hide>
<when I receive[ shoot
<point in direction( ( [direction] of [arm sprite] )
<go to[ arm sprite
<show>
<repeat until> <touching[ edge
<move( 10 or so )steps>
<end>
<hide>
If the arm isn't going to be a separate sprite, just put the arm scripts into the person sprite (except for the last script). Also, make sure that the rotation centers of where the arm and person are supposed to connect are in the right spot.
Last edited by martianshark (2009-11-30 00:33:52)
Offline
Thank you for your help.
Sorry I couldn't reply sooner.
I can't view my post.
The kind of shooting I am talk about is.
Basically this:
[]____{}____[]
{}:Player
_=The ground
[]=enemies.
It's where you're surrounded.
Offline
I have a planet defense game, it's the same thing as you described, but not with zombies
http://scratch.mit.edu/projects/Firebal … sts/745840 it's a topdown game by the way. I have a platform game too with enemies and scrolling.
http://scratch.mit.edu/projects/Firebal … sts/745840
Hoped that helped!
Last edited by fireball123 (2009-11-30 17:27:48)
Offline
I was using the zombie thing as an example, but thankyou.
Offline
PepperFaic wrote:
Thank you for your help.
Sorry I couldn't reply sooner.
I can't view my post.
The kind of shooting I am talk about is.
Basically this:
[]____{}____[]
{}:Player
_=The ground
[]=enemies.
It's where you're surrounded.
yeah, that's pretty similar to my game, if you want to take a look at the scripting and stuff (the link is in my sig
)

Offline
Considering my limitation to understand scripts, I may have to switch to
melee combat or a shooting gallery, but it'll be great.
Offline
Topic closed
Pages: 1