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

#1 2010-06-12 07:21:17

TotalRevamp
Scratcher
Registered: 2010-05-23
Posts: 28

Making a Computer player.

Hello,

I have made a few projects and have mastered the basics. I have come across a problem though, I have just recently made a project called paintball and was dying to make a Player vs. Computer or sigle player mode but couldn't think of a way of making it work. Please have a look at it and let me know if you have any ideas.
Tags to game:
game [x] [flag]
guns [x] [flag]
the [x] [flag]
paintball [x] [flag]
ace [x] [flag]

Alternativley you can type in kart survival and click on the link to my game then look at other projects by TotalRevamp.

Please help,

TotalRevamp

Offline

 

#2 2010-06-12 07:45:55

Subh
Scratcher
Registered: 2010-05-25
Posts: 100+

Re: Making a Computer player.

See agent white by Colkadome (Or see my gallery where you can find it)


http://wiki.scratch.mit.edu/skins/scratch/logo.png     I'M IN Scratch Wiki .... ARE YOU ????

Offline

 

#3 2010-06-13 05:48:55

TotalRevamp
Scratcher
Registered: 2010-05-23
Posts: 28

Re: Making a Computer player.

Which gallery? This is great but in both missions the enemy is on a set route i was wondering if anybody had come up with a script for a player that 'thinks'. In that if you go to attack from the left it defends the left and visa versa and Attacks you. Get what i mean?

Offline

 

#4 2010-06-13 10:43:18

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Making a Computer player.

I created a bit of a minimal Artificial Intelligence with my project, Broomstix. You can see it if you want, but I don't think it would be a good example for what you're trying to do. It's not all that hard to make when you think about it; it's just a series of "if" blocks.

Offline

 

#5 2010-06-13 12:01:28

Subh
Scratcher
Registered: 2010-05-25
Posts: 100+

Re: Making a Computer player.

http://scratch.mit.edu/projects/AddZero/933971 BUT ITS VERY COMPLICATED AND HAS QUITE SOME GLITCHES. COLKADOME'S PROJECT IS SIMPLER AND HARDER


http://wiki.scratch.mit.edu/skins/scratch/logo.png     I'M IN Scratch Wiki .... ARE YOU ????

Offline

 

#6 2010-06-13 16:48:42

TotalRevamp
Scratcher
Registered: 2010-05-23
Posts: 28

Re: Making a Computer player.

Okay this is something like what I was thinking of. Thanks for your help both of you.

Offline

 

#7 2010-06-14 10:58:47

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Making a Computer player.

Look at some AI competitions, like demosthenes', the entries could be good top down/bird's eye shooter AI.


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

Board footer