CS 1110 Lecture 1: November 8 – Game Design with Gamebox

98 views2 pages

Document Summary

Files on cs1110 site give all options of what we are allowed to do in gamebox. Box. speedx = 0 >> this makes it so that you cannot move whilst touching a surface. Game5. py is a wall jumper (jump with no overlap) If pygame. k_up in keys and on_ground: #if you hit up and you are on the ground. One constraint: if you not want to show overlapping in the end, we need to make sure not_overlapping happens immediately before we draw: not_overlapping has to be the last thing before draw. The right order: check if jump is okay, check keys, do physics stuff, make walls, draw. Anything out of this order does not work (this is the idea of dependency ordering. You need two loops: one that says you can jump, and another that says to stop overlapping. Game6. py only jumps when we are on the ground. We want global timer to be used with flapping (2pm 22:50)

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers