We completed our Mario game this week. We coded Mario so that he always floated down on to the wall. We added a fraction of a second of a wait so that it appears that he floats as he comes down. This also allows time for you to navigate left or right as needed.
We also introduced a more advanced concept, the Parallax effect, whereby objects further away appear to move slower than objects nearer. We coded mountains and a Sun to demonstrate this.
Next week, everyone is going to start on there own games, using the code and concepts we have learnt over the last couple of weeks, so bring your imagination with you.
You will a full version of the my notes in pdf form here.CDA-S3-Challenge09-Scrolling.pdf
See you all next week