Level 4
Level 4 • We start to move into intermediate level topics in this level, introducing instance variables (data attributes) and reading and writing to and from text files. This level starts paving the way for more advances concepts later on
1. The Journey So Far and A Look Ahead
2. Reviewing Functions, Local Variables, Return Statements, And Input Parameters
3. And One More Bit of Function Review
4. Instance Variables
5. More On Instance Variables • Fred and Mary Revisited
6. Many Angry Turtles Create Abstract Art (!)
7. Creating The Basic Animation From A Previous Level
8. Creating Turtles When You Press Space
9. Giving Each Turtle Its Own Speed
10. Finishing Touches
11. Exercises
1. Introducing The Spinning Arrow Game
2. Planning The Program
3. Creating The Screen And The Arrow
4. Creating The Target And Placing It In A Random Position
5. Creating The Ball
6. Making The Arrow Spin
7. Moving The Ball (Part 1)
8. Moving The Ball (Part 2 • Instance Variables)
9. Moving The Ball (Part 3)
10. Resetting The Ball
11. Fixing The "Cheat" That Changes The Ball's Direction Mid-Flight
12. Hitting The Target
13. Setting Levels
14. Moving Towards Changing Levels
15. Changing Levels
16. Adding Timers
17. Exercises
1. Introducing the Bouncing Tennis Ball Project
2. Different Ways of Moving A Turtle
3. Moving The Ball Down
4. Gravity
5. Bouncing Off The Floor
6. Making The Bounce More Realistic
7. Moving The Ball Sideways
8. Bouncing Off The Walls
9. Exercises
1. Many Balls
2. Moving All The Balls (Part 1)
3. Moving All The Balls (Part 2)
1. Reading From A Text File
2. Writing To A Text File
3. Introducing The Racing Game
4. Planning The Game
5. Creating And Moving The Player
6. Increasing And Decreasing Speed
7. Creating The Track
8. Slowing Down The Player When It Enters The Centre of The Track
9. Returning To Normal Speed When Player Is Back On The Track
10. Bouncing Off The Edges
11. Creating a Timer
12. Crossing The Finish Line (Part 1)
13. Crossing The Finish Line (Part 2)
14. Ending The Race
15. Saving The Best Time To File
16. Exercises
Get access to all the levels with a Codetoday Unlimited membership. Choose between a monthly or annual subscription.