Chapter 6. Advanced input and events

 

This chapter covers
  • Monitoring for events with event loops
  • Getting keypresses directly with getKey
  • Moving characters around the homescreen
  • Building a fun, interactive game with event loops

 

One day, you pick up your calculator, having made yourself several games and programs. You’ve shared them with your friends, and they think you’ve done a good job. You’re frustrated, though, because the games aren’t very interactive. You want something more immersive, where you move a hungry mouse around the screen, trying to collect pieces of cheese. You want to make the game challenging, so you need to add a way to lose: you add a hunger bar. You decide that the hunger bar will gradually fill and that the player ...

Get Programming the TI-83 Plus/TI-84 Plus now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.