Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| gf2:projekte:2023:minecraft:2d1gruppe2 [2024/01/23 23:34] – buchsk | gf2:projekte:2023:minecraft:2d1gruppe2 [2024/01/30 11:09] (aktuell) – buchsk | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| + | <color # | ||
| + | {{ : | ||
| + | |||
| ===== SCRUMBOARD - GRUPPE KINO ===== | ===== SCRUMBOARD - GRUPPE KINO ===== | ||
| **Projekt Kino - Unsere Idee:** | **Projekt Kino - Unsere Idee:** | ||
| Man befindet sich auf einer kleinen Insel, irgendwo im Himmel. Es baut sich ohne Agent ein Kino auf. Der Bau beginnt mit der Treppe. Wenn man die Treppe hinauf geht befindet man sich im Eingang des Kinos. Sobald man sich im Kinosaal befindet, wird ein Film abgespielt. Für uns war wichtig ein Projekt zu machen mit dem alle etwas anfangen können, nicht nur die, die sich viel mit der Thematik des Programmierens beschäftigen, | Man befindet sich auf einer kleinen Insel, irgendwo im Himmel. Es baut sich ohne Agent ein Kino auf. Der Bau beginnt mit der Treppe. Wenn man die Treppe hinauf geht befindet man sich im Eingang des Kinos. Sobald man sich im Kinosaal befindet, wird ein Film abgespielt. Für uns war wichtig ein Projekt zu machen mit dem alle etwas anfangen können, nicht nur die, die sich viel mit der Thematik des Programmierens beschäftigen, | ||
| + | |||
| + | **Anleitung zum benutzen der Welt** | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| **Aufteilung der Gruppe in zweier Teams:** | **Aufteilung der Gruppe in zweier Teams:** | ||
| Zeile 16: | Zeile 27: | ||
| z = player.position().get_value(Axis.Z) | z = player.position().get_value(Axis.Z) | ||
| - | if (0<x<50) and (y==-60) and (0<z<50): | + | if (-2<x<2) and (71<y<75) and (-5>z>-20): |
| - | mobs.spawn(FIREWORKS_ROCKET, | + | mobs.spawn(FIREWORKS_ROCKET, |
| + | mobs.spawn(FIREWORKS_ROCKET, pos(-3,0,0)) | ||
| | | ||
| player.on_travelled(WALK, | player.on_travelled(WALK, | ||
| + | </ | ||
| </ | </ | ||
| Zeile 29: | Zeile 42: | ||
| Karim und Nadine haben mit der Recherche für den Bau des Hauses begonnen. Sie haben sich dazu entschieden das Kino ohne Agent zu bauen. Ihr Plan war, zuerst einen Grundbau zu erstellen um dann (wenn noch Zeit ist) am Ende Details einzubauen. Zu diesen Details gehören Lichter oder Fenster. | Karim und Nadine haben mit der Recherche für den Bau des Hauses begonnen. Sie haben sich dazu entschieden das Kino ohne Agent zu bauen. Ihr Plan war, zuerst einen Grundbau zu erstellen um dann (wenn noch Zeit ist) am Ende Details einzubauen. Zu diesen Details gehören Lichter oder Fenster. | ||
| - | Zu Beginn wurde vom Agenten per Code die Treppe gebaut: | + | **Der Film** |
| + | Wir hatten am Anfang sehr viel mühe aber wir haben unser Ziel erreicht! Beim Film muss man nur "film start" schreiben und er beginnt indem er vorgefertigte Bilder klont und in den Bildschirm nacheinander hineinkoppiert: | ||
| + | |||
| + | |||
| < | < | ||
| - | def Treppe(x, | ||
| - | a = 0 | ||
| - | while( a < hohe): | ||
| - | blocks.fill(QUARTZ_SLAB, | ||
| - | a = a+1 | ||
| - | Treppe(-1, | ||
| - | </ | ||
| + | #Film abspielen | ||
| + | def on_on_chat(): | ||
| + | | ||
| + | blocks.clone( | ||
| + | world(53, 80, -78), | ||
| + | world(33, 75, -78), | ||
| + | world(-10, 78, -64), | ||
| + | CloneMask.REPLACE, | ||
| - | Das Haus ist gebaut und jetzt geht es nur noch darum Details einzubauen: | + | loops.pause(500) |
| - | __- Nummerierter ListenpunktVerkaufsboxen | + | blocks.clone( |
| + | world(32, 80, -78), | ||
| + | world(12, 75, -78), | ||
| + | world(-10, 78, -64), | ||
| + | CloneMask.REPLACE, | ||
| - | < | + | loops.pause(500) |
| - | blocks.fill(RED_WOOL, | + | |
| - | world (-13, | + | blocks.clone( |
| - | world (-5, 74,-28), | + | world(11, 80, -78), |
| - | FillOperation.HOLLOW) | + | world(-9, 75, -78), |
| - | + | world(-10, 78, -64), | |
| - | blocks.fill(AIR, | + | |
| - | world (-5,76,-19), | + | |
| - | world (-5, 78,-26), | + | |
| - | FillOperation.REPLACE) | + | |
| - | + | ||
| - | blocks.fill(RED_WOOL, | + | |
| - | world (13,79,-18), | + | |
| - | world (5, 74,-28), | + | |
| - | FillOperation.HOLLOW) | + | |
| - | + | ||
| - | blocks.fill(AIR, | + | |
| - | world (5, | + | |
| - | world (5, 76,-26), | + | |
| - | FillOperation.REPLACE) | + | |
| - | </ | + | |
| - | --> mithilfe von Air-Blocks haben wir die Fenster gemacht | + | loops.pause(500) |
| + | |||
| + | blocks.clone( | ||
| + | world(-10, 80, -78), | ||
| + | world(-30, 75, -78), | ||
| + | world(-10, 78, -64), | ||
| + | CloneMask.REPLACE, | ||
| - | __ - Decke der Verkaufsbox: | + | loops.pause(500) |
| - | < | + | |
| - | blocks.fill(YELLOW_WOOL, | + | blocks.clone( |
| - | world (5,80,-18), | + | world(-31, 80, -78), |
| - | world (-5, 85,-28), | + | world(-51, 75, -78), |
| - | FillOperation.HOLLOW) | + | |
| - | </ | + | |
| - | __ | + | loops.pause(500) |
| - | < | + | |
| - | blocks.fill(GLOWSTONE, | + | blocks.clone( |
| - | world ( -7,79,-25), | + | world(-52, 80, -78), |
| - | world (-10, 79,-25), | + | |
| - | FillOperation.REPLACE) | + | |
| - | + | CloneMask.REPLACE, | |
| - | blocks.fill(GLOWSTONE, | + | |
| - | world ( -7,79,-21), | + | loops.pause(500) |
| - | world (-10, 79,-21), | + | |
| - | FillOperation.REPLACE) | + | |
| + | world(-73, 80, -78), | ||
| + | world(-93, 75, -78), | ||
| + | world(-10, | ||
| + | | ||
| + | |||
| + | | ||
| + | |||
| + | | ||
| + | world(-94, 80, -78), | ||
| + | world(-116, 75, -78), | ||
| + | world(-10, | ||
| + | | ||
| + | |||
| + | loops.pause(3000) | ||
| + | |||
| + | blocks.clone( | ||
| + | world(-117, 80, -78), | ||
| + | world(-137, 75, -78), | ||
| + | world(-10, 78, -64), | ||
| + | CloneMask.REPLACE, | ||
| + | |||
| + | loops.pause(3000) | ||
| + | |||
| + | blocks.clone( | ||
| + | world(-139, 80, -78), | ||
| + | world(-159, 75, -78), | ||
| + | world(-10, 78, -64), | ||
| + | CloneMask.REPLACE, | ||
| + | |||
| + | loops.pause(3000) | ||
| + | |||
| + | blocks.clone( | ||
| + | world(-160, 80, -78), | ||
| + | world(-172, 75, -78), | ||
| + | world(-10, 78, -64), | ||
| + | CloneMask.REPLACE, | ||
| + | |||
| + | blocks.clone( | ||
| + | world(-73, 80, -75), | ||
| + | world(-93, 75, -75), | ||
| + | world(-10, 78, -64), | ||
| + | CloneMask.REPLACE, | ||
| + | |||
| + | player.on_chat(" | ||
| </ | </ | ||
| + | **Das Kino** | ||
| + | Wir dachten uns, es wäre doch am besten eine effiziente Treppe zu nutzen welche man einfach anpassen kann und wiederverwendbar ist und die Wände als grosse boxen zu bauen. Wie schon oben erwähnt konnten wir noch Lichter einbauen welche das grosse Kino beleuchten. Doch im Saal nicht allzu viel da es sonst die spannende Stimmung versauen könnte. | ||
| + | < | ||
| + | #Treppen | ||
| + | a = 0 | ||
| + | b = 0 | ||
| + | c = 0 | ||
| + | d = 0 | ||
| + | def EFG(): | ||
| + | # | ||
| + | blocks.fill(STRIPPED_SPRUCE_WOOD, | ||
| + | world(-14, 74, -17), | ||
| + | world(14, 86, -64), | ||
| + | FillOperation.HOLLOW) | ||
| + | blocks.fill(STRIPPED_OAK_WOOD, | ||
| + | world(-13, 79, -18), | ||
| + | world(-5, 74, -28), | ||
| + | FillOperation.HOLLOW) | ||
| + | blocks.fill(AIR, | ||
| + | world(-5, 76, -19), | ||
| + | world(-5, 78, -26), | ||
| + | FillOperation.REPLACE) | ||
| + | blocks.fill(STRIPPED_OAK_WOOD, | ||
| + | world(13, 79, -18), | ||
| + | world(5, 74, -28), | ||
| + | FillOperation.HOLLOW) | ||
| + | blocks.fill(AIR, | ||
| + | world(5, 78, -19), | ||
| + | world(5, 76, -26), | ||
| + | FillOperation.REPLACE) | ||
| + | blocks.fill(STONE_BRICKS, | ||
| + | world(5, 80, -18), | ||
| + | world(-5, 85, -28), | ||
| + | FillOperation.HOLLOW) | ||
| + | blocks.fill(STONE_BRICKS, | ||
| + | world(-3, 75, -42), | ||
| + | world(-13, 85, -28), | ||
| + | FillOperation.HOLLOW) | ||
| + | blocks.fill(STONE_BRICKS, | ||
| + | world(3, 75, -42), | ||
| + | world(13, 85, -28), | ||
| + | FillOperation.HOLLOW) | ||
| + | #Lichter | ||
| + | blocks.fill(GLOWSTONE, | ||
| + | world(-7, 79, -25), | ||
| + | world(-10, 79, -25), | ||
| + | FillOperation.REPLACE) | ||
| + | blocks.fill(GLOWSTONE, | ||
| + | world(-7, 79, -21), | ||
| + | world(-10, 79, -21), | ||
| + | FillOperation.REPLACE) | ||
| + | blocks.fill(GLOWSTONE, | ||
| + | world(10, 79, -25), | ||
| + | world(7, 79, -25), | ||
| + | FillOperation.REPLACE) | ||
| + | blocks.fill(GLOWSTONE, | ||
| + | world(10, 79, -21), | ||
| + | world(7, 79, -21), | ||
| + | FillOperation.REPLACE) | ||
| - | Der Code: | + | #Leinwand |
| + | blocks.fill(GLOWSTONE, | ||
| + | world(-11, 77, -63), | ||
| + | world(11, 84, -63), | ||
| + | FillOperation.HOLLOW) | ||
| + | blocks.fill(AIR, | ||
| + | world(-10, 78, -63), | ||
| + | world(10, 83, -64), | ||
| + | FillOperation.REPLACE) | ||
| + | blocks.fill(STRIPPED_OAK_WOOD, | ||
| + | world(-10, 78, -64), | ||
| + | world(10, 83, -64), | ||
| + | FillOperation.REPLACE) | ||
| + | blocks.fill(PLANKS_OAK, | ||
| + | world(-10, 78, -65), | ||
| + | world(10, 83, -65), | ||
| + | FillOperation.REPLACE) | ||
| + | blocks.fill(AIR, | ||
| + | world(2, 75, -17), | ||
| + | world(-2, 78, -17), | ||
| + | FillOperation.REPLACE) | ||
| + | #Treppen | ||
| + | def Treppe2(x, | ||
| + | b = 0 | ||
| + | while( b < hohe2): | ||
| + | blocks.fill(RED_WOOL, | ||
| + | b = b+1 | ||
| + | Treppe2(-2, | ||
| + | def Treppe3(x, | ||
| + | d = 0 | ||
| + | while( d < hohe4): | ||
| + | blocks.fill(LOG_DARK_OAK, | ||
| + | d = d+1 | ||
| + | Treppe3(-13, | ||
| + | def Treppe4(x, | ||
| + | c = 0 | ||
| + | while( c < hohe3): | ||
| + | blocks.fill(RED_WOOL, | ||
| + | c = c+1 | ||
| + | Treppe4(-2, -60, 76,6) | ||
| + | player.on_chat(" | ||
| + | </ | ||
| + | **Die RaketenTreppe** | ||
| + | Wir versuchten eine Treppe zu machen welche durch " | ||
| + | < | ||
| + | def ABC(): | ||
| - | __Die Raketen von der Raketentreppe(Leider Funktionieren sie nicht__ | + | # |
| + | |||
| + | def Treppe(x,y,z, hohe): | ||
| + | a = 0 | ||
| + | while( a < hohe): | ||
| + | blocks.fill(QUARTZ_SLAB, | ||
| + | a = a+1 | ||
| + | Treppe(-1, | ||
| + | blocks.fill(QUARTZ_SLAB, | ||
| + | world(1, 74, -11), | ||
| + | world(-1, 74, -16), | ||
| + | FillOperation.REPLACE) | ||
| + | player.on_chat(" | ||
| + | </ | ||
| + | **Abbaumöglichkeit** | ||
| + | Wir haben auch natürlich eine Abbaumöglichkeit eingebaut die recht simpel ist | ||
| < | < | ||
| + | |||
| + | def ABBAU2(): | ||
| + | blocks.fill(AIR, | ||
| + | world(-1, 74, -16), | ||
| + | world(2, 71, -2), | ||
| + | FillOperation.HOLLOW) | ||
| + | player.on_chat(" | ||
| + | #Abbau für Alles | ||
| + | def ABBAU(): | ||
| + | blocks.fill(AIR, | ||
| + | world(-14, 73, -17), | ||
| + | world(14, 86, -70), | ||
| + | FillOperation.HOLLOW) | ||
| + | player.on_chat(" | ||
| + | | ||
| + | </ | ||
| + | | ||
| + | **Der ganze CODE** | ||
| + | Falls sich jemand intressiert | ||
| + | < | ||
| + | |||
| #Treppen | #Treppen | ||
| a = 0 | a = 0 | ||
| Zeile 122: | Zeile 320: | ||
| c = 0 | c = 0 | ||
| d = 0 | d = 0 | ||
| + | |||
| + | blocks.fill(STRIPPED_OAK_WOOD, | ||
| + | world(54, 75, -72), | ||
| + | world(-128, 86, -72), | ||
| + | FillOperation.REPLACE) | ||
| + | |||
| + | |||
| + | def ABBAU2(): | ||
| + | blocks.fill(AIR, | ||
| + | world(-1, 74, -16), | ||
| + | world(2, 71, -2), | ||
| + | FillOperation.HOLLOW) | ||
| + | player.on_chat(" | ||
| + | #Abbau für Alles | ||
| + | def ABBAU(): | ||
| + | blocks.fill(AIR, | ||
| + | world(-14, 73, -17), | ||
| + | world(14, 86, -70), | ||
| + | FillOperation.HOLLOW) | ||
| + | player.on_chat(" | ||
| + | |||
| + | |||
| + | # | ||
| + | |||
| + | |||
| + | |||
| def on_travelled_walk(): | def on_travelled_walk(): | ||
| x = player.position().get_value(Axis.X) | x = player.position().get_value(Axis.X) | ||
| Zeile 127: | Zeile 351: | ||
| z = player.position().get_value(Axis.Z) | z = player.position().get_value(Axis.Z) | ||
| - | if (-1<x<1) and (71< | + | if (-2<x<2) and (71< |
| mobs.spawn(FIREWORKS_ROCKET, | mobs.spawn(FIREWORKS_ROCKET, | ||
| + | mobs.spawn(FIREWORKS_ROCKET, | ||
| | | ||
| player.on_travelled(WALK, | player.on_travelled(WALK, | ||
| - | </ | ||
| - | __Der Film__ | ||
| - | < | ||
| #Film abspielen | #Film abspielen | ||
| def on_on_chat(): | def on_on_chat(): | ||
| Zeile 232: | Zeile 454: | ||
| player.on_chat(" | player.on_chat(" | ||
| - | </ | ||
| - | __das Kino__ | + | |
| - | < | + | |
| def EFG(): | def EFG(): | ||
| Zeile 345: | Zeile 565: | ||
| player.on_chat(" | player.on_chat(" | ||
| - | </ | ||
| - | __Die RaketenTreppe__ | ||
| - | < | ||
| def ABC(): | def ABC(): | ||
| Zeile 365: | Zeile 582: | ||
| FillOperation.REPLACE) | FillOperation.REPLACE) | ||
| player.on_chat(" | player.on_chat(" | ||
| + | |||
| </ | </ | ||
| + | |||
| + | |||