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:20230312T100000
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
TZNAME:PST
DTSTART:20231105T090000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20231205T180000
DTEND;TZID=America/Los_Angeles:20231205T190000
DTSTAMP:20260430T005042
CREATED:20231206T030715Z
LAST-MODIFIED:20231206T031436Z
UID:22882-1701799200-1701802800@www.ayclogic.com
SUMMARY:6 PM – Python Game Development – Sebastian
DESCRIPTION:Today We Did\n\nBlitted coin images to screen\nCreated player class\nAdded player’s jump functionality using gravity\nRemembered how to use the ASCII table to detect which key the user typed\nYou can always find the code we wrote in class in my Gitlab repository here:\nhttps://gitlab.com/gsugiart/tue-6-pm-flappy-bird/-/tree/Sebastian?ref_type=heads\nIn case you need anything\, feel free to email me at sebastian@ayclogic.com\n\nHomework\n\nHomework: Next class we will begin developing collisions between different sprites\, please add the “self.rect” attribute to all classes which will need to handle collisions.\n\nTo create this pygame rectangle for collisions\, we use the method:\n\nself.rect = pygame.Rect(x\, y\, width\, height)\n\nThe x and y will be simple for every class since they all have attributes for x and y\, but you will have to think a bit more to get the width & height.\nThe width & height of a rectangle should be based off the image(s) corresponding to the class. We can get an image’s width and height with these methods:\n\nimage.get_width()\nimage.get_height()\n\nThe tricky part will be to get a singular image\, since some classes have lists of images instead of just a single image! Remember how to index inside of a list and grab one image to fix this. Does it matter which image we get from the list\, or are they all the same width/height?\n\n\nOnce you added this self.rect attribute to 3 classes without any errors\, you know you’re done.
URL:https://www.ayclogic.com/event/6-pm-python-game-development-sebastian-11/
CATEGORIES:Python Class,Python Game Development
END:VEVENT
END:VCALENDAR