BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//American Young Coder - ECPv6.10.1.1//NONSGML v1.0//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-ORIGINAL-URL:https://www.ayclogic.com
X-WR-CALDESC:Events for American Young Coder
REFRESH-INTERVAL;VALUE=DURATION:PT1H
X-Robots-Tag:noindex
X-PUBLISHED-TTL:PT1H
BEGIN:VTIMEZONE
TZID:America/Los_Angeles
BEGIN:DAYLIGHT
TZOFFSETFROM:-0800
TZOFFSETTO:-0700
TZNAME:PDT
DTSTART:20200308T100000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
TZNAME:PST
DTSTART:20201101T090000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20200717T180000
DTEND;TZID=America/Los_Angeles:20200717T190000
DTSTAMP:20260430T015844
CREATED:20200718T024253Z
LAST-MODIFIED:20200718T024253Z
UID:3928-1595008800-1595012400@www.ayclogic.com
SUMMARY:6 PM - Python Game Development
DESCRIPTION:We learned how to put a cool-down period in launching fireball.\nWe fixed the problem where the fireball is only moving to the right.\nWe added background music to the Birdie.\nHomework:\n\nStart the Birdie game\, while the player is facing right\, continuously press the space key for 30 seconds. This will launch fireball for 30 seconds and the fireball will be going to the right. Make sure the fireball is only going in the right direction (not left).\nLeave the project open for 5 to 10 minutes. You will notice that the fireball starts to appear from the left. This is because when the fireball leaves the screen from the right\, they don’t magically disappear. They are still there in the memory until you explicitly kill. If you don’t kill your fireball\, after it leaves the screen\, your game can be slow.\nIn the Fireball class inside the update function\, put a code that if the x is less than 0 or if x is greater than the width of the screen do “self.kill()” . This will ensure the fireball is removed when it leaves the screen.
URL:https://www.ayclogic.com/event/6-pm-python-game-development-19/
CATEGORIES:Python Class,Python Game Development
END:VEVENT
END:VCALENDAR