Discuss Scratch
- Discussion Forums
- » Deutsch
- » Need an Explanation for a Code
- MussLoss
- New to Scratch
26 posts
Need an Explanation for a Code
Hey Guys,
I have a problem. I develop for school the Game “Jetpack Joyride”. I know normally how to develop it, but there is one thing, that i do not know, how to develop the background. So i had the idea to look it up in the Internet. There i founded a soloution. For school we have to explain our codes. My problem now is that i do not know, hot to explain teh code for the background. So i hope, that someon from the community can help me to explain it in detail. Thank You!
In German:
Ich habe ein Problem. Ich entwickle für die Schule das Spiel “Jetpack Joyride”. Ich weiß normalerweise, wie ich es entwickeln kann, aber es gibt eine Sache, die ich nicht weiß, wie ich sie entwickeln kann. Ich hatte also die Idee, im Internet nachzuschlagen. Dort habe ich eine Lösung gefunden. Für die Schule müssen wir unsere Codes erklären. Mein Problem ist jetzt, dass ich nicht weiß, diesen Code heiß zu erklären. Ich hoffe also, dass mir jemand aus der Community helfen kann, es ausführlich zu erklären. Danke dir!
Here the Link: https://scratch.mit.edu/projects/18258606/editor
I have a problem. I develop for school the Game “Jetpack Joyride”. I know normally how to develop it, but there is one thing, that i do not know, how to develop the background. So i had the idea to look it up in the Internet. There i founded a soloution. For school we have to explain our codes. My problem now is that i do not know, hot to explain teh code for the background. So i hope, that someon from the community can help me to explain it in detail. Thank You!
In German:
Ich habe ein Problem. Ich entwickle für die Schule das Spiel “Jetpack Joyride”. Ich weiß normalerweise, wie ich es entwickeln kann, aber es gibt eine Sache, die ich nicht weiß, wie ich sie entwickeln kann. Ich hatte also die Idee, im Internet nachzuschlagen. Dort habe ich eine Lösung gefunden. Für die Schule müssen wir unsere Codes erklären. Mein Problem ist jetzt, dass ich nicht weiß, diesen Code heiß zu erklären. Ich hoffe also, dass mir jemand aus der Community helfen kann, es ausführlich zu erklären. Danke dir!
Here the Link: https://scratch.mit.edu/projects/18258606/editor
- MussLoss
- New to Scratch
26 posts
Need an Explanation for a Code
My problem is, that i do not now how to explain it in detail. We have to explain it for school. So I hope that someone can explain it in detail. Could you explain it in detail for me?
- RunKittenzRComing
- Scratcher
86 posts
Need an Explanation for a Code
Oh, you mean like explain it.
Pretty much its a sprite is created at the beginning, starts at the left of the screen, and when the game starts it changes its costume and moves across the screen at the same rate of speed the character is moving, through a variable that is set on how fast the character is moving. There can be more then 1 sprite moving in the background to ensure fluidity of the background using clone, but more complex code will be present if the background were to change itself like going to a new area. Lots of communication would have to take place, and could take many, many tries.
Pretty much its a sprite is created at the beginning, starts at the left of the screen, and when the game starts it changes its costume and moves across the screen at the same rate of speed the character is moving, through a variable that is set on how fast the character is moving. There can be more then 1 sprite moving in the background to ensure fluidity of the background using clone, but more complex code will be present if the background were to change itself like going to a new area. Lots of communication would have to take place, and could take many, many tries.
Last edited by RunKittenzRComing (Feb. 11, 2019 15:52:49)
- MussLoss
- New to Scratch
26 posts
Need an Explanation for a Code
Thank you very much! Could you maybe please explain it more in detail, because that is for our teacher too short?
- MussLoss
- New to Scratch
26 posts
Need an Explanation for a Code
but more complex code will be present if the background were to change itself like going to a new area. Lots of communication would have to take place, and could take many, many tries.
What do you mean with it?
What do you mean with it?
- MussLoss
- New to Scratch
26 posts
Need an Explanation for a Code
I understand what you mean. If could unterstand it then I do it on my Own but I don’t understand that. Is it possible to explain a bit more?
You will help me very much. Thanks!
You will help me very much. Thanks!
- ME_Gaming
- Scratcher
100+ posts
Need an Explanation for a Code
ok listen:
Your Sprite, that you call background moves across the screnn and sort of “prints” the Background. Whenever you manage to accomplish a new zone, you start a sequence of actions, which lead to the sprite changing its costume. The main idea behind the background-sprite stays the same.
Great immitation of Jetpack Joyride btw.
Your Sprite, that you call background moves across the screnn and sort of “prints” the Background. Whenever you manage to accomplish a new zone, you start a sequence of actions, which lead to the sprite changing its costume. The main idea behind the background-sprite stays the same.
Great immitation of Jetpack Joyride btw.
- LiFaytheGoblin
- Forum Moderator
1000+ posts
Need an Explanation for a Code
Schreibt im Deutschsprachigen Forum bitte auf deutsch!
Deutsch, English, Français, Español, Nederlands
DACH Scratch Wiki • EN Scratch Wiki • All Scratch Wikis • A Scratch Wiki in your native language
DACH Scratch Wiki • EN Scratch Wiki • All Scratch Wikis • A Scratch Wiki in your native language
- Discussion Forums
- » Deutsch
- » Need an Explanation for a Code