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

#1 2011-11-16 15:16:31

trucker132
New Scratcher
Registered: 2011-11-14
Posts: 1

How Do I Make A Portal?!?!?!?

me and my friend cannot make one work well. We have it so that our guy touches this sprite (our portal) and when he touches that, he goes to the other portal that we have set up. but when we step over it it doesnt always workkkk. We have gravity involved into our game too. so if we run off a ledge, we fall... etc

Offline

 

#2 2011-11-16 15:29:40

joty231
New Scratcher
Registered: 2011-04-11
Posts: 10

Re: How Do I Make A Portal?!?!?!?

you could try making the portal wider

Offline

 

#3 2011-11-16 15:31:04

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: How Do I Make A Portal?!?!?!?

can you upload the project? it makes it much easier to help you!


http://i.imgur.com/1QqnHxQ.png

Offline

 

#4 2011-11-18 10:03:13

fuz50
Scratcher
Registered: 2008-09-19
Posts: 100+

Re: How Do I Make A Portal?!?!?!?

You can either have the sprite move to a different part of the screen right when he touches the portal, or you can move the portal to a different location. The reason this would be happening is because when the sprite touches the portal, the sprite is already on the portal for the next level. It has to be not touching the portal at the beginning at the next level.

^^And yes, uploading will make it a lot easier to see, as post above says.


http://img10.imageshack.us/img10/7404/cooltext529102298.jpg
http://siggen.toontown-click.de/sig1.pnghttp://siggen.toontown-click.de/sig2.png

Offline

 

#5 2011-11-18 15:59:14

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: How Do I Make A Portal?!?!?!?

Why not post the project, so we can download it and find the problem?


EDIT: 1999th post!!  big_smile

Last edited by henley (2011-11-18 15:59:38)


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#6 2012-03-18 10:46:26

chance2001
Scratcher
Registered: 2011-01-08
Posts: 2

Re: How Do I Make A Portal?!?!?!?

What you need for a Portal is you first need to make a Portal.Then if you fall in one make it so there IS another one so you can go to that portal.This would be the Script.
When (Green Flag) Clicked
Hide
When I Recive{Portal Time}
Show
Stamp
Wait until touching{Charactar}
Clear
Hide

And for the Charactar...
When(Green Flag)Clicked
Show
Forever
If{Key B Pressed?}
Set Variable{Portal Type}to{Blue}
If{Mouse Down?}and{Portal Type=Blue}or{Portal Type=Orange}
Brodcast{Portal Time}
If{Key O Pressed?}
Set Variable{Portal Type}to{Orange}

Hope I helped!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Last edited by chance2001 (2012-03-18 12:27:07)

Offline

 

#7 2012-03-18 20:41:04

turkey3
Scratcher
Registered: 2011-12-04
Posts: 500+

Re: How Do I Make A Portal?!?!?!?

chance2001 wrote:

What you need for a Portal is you first need to make a Portal.Then if you fall in one make it so there IS another one so you can go to that portal.This would be the Script.

When gf Clicked
Hide
When I Recive [Portal Time v]
Show
Stamp on
Wait until <touching [character]>
Clear stamp
Hide
And for the Charactar...
When gf Clicked 
Show
Forever
If <key space [b] pressed?>
Set [portal type] to [(blue)]
If <<Mouse Down?> and <(portal type) = (Blue)> or <(Portal Type) = (Orange)>>
Brodcast [portal time v]
If <key space [o] pressed?>
Set [portal type] to [(orange)]
Hope I helped!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Tried fixing it.

Offline

 

#8 2012-04-05 06:21:05

CrazyMarshmallow
New Scratcher
Registered: 2012-04-02
Posts: 3

Re: How Do I Make A Portal?!?!?!?

when I go on this site ,and I look at how to do stuff, I find some with red boxes and when I look at scratch I can't find them, so if anyone would tell me what they are and how to get the it would help alot  smile

Offline

 

#9 2012-04-05 12:48:21

pi3
Scratcher
Registered: 2011-12-31
Posts: 500+

Re: How Do I Make A Portal?!?!?!?

CrazyMarshmallow wrote:

when I go on this site ,and I look at how to do stuff, I find some with red boxes and when I look at scratch I can't find them, so if anyone would tell me what they are and how to get the it would help alot  smile

The red boxes aren't real, they're just the color of the block sometimes when in forums. For instance, the

 <touching [character]> 
is really the that first sensor block.

Last edited by pi3 (2012-04-05 12:49:17)


http://i44.tinypic.com/ofdhc4.jpgThanks FreshStudios!

Offline

 

#10 2012-04-05 15:35:11

CrazyMarshmallow
New Scratcher
Registered: 2012-04-02
Posts: 3

Re: How Do I Make A Portal?!?!?!?

also where can I find stamp on and stamp clear and when I receive not as a starting point

Offline

 

#11 2012-04-05 15:38:42

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: How Do I Make A Portal?!?!?!?

CrazyMarshmallow wrote:

also where can I find stamp on and stamp clear and when I receive not as a starting point

If you have a question, make a new thread about it. It would also help if you made sense.


Why

Offline

 

#12 2012-04-08 04:59:26

CrazyMarshmallow
New Scratcher
Registered: 2012-04-02
Posts: 3

Re: How Do I Make A Portal?!?!?!?

where do I find (on scratch): when I receive (not as a start of a command), stamp on and clear stamp. Sorry if you can't help or if you don't understand.

Offline

 

#13 2012-04-08 05:03:07

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: How Do I Make A Portal?!?!?!?

"When I receive" is in the Control tab (near the top) and both "stamp" and "clear" are in the Pen tab (clear is at the top, stamp is in the middle I think).

If you have a question though, you should start a new thread about it, by clicking "Post new topic" in the correct forum  smile


Why

Offline

 

Board footer