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

#1 2012-04-29 15:15:56

xbox360andpie
New Scratcher
Registered: 2011-09-17
Posts: 78

Scope

I'm making a brand new game called SCOPE. It's basically a sniper game (There have been these kind's of game's, but this is more like Clear Vision) where you go on individual missions. I can't get all the coding right and need some help with the project. I'm trying to basically recreate a flash game into a reasonable Scratch game. Can someone help me get some of the coding?

Offline

 

#2 2012-04-29 16:05:33

xbox360andpie
New Scratcher
Registered: 2011-09-17
Posts: 78

Re: Scope

Bump

Offline

 

#3 2012-04-29 16:16:00

beyblade4
Scratcher
Registered: 2011-08-02
Posts: 1000+

Re: Scope

what kind of coding problems do you have?


http://blocks.scratchr.org/API.php?user=beyblade4&action=projects&type=newest&return=image&num=NUMBER

Offline

 

#4 2012-04-29 16:45:16

xbox360andpie
New Scratcher
Registered: 2011-09-17
Posts: 78

Re: Scope

beyblade4 wrote:

what kind of coding problems do you have?

For some reason I cannot get the target sprite to run if you miss once. Also is there a way to have sort of a backdrop that only one the scope can see through?

Offline

 

#5 2012-04-29 16:48:33

beyblade4
Scratcher
Registered: 2011-08-02
Posts: 1000+

Re: Scope

For the target to run, here is the script

when gf clicked
forever if <(mouse down)and(not touching target)>
  move (pick random(choose how many) steps)
end

Last edited by beyblade4 (2012-04-29 16:49:45)


http://blocks.scratchr.org/API.php?user=beyblade4&amp;action=projects&amp;type=newest&amp;return=image&amp;num=NUMBER

Offline

 

#6 2012-04-29 16:50:06

beyblade4
Scratcher
Registered: 2011-08-02
Posts: 1000+

Re: Scope

xbox360andpie wrote:

beyblade4 wrote:

what kind of coding problems do you have?

For some reason I cannot get the target sprite to run if you miss once. Also is there a way to have sort of a backdrop that only one the scope can see through?

I don't know about the scope thing though sorry


http://blocks.scratchr.org/API.php?user=beyblade4&amp;action=projects&amp;type=newest&amp;return=image&amp;num=NUMBER

Offline

 

#7 2012-04-29 16:50:35

xbox360andpie
New Scratcher
Registered: 2011-09-17
Posts: 78

Re: Scope

beyblade4 wrote:

For the target to run, here is the script

when gf clicked
forever if <(mouse down)and(not touching target)>
  move [pick random-40-30 steps]
end

No, it's not supposed to be random. Have you ever played Clear Vision? It's supposed to be if he hears it, he run's away in only one animation, not random. Also is it possible for the backdrop thing i was talking about?

Offline

 

#8 2012-04-29 16:53:22

beyblade4
Scratcher
Registered: 2011-08-02
Posts: 1000+

Re: Scope

xbox360andpie wrote:

beyblade4 wrote:

For the target to run, here is the script

when gf clicked
forever if <(mouse down)and(not touching target)>
  move [pick random-40-30 steps]
end

No, it's not supposed to be random. Have you ever played Clear Vision? It's supposed to be if he hears it, he run's away in only one animation, not random. Also is it possible for the backdrop thing i was talking about?

Then you replace move>random with move [your choice] amount of steps in whatever direction. The background IS possible but I don't know how to do it, search it up somewhere, I have seen it


http://blocks.scratchr.org/API.php?user=beyblade4&amp;action=projects&amp;type=newest&amp;return=image&amp;num=NUMBER

Offline

 

#9 2012-04-29 16:54:59

xbox360andpie
New Scratcher
Registered: 2011-09-17
Posts: 78

Re: Scope

beyblade4 wrote:

xbox360andpie wrote:

beyblade4 wrote:

For the target to run, here is the script

when gf clicked
forever if <(mouse down)and(not touching target)>
  move [pick random-40-30 steps]
end

No, it's not supposed to be random. Have you ever played Clear Vision? It's supposed to be if he hears it, he run's away in only one animation, not random. Also is it possible for the backdrop thing i was talking about?

Then you replace move>random with move [your choice] amount of steps in whatever direction. The background IS possible but I don't know how to do it, search it up somewhere, I have seen it

What project did you see it in?

Offline

 

#10 2012-04-29 16:55:55

beyblade4
Scratcher
Registered: 2011-08-02
Posts: 1000+

Re: Scope

xbox360andpie wrote:

beyblade4 wrote:

xbox360andpie wrote:


No, it's not supposed to be random. Have you ever played Clear Vision? It's supposed to be if he hears it, he run's away in only one animation, not random. Also is it possible for the backdrop thing i was talking about?

Then you replace move>random with move [your choice] amount of steps in whatever direction. The background IS possible but I don't know how to do it, search it up somewhere, I have seen it

What project did you see it in?

I'm not so sure, I'll see if I can find it, but it WAS  a shooter game


http://blocks.scratchr.org/API.php?user=beyblade4&amp;action=projects&amp;type=newest&amp;return=image&amp;num=NUMBER

Offline

 

#11 2012-04-29 17:06:53

xbox360andpie
New Scratcher
Registered: 2011-09-17
Posts: 78

Re: Scope

But another problem i'm having is reloading. I don't want them no be able to shoot them if their out of ammo.

Offline

 

#12 2012-04-29 17:27:50

beyblade4
Scratcher
Registered: 2011-08-02
Posts: 1000+

Re: Scope

Here download this and check out the gun scripts then http://scratch.mit.edu/projects/beyblade4/2462391

Last edited by beyblade4 (2012-04-29 17:28:54)


http://blocks.scratchr.org/API.php?user=beyblade4&amp;action=projects&amp;type=newest&amp;return=image&amp;num=NUMBER

Offline

 

#13 2012-04-29 17:39:23

xbox360andpie
New Scratcher
Registered: 2011-09-17
Posts: 78

Re: Scope

beyblade4 wrote:

Here download this and check out the gun scripts then http://scratch.mit.edu/projects/beyblade4/2462391

What does this have to do with the backdrop?

Offline

 

#14 2012-04-29 17:47:27

beyblade4
Scratcher
Registered: 2011-08-02
Posts: 1000+

Re: Scope

xbox360andpie wrote:

beyblade4 wrote:

Here download this and check out the gun scripts then http://scratch.mit.edu/projects/beyblade4/2462391

What does this have to do with the backdrop?

Nothing really, only with AI or gun scripts I don't know about the backdrop sorry  sad


http://blocks.scratchr.org/API.php?user=beyblade4&amp;action=projects&amp;type=newest&amp;return=image&amp;num=NUMBER

Offline

 

#15 2012-04-29 17:49:01

xbox360andpie
New Scratcher
Registered: 2011-09-17
Posts: 78

Re: Scope

Can I post the project so you can look at some issues?

Offline

 

#16 2012-04-29 17:52:49

beyblade4
Scratcher
Registered: 2011-08-02
Posts: 1000+

Re: Scope

Yeah sure, I can edit it for you!


http://blocks.scratchr.org/API.php?user=beyblade4&amp;action=projects&amp;type=newest&amp;return=image&amp;num=NUMBER

Offline

 

#17 2012-04-29 18:01:35

xbox360andpie
New Scratcher
Registered: 2011-09-17
Posts: 78

Re: Scope

beyblade4 wrote:

Yeah sure, I can edit it for you!

Here, http://scratch.mit.edu/projects/xbox360andpie/2504130, would be a link, but i'm a new scratcher.

Offline

 

Board footer