BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//American Young Coder - ECPv6.10.1.1//NONSGML v1.0//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:American Young Coder
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:20230312T100000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
TZNAME:PST
DTSTART:20231105T090000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20231010T180000
DTEND;TZID=America/Los_Angeles:20231010T190000
DTSTAMP:20260430T071823
CREATED:20231011T020751Z
LAST-MODIFIED:20231011T020751Z
UID:22062-1696960800-1696964400@www.ayclogic.com
SUMMARY:6 PM – Python Game Development – Sebastian
DESCRIPTION:Today We Did\n\nFinished adding movement to Player class\nChanged Player image direction on movement\nBegan understanding hitboxes\, groupcollide\, and the rect attribute\nYou can always find the code we wrote in class in my Gitlab repository here:\nhttps://gitlab.com/gsugiart/tue-6-pm-dragon-birdie/-/tree/TUE-6PM-Sebastian\nIn case you need anything\, feel free to email me at sebastian@ayclogic.com\n\nHomework\n\nHomework: For both your Player and Bird classes\, create a “rect” attribute\, and set it to pygame’s “Rect” object:\n \n\npygame.Rect(self.x\, self.y\, self.right_images[0].get_width()\, self.right_images[0].get_height())\n\n\n In each of their update methods (before you blit their image to screen):\n\nFirst check if TESTING is set to True (be sure you added TESTING = True in config.py)\nIf it is\, draw the “rect” attribute to the screen with:\n\npygame.draw.rect(self.screen\, (255\,0\,255)\, self.rect)\n\n\n\n\nIf everything is set up correctly\, all birds & players should show their hitbox in red. To disable hitboxes\, simply set the “TESTING” global variable (in config.py) to False.
URL:https://www.ayclogic.com/event/6-pm-python-game-development-sebastian-5/
CATEGORIES:Python Class,Python Game Development
END:VEVENT
END:VCALENDAR