Discuss Scratch

Ghxstifyy
Scratcher
100+ posts

Go to clone

I am making a game where I want the player to be able to go to a clone that is located in a different sprite. Is this possible? If so then how would I do this?

What's up

Make sure to follow me if I helped you out!

when I receive [New Follow!]
change [Happiness] by (10000)
Malicondi
Scratcher
1000+ posts

Go to clone

add the clones positions to a list for all sprites, and use clone ids to have each item in the list, for example, if the clone's clone id was 5, it would add its positions in item 5 of the list, for x and y, and if you want to go to clone id 5, you would go to those items of the list.

post #1000 post #100 i help in the forums post #1 post #500 0 second ninja
I recommend reading jvvg's essay about the scratch team before complaining, as it may change your opinion and provide insight on the topic.

coming soon :)


Ghxstifyy
Scratcher
100+ posts

Go to clone

It's a platformer so it isn't static, it will change throughout the levels..
just for clarification this is what I have currently;


when green flag clicked
hide
set [Clone ID] to [Pink Portal]
create clone of [myself]
set [Clone ID] to [Blue Portal]
create clone of [myself]

when I start as a clone
if <(Clone ID) = [Pink Portal]> then
if <touching [Player] ?> then
broadcast [go to blue portal]
end

However, not sure what to do..

What's up

Make sure to follow me if I helped you out!

when I receive [New Follow!]
change [Happiness] by (10000)
Malicondi
Scratcher
1000+ posts

Go to clone

Ghxstifyy wrote:

It's a platformer so it isn't static, it will change throughout the levels.
You can always replace the positions with their new positions in a forever loop, or you can replace them when each level changes/when they need to change.

post #1000 post #100 i help in the forums post #1 post #500 0 second ninja
I recommend reading jvvg's essay about the scratch team before complaining, as it may change your opinion and provide insight on the topic.

coming soon :)


Ghxstifyy
Scratcher
100+ posts

Go to clone

I'm honestly so confused could you try helping me implement this if I shared the project on an alt?

What's up

Make sure to follow me if I helped you out!

when I receive [New Follow!]
change [Happiness] by (10000)
Malicondi
Scratcher
1000+ posts

Go to clone

Ghxstifyy wrote:

I'm honestly so confused could you try helping me implement this if I shared the project on an alt?
sure, just send the link when you're done sharing it, and explain how and where you want something to go to a clone.

post #1000 post #100 i help in the forums post #1 post #500 0 second ninja
I recommend reading jvvg's essay about the scratch team before complaining, as it may change your opinion and provide insight on the topic.

coming soon :)


Ghxstifyy
Scratcher
100+ posts

Go to clone

Here is the project


I just want whenever the player touches the pink portal it goes to the blue and whenever it touches the blue portal it goes to the pink

What's up

Make sure to follow me if I helped you out!

when I receive [New Follow!]
change [Happiness] by (10000)
badatcode123
Scratcher
49 posts

Go to clone

have a list with the first 2 items being the pink portal position and the second 2 items being the blue portal position, when the player touches the blue portal set it's position to the first 2 items and vice versa.

when green flag clicked
forever
change [ code skill v] by (-999)
end
Malicondi
Scratcher
1000+ posts

Go to clone

here's the remix with the fixed project, hope this helps!

post #1000 post #100 i help in the forums post #1 post #500 0 second ninja
I recommend reading jvvg's essay about the scratch team before complaining, as it may change your opinion and provide insight on the topic.

coming soon :)


Ghxstifyy
Scratcher
100+ posts

Go to clone

Malicondi wrote:

here's the remix with the fixed project, hope this helps!


I mean it kinda sorta works, only issue I am having is you sometimes get stuck like it will glitch back and forth..

What's up

Make sure to follow me if I helped you out!

when I receive [New Follow!]
change [Happiness] by (10000)
Malicondi
Scratcher
1000+ posts

Go to clone

Ghxstifyy wrote:

I mean it kinda sorta works, only issue I am having is you sometimes get stuck like it will glitch back and forth..
i added a fix for that before i put the link here, but i forgot to save the project. It should be fixed now.

post #1000 post #100 i help in the forums post #1 post #500 0 second ninja
I recommend reading jvvg's essay about the scratch team before complaining, as it may change your opinion and provide insight on the topic.

coming soon :)


Ghxstifyy
Scratcher
100+ posts

Go to clone

Malicondi wrote:

Ghxstifyy wrote:

I mean it kinda sorta works, only issue I am having is you sometimes get stuck like it will glitch back and forth..
i added a fix for that before i put the link here, but i forgot to save the project. It should be fixed now.


Amazing! Works prefect, exactly how I wanted it. Thank you so much

What's up

Make sure to follow me if I helped you out!

when I receive [New Follow!]
change [Happiness] by (10000)

Powered by DjangoBB