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

#26 2013-01-20 17:16:39

bullelk12
Scratcher
Registered: 2012-05-26
Posts: 100+

Re: How to tell a variable to go to a certain location.

Yah, you can change it's name afterwards


http://mag.racked.eu/cimage/i6000/Achievement++get%21/Scratcher+love+minecraft%21/mca.png

Offline

 

#27 2013-01-20 17:19:28

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: How to tell a variable to go to a certain location.

Thanks bullelk12.

CAA14

Offline

 

#28 2013-01-20 17:24:36

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: How to tell a variable to go to a certain location.

BTW, the score display isn't working, and with scratch's set up being so "do it right the first time", it will be hard and time consuming for me to correct it.

CAA14

Offline

 

#29 2013-01-20 17:30:42

bullelk12
Scratcher
Registered: 2012-05-26
Posts: 100+

Re: How to tell a variable to go to a certain location.

yah, and even harder for me since I don't know the overlay of the whole project.

So could you list the different existing problems?


http://mag.racked.eu/cimage/i6000/Achievement++get%21/Scratcher+love+minecraft%21/mca.png

Offline

 

#30 2013-01-20 17:37:37

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: How to tell a variable to go to a certain location.

Hi,

Thank you bullelk12, for such a desire to help me!

go to my name, and then click my only project. You are welcome to download it, though all the problems that i can think of are solved.

I think i want a different intro,
So here's a question for you; Can i make a project just for an intro and then put it in all the projects i make?

Regards,

CAA14

Offline

 

#31 2013-01-20 17:39:23

bullelk12
Scratcher
Registered: 2012-05-26
Posts: 100+

Re: How to tell a variable to go to a certain location.

so you're wandering if you can make a project with just a title/intro and then paste it into other projects? The answer to that is yes.


http://mag.racked.eu/cimage/i6000/Achievement++get%21/Scratcher+love+minecraft%21/mca.png

Offline

 

#32 2013-01-20 17:41:05

bullelk12
Scratcher
Registered: 2012-05-26
Posts: 100+

Re: How to tell a variable to go to a certain location.

To do that, make the intro project and then when you're making another project and you want to add the intro, go to "file" and click import project. Then select your intro project and there you go.


http://mag.racked.eu/cimage/i6000/Achievement++get%21/Scratcher+love+minecraft%21/mca.png

Offline

 

#33 2013-01-20 18:34:34

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: How to tell a variable to go to a certain location.

Although bullelk12 is correct, you must be careful that the project that you're importing the intro into won't skip past the intro or wait too long. The way I like to avoid this is whenever I want the main part of the game to start, I just broadcast "Game Start", and then all of the game scripts would be attached to [when I receive [Game Start v]] hat blocks so that they start on time, though remember, you don't have to do this; it just can be helpful in a few situations.

Anyway, I'll come and look at your display right now.

Edit: I thought that you had added in the new display; looks like it wasn't.

Oh, and just to point out, you know how on your shop, you have a red sign? Well, if I'm correct, then someone could shoot and practically get free points because your current script can't tell the difference between the sign and the target's red center. So, you might want to change the sign's color, or alter the score script so that this won't happen.

Last edited by ErnieParke (2013-01-20 18:44:40)


http://i46.tinypic.com/35ismmc.png

Offline

 

#34 2013-01-20 18:53:05

Blazingwave
Scratcher
Registered: 2012-10-27
Posts: 500+

Re: How to tell a variable to go to a certain location.

CAA14 wrote:

Hi,

What i mean by "scripts rearranging" is that in the sprite selection menu(Bottom Right), each time i reopen scratch and my project, they are in a different order.

I'm glad you've never had that problem... It's very frustrating.  sad
Thanks again,

Regards,

CAA14

I have exactly the same problem. Except, when I upload a perfect project to scratch most of the sprites will be in completely different places.


http://i42.tinypic.com/t8nrlh.gif  http://blocks.scratchr.org/API.php?user=Blazingwave&action=onlineStatus&online=http://i49.tinypic.com/25flloj.gif=http://i45.tinypic.com/o8i97l.gif
http://i41.tinypic.com/s1lyyo.jpg

Offline

 

#35 2013-01-21 10:54:29

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: How to tell a variable to go to a certain location.

Hi,

Yeah, it's weird.

Ernie and bullelk12, let me finish commenting my final version and then i will upload the corrected one.

Thanks again for all the help, you guys are great.


Regards,

CAA14

P.S. I made sure that any color on the target was not used else were, thanks though.  smile  BTW, what shop?

Offline

 

#36 2013-01-21 11:15:05

sonicfan12p
Scratcher
Registered: 2011-11-16
Posts: 1000+

Re: How to tell a variable to go to a certain location.

CAA14 wrote:

Hi,

Thank you bullelk12, for such a desire to help me!

go to my name, and then click my only project. You are welcome to download it, though all the problems that i can think of are solved.

I think i want a different intro,
So here's a question for you; Can i make a project just for an intro and then put it in all the projects i make?

Regards,

CAA14

Making a project that's just your intro can be helpful. Then, you can base your projects off it, and save under a new name. Very useful. As for replacing an existing intro, it's a bit more difficult to import that project ans set it up than it is to just remake it on that project.


Why are the secret organizations getting all the attention?  mad

Offline

 

#37 2013-01-21 11:26:44

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: How to tell a variable to go to a certain location.

Hi,

Thanks again sonicfan,

I'm almost done with the final touches.  smile

Thanks for y'all three's help!
I couldn't have done it without you.


Regards,

CAA14

Offline

 

#38 2013-01-21 11:31:50

sonicfan12p
Scratcher
Registered: 2011-11-16
Posts: 1000+

Re: How to tell a variable to go to a certain location.

I'll be sure to check out the finished work! After you've uploaded it, you should get it reviewed. Getting your projects reviewed is a great way to find bugs, and get other people's opinions and ideas! There's plenty of reviewers on Scratch, (me included  wink  ) but try and find one that isn't too busy or overloaded with projects to review.


Why are the secret organizations getting all the attention?  mad

Offline

 

#39 2013-01-21 13:33:33

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: How to tell a variable to go to a certain location.

CAA14 wrote:

Hi,

Yeah, it's weird.

Ernie and bullelk12, let me finish commenting my final version and then i will upload the corrected one.

Thanks again for all the help, you guys are great.


Regards,

CAA14

P.S. I made sure that any color on the target was not used else were, thanks though.  smile  BTW, what shop?

I was talking about the shop in the shooting range. Also, I'm pretty sure your reused the target's red color there because I just replayed your game and got 2500+ points from shooting it and nothing else, other than the occasional stray target, though that only got me ~300 points.


http://i46.tinypic.com/35ismmc.png

Offline

 

#40 2013-01-22 00:40:18

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: How to tell a variable to go to a certain location.

Oh, the sign?


Regards,

CAA14

Offline

 

#41 2013-01-22 15:24:06

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: How to tell a variable to go to a certain location.

CAA14 wrote:

Oh, the sign?


Regards,

CAA14

Yes, or in other words, your open_Sign sprite, or in different words, this:

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


http://i46.tinypic.com/35ismmc.png

Offline

 

#42 2013-01-22 17:59:57

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: How to tell a variable to go to a certain location.

oh, okay.

Fixing now.

thanks again for all the help!

CAA14

Offline

 

#43 2013-01-22 18:09:35

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: How to tell a variable to go to a certain location.

CAA14 wrote:

oh, okay.

Fixing now.

thanks again for all the help!

CAA14

Your welcome! Also, if you have any other questions, feel completely free to ask.  wink


http://i46.tinypic.com/35ismmc.png

Offline

 

#44 2013-01-22 18:29:54

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: How to tell a variable to go to a certain location.

Okay, i have the same problems again!

The multiplier isn't stopping if the level is over and the block isn't showing up at all now!
I have no idea why, i didn't change anything since we got it fixed.
And the sign is a different red, but it still registers as the bull's eye...Why?!

I just released another updated version, please download and if you can tell me what's wrong with it.

(You can get to it through my name.)

Regards,

CAA14

Offline

 

#45 2013-01-22 18:33:07

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: How to tell a variable to go to a certain location.

Hi sonicfan,

Okay, well, i would love for you to review my project but i still haven't got it finished!
It seems like every time I fix a bug, it comes back the next day!

If you can help, please also download and review my project.

Regards,

CAA14

Offline

 

#46 2013-01-22 18:35:26

sonicfan12p
Scratcher
Registered: 2011-11-16
Posts: 1000+

Re: How to tell a variable to go to a certain location.

I'll try to help more, but it'll have to be tommorrow sadly. I'll see what I can do!


Why are the secret organizations getting all the attention?  mad

Offline

 

#47 2013-01-22 18:38:37

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: How to tell a variable to go to a certain location.

Hi,

Hey, that's no problem, thank you!

The subject of this thread has come back.... I saved the score variable with it showing where I wanted it... But it went back up.

You have no idea how frustrating this is... I feel like I've wasted my time and yours, It NEVER fixes permanently, and yes, i save it each time i update it.


Regards,

CAA14

Offline

 

#48 2013-01-22 18:38:42

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: How to tell a variable to go to a certain location.

CAA14 wrote:

Okay, i have the same problems again!

The multiplier isn't stopping if the level is over and the block isn't showing up at all now!
I have no idea why, i didn't change anything since we got it fixed.
And the sign is a different red, but it still registers as the bull's eye...Why?!

I just released another updated version, please download and if you can tell me what's wrong with it.

(You can get to it through my name.)

Regards,

CAA14

Mmmm… interesting. I'll stop by when I can.


http://i46.tinypic.com/35ismmc.png

Offline

 

#49 2013-01-22 19:40:02

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: How to tell a variable to go to a certain location.

ErnieParke wrote:

CAA14 wrote:

Okay, i have the same problems again!

The multiplier isn't stopping if the level is over and the block isn't showing up at all now!
I have no idea why, i didn't change anything since we got it fixed.
And the sign is a different red, but it still registers as the bull's eye...Why?!

I just released another updated version, please download and if you can tell me what's wrong with it.

(You can get to it through my name.)

Regards,

CAA14

Mmmm… interesting. I'll stop by when I can.

Okay, I found out why the multiplier still doesn't hide. In the scripts containing show blocks, you have some variation of this:

when I receive [Level Start v]
repeat (times_to_Repeat)
 if <(hide_Multiplier) = [Yes]>
  hide
  stop script
 else
  wait (pick random (1) to (7)) secs
  show
  Scripts...
 end
end

The problem with the way you tried to make the multiplier hide is that occasionally, it's get back to the beginning of the repeat loop, find that (hide_Multiplier) is No, and it'll wait 1~7 seconds. Then, half way through, (hide_Mulitplier) becomes yes, and the multiplier shows when it shouldn't. Again, it's best to do the checking when the muliplier is supposed to show, not 1~7 seconds before hand, which is one reason why I recommend replacing your show blocks with this:

if <(hide_Multiplier) = [yes]>//Updated variable.
 hide
 stop script
else
 show
end

Now, about your other glitch, I'll come and look tomorrow.

Last edited by ErnieParke (2013-01-22 19:42:19)


http://i46.tinypic.com/35ismmc.png

Offline

 

#50 2013-01-23 13:47:10

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: How to tell a variable to go to a certain location.

Okay, so I'm supposed to make it wait when?
I'll be honest, I only half understand what your saying, I think your saying I should get it to wait 1-7 secs before the "if" statement?

Regards,

CAA14


P.S. Another thing, the sign was not the same red as the target, but it still counted it as points... Very weird. So, reluctantly, I changed it to purple(So silly looking...).

Offline

 

Board footer