This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2009-10-20 09:40:41

snowboardog
Scratcher
Registered: 2009-10-20
Posts: 2

Help, I have to create a Game for my class and i need tips

Hi i need what ever tips i can get for this project. I am creating a survival horror top down shooter game for my class. I need tips on how to program these kinds of things
1. Enemy Ai
2.Shooting
3. Power Ups
4. Health Packs
5. Ammo Packs
6. Different Guns
7. Different Zombies
8. Solid objects: walls, barricades
9. Damage done from zombies
10. Anything else you can think of


Thank you to who ever posts on this forum. I really need help

Offline

 

#2 2009-10-20 09:55:44

jacool
Scratcher
Registered: 2008-01-25
Posts: 1000+

Re: Help, I have to create a Game for my class and i need tips

The enemy AI could be somewhat tricky, of course it depends on how you want it.
You could make a sprite which moves 1 step all the time and points to the main character.

For the shooting you need a sprites which stays hidden until spacebar is down.
Then it goes to the charcater points in the same direction as it and then you use the repeat until script for the movement.

Power ups could be sprites which changes a variable when they are touched by the main character.
The variables could be for the speed of the bullet (the shooting one)

Health packs are made in the same ways as the power ups but the change a health variable by a certain amount when they are touched.

Ammo packs are the same.

Different guns
Use variables like:
Set Bullet Costume to (GunVariable)

Different Zombies, I think you could figure out that on your own  smile

Solid walls isn't the easiest thing to make, search for sensors or hitsensors in the forums to learn more.

Damage from the Zombies: When you touch the zombies the health variable changes by a certain negative amount.


http://i571.photobucket.com/albums/ss159/JacobKar/svensktiger-1.png

Offline

 

#3 2009-10-20 10:30:48

snowboardog
Scratcher
Registered: 2009-10-20
Posts: 2

Re: Help, I have to create a Game for my class and i need tips

I will upload a demo when i have a sufficent amount done. I am hoping that people will help me edit and refine it.





Any more tips would be helpful


THANKS!

Offline

 

#4 2009-10-31 05:48:36

HamsterMan2000
Scratcher
Registered: 2008-12-20
Posts: 62

Re: Help, I have to create a Game for my class and i need tips

I cant wait!


http://i.imgur.com/DB8bLI9.png

Offline

 

#5 2009-10-31 13:10:42

technoguyx
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: Help, I have to create a Game for my class and i need tips

Well, what you want us to explain is pretty much the whole game except the menus and stuff.

The most complex thing, as you can guess, is the AI. It depends on the kind of AI you want, the simplest AI would be one that just moves randomly and shoots to the player.

Shooting can be done with a bullet sprite with this script:

[blocks]<when green flag clicked>
<hide>
<forever>
<wait until><mouse down?>
<point towards( mouse-pointer
<show>
<repeat until><< <touching[ edge  <or> <touching[ enemy >>
<move( 35 )steps> --Can be changed
<end>
<end>
[/blocks]


http://getgnulinux.org/links/en/linuxliberated_4_78x116.png

Offline

 

#6 2009-11-21 15:22:58

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Re: Help, I have to create a Game for my class and i need tips

technoguyx wrote:

Well, what you want us to explain is pretty much the whole game except the menus and stuff.

The most complex thing, as you can guess, is the AI. It depends on the kind of AI you want, the simplest AI would be one that just moves randomly and shoots to the player.

Shooting can be done with a bullet sprite with this script:

[blocks]<when green flag clicked>
<hide>
<forever>
<wait until><mouse down?>
<point towards( mouse-pointer
<show>
<repeat until><< <touching[ edge  <or> <touching[ enemy >>
<move( 35 )steps> --Can be changed
<end>
<end>
[/blocks]

Great Cheddargirl! The part of that was really nasty. was'nt it?

Offline

 

#7 2009-11-22 20:18:48

technoguyx
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: Help, I have to create a Game for my class and i need tips

rdococ wrote:

technoguyx wrote:

Well, what you want us to explain is pretty much the whole game except the menus and stuff.

The most complex thing, as you can guess, is the AI. It depends on the kind of AI you want, the simplest AI would be one that just moves randomly and shoots to the player.

Shooting can be done with a bullet sprite with this script:

[blocks]<when green flag clicked>
<hide>
<forever>
<wait until><mouse down?>
<point towards( mouse-pointer
<show>
<repeat until><< <touching[ edge  <or> <touching[ enemy >>
<move( 35 )steps> --Can be changed
<end>
<end>
[/blocks]

Great Cheddargirl! The part of that was really nasty. was'nt it?

...Cheddargirl!? o_0

Last edited by technoguyx (2009-11-22 20:19:36)


http://getgnulinux.org/links/en/linuxliberated_4_78x116.png

Offline

 

Board footer