This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from network import * | |
| id = "rory1" | |
| x = 570 | |
| y = 700 | |
| SpX = 0 | |
| SpY = 200 | |
| SpD = 10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Sasha Godycki | |
| CD Toolkit Python Fall 2021 | |
| Midterm 10.26.21 | |
| """ | |
| level = 1 | |
| circleY = 300 | |
| circleX = 300 | |
| circleDirection = 1 | |
| position = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # global img | |
| circleY = 300 | |
| circleDirection = 1 | |
| position = 0 | |
| startTime = 0 | |
| rectY = 200 | |
| rectDirection =1 | |
| def drawLevel1(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| global img | |
| def drawLevel1(): | |
| global circleY, circleDirection, startTime, position | |
| image(img,0,0) | |
| fill(50,150,200) | |
| rect(position,200, 50,50) | |
| # move for a little while, then stop | |
| if millis() > startTime and millis() < startTime + 2000: | |
| position = position + 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mode=Python | |
| mode.id=jycessing.mode.PythonMode |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Hi I tried opening the reference for the optional challenge of part 3 of the hw for this week but i just get a | |
| "this connection is not private" message and it won't let me open the link. @rors. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def setup(): | |
| size(800,375) | |
| global mountainsImage | |
| global hillsImage | |
| global foregroundImage | |
| global princesspeachImage | |
| global moonImage | |
| mountainsImage = loadImage("week03-mountains.png") | |
| hillsImage = loadImage("week03-hills.png") | |
| foregroundImage = loadImage("week03-foreground.png") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mode=Python | |
| mode.id=jycessing.mode.PythonMode | |
| def setup(): | |
| size(800,375) | |
| global mountainsImage | |
| global hillsImage | |
| global foregroundImage | |
| global princesspeachImage | |
| global moonImage |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| i made a red alien for class |