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

#1 2010-03-07 12:23:17

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

AI competition collab

steppenwulf&juststickman working on the AI collab. Discussion here  big_smile


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

 

#2 2010-03-07 13:29:46

steppenwulf
Scratcher
Registered: 2009-07-23
Posts: 1000+

Re: AI competition collab

Okay, what I am trying to do is get a sprite called "radar" to detect things coming close to the robot. The radar won't be too large, its x and y positions will be the robot's x and y, and I want it to brodcast a set of commands to the robot if a non-friendly touches it. Trouble is, I'm having a hard time actually getting it to know when something touches it.  hmm


I'm graduating HS this April and going to college in the Fall.

Offline

 

#3 2010-03-07 14:02:43

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

Re: AI competition collab

Use the
<touching[
Block.

Ask demosthenes if you want to know anymore.

Last edited by juststickman (2010-03-09 13:56:42)


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

 

#4 2010-03-07 15:02:06

steppenwulf
Scratcher
Registered: 2009-07-23
Posts: 1000+

Re: AI competition collab

That's the thing. Exactly what do you tell it to touch?  neutral


I'm graduating HS this April and going to college in the Fall.

Offline

 

#5 2010-03-07 15:07:14

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

Re: AI competition collab

That's what I'm telling you to ask demosthenes (if I spelled that right) about

Last edited by juststickman (2010-03-09 13:57:00)


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

 

#6 2010-03-07 15:36:19

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: AI competition collab

steppenwulf wrote:

That's the thing. Exactly what do you tell it to touch?  neutral

Just make a dummy for a projectile that chases the robot...


http://block.site90.net/scratch.mit/text.php?size=30&amp;text=%20A%20signature!&amp;color=333333

Offline

 

#7 2010-03-07 20:32:16

steppenwulf
Scratcher
Registered: 2009-07-23
Posts: 1000+

Re: AI competition collab

Sorry, juststickman, I'm sick  sad  I'll try to do as much coding as I can, but I probably won't get that much done, because I'm not feeling too good. Sorry  sad


I'm graduating HS this April and going to college in the Fall.

Offline

 

#8 2010-03-08 11:30:33

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

Re: AI competition collab

0_o oh come on...

I'm sorta sick too.


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

 

#9 2010-03-08 13:03:43

steppenwulf
Scratcher
Registered: 2009-07-23
Posts: 1000+

Re: AI competition collab

I'm unsick and I'm back for mooaarr! What do you have so far?  big_smile


I'm graduating HS this April and going to college in the Fall.

Offline

 

#10 2010-03-08 14:29:17

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

Re: AI competition collab

Well, I think I'm almost done! Just finishing touches from you needed really, project here: http://scratch.mit.edu/projects/justtestingstickman/921450

(I will delete after you reply unless I'm not back yet)


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

 

#11 2010-03-08 14:35:45

RHY3756547
Scratcher
Registered: 2009-08-15
Posts: 1000+

Re: AI competition collab

juststickman wrote:

Well, I think I'm almost done! Just finishing touches from you needed really, project here: http://scratch.mit.edu/projects/justtestingstickman/921450

(I will delete after you reply unless I'm not back yet)

Just tested - why is the enemy winning?  tongue

Offline

 

#12 2010-03-08 15:02:49

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

Re: AI competition collab

RHY3756547 wrote:

juststickman wrote:

Well, I think I'm almost done! Just finishing touches from you needed really, project here: http://scratch.mit.edu/projects/justtestingstickman/921450

(I will delete after you reply unless I'm not back yet)

Just tested - why is the enemy winning?  tongue

No it's not... At least not offline...

EDIT: figured out why. It's a sizing glitch online because sprites online can't be as big as offline.

Last edited by juststickman (2010-03-08 15:03:40)


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

 

#13 2010-03-08 15:05:14

RHY3756547
Scratcher
Registered: 2009-08-15
Posts: 1000+

Re: AI competition collab

juststickman wrote:

RHY3756547 wrote:

juststickman wrote:

Well, I think I'm almost done! Just finishing touches from you needed really, project here: http://scratch.mit.edu/projects/justtestingstickman/921450

(I will delete after you reply unless I'm not back yet)

Just tested - why is the enemy winning?  tongue

No it's not... At least not offline...

EDIT: figured out why. It's a sizing glitch online because sprites online can't be as big as offline.

Ah.

Because variable stuff doesn't work right online mine shoots to the middle of the screen online.

Offline

 

#14 2010-03-08 15:13:50

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

Re: AI competition collab

What's your AI like?

Not a clear description, just something like shot avoiding and guided missiles.


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

 

#15 2010-03-08 15:29:43

RHY3756547
Scratcher
Registered: 2009-08-15
Posts: 1000+

Re: AI competition collab

Haven't put shot avoiding in yet - but yes, guided missiles.

Offline

 

#16 2010-03-08 16:20:07

steppenwulf
Scratcher
Registered: 2009-07-23
Posts: 1000+

Re: AI competition collab

Juststickman, what finishing touches would you like me to put?


I'm graduating HS this April and going to college in the Fall.

Offline

 

#17 2010-03-09 03:07:11

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

Re: AI competition collab

Fix things where it messes up, like when it gets stuck in corners etc. And improve the homing missiles.


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

 

#18 2010-03-09 08:08:35

steppenwulf
Scratcher
Registered: 2009-07-23
Posts: 1000+

Re: AI competition collab

Yes-sir! lol  tongue


I'm graduating HS this April and going to college in the Fall.

Offline

 

#19 2010-03-09 11:50:20

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

Re: AI competition collab

What do you have so far?


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

 

#20 2010-03-09 18:32:32

steppenwulf
Scratcher
Registered: 2009-07-23
Posts: 1000+

Re: AI competition collab

Currently working on better homing missles, better dodging, and keeping the missle from staying in the corner or pointing in the wrong direction. I do have one question, though: What is "Yup" supposed to do?


I'm graduating HS this April and going to college in the Fall.

Offline

 

#21 2010-03-10 03:35:05

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

Re: AI competition collab

steppenwulf wrote:

Currently working on better homing missles, better dodging, and keeping the missle from staying in the corner or pointing in the wrong direction. I do have one question, though: What is "Yup" supposed to do?

It's a more relaxed way of saying "hit?", it's basically if the shot is touching the sprite or not.


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

 

#22 2010-03-10 08:05:15

steppenwulf
Scratcher
Registered: 2009-07-23
Posts: 1000+

Re: AI competition collab

I'm having major trouble improving the lock on and the dodging system. I noticed with the missle lock on system, it only works at certain directions, otherwise it will move away from the NPC instead of torwards it. What still bothers me is that the sensor randomly disappears and reappears for just a split second. During that split second, the lock on messes up  neutral

Last edited by steppenwulf (2010-03-10 12:38:13)


I'm graduating HS this April and going to college in the Fall.

Offline

 

#23 2010-03-12 05:43:00

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

Re: AI competition collab

I probably should've used sin and cos instead of moving steps ^.^"

Anyway, this is pretty much a better version: http://scratch.mit.edu/projects/justtestingstickman/926042
DO NOT STEAL IT!!!!!!!
(that's my personal version, not team one)


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

 

#24 2010-03-12 12:32:39

steppenwulf
Scratcher
Registered: 2009-07-23
Posts: 1000+

Re: AI competition collab

I'm not stealing it, but I wanted to point out something. Sometimes the sensor doesn't go to the bullet straight away, and the bullet just goes randomly flying. Or sometimes the sensor doesn't detect fast enough, and the bullet ends up doing zig-zags.


I'm graduating HS this April and going to college in the Fall.

Offline

 

#25 2010-03-12 13:58:13

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

Re: AI competition collab

Yup. True dat.

BUT IT STILL PWNS THE COLLAB 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