When an Avatar
object is hit, it is invulnerable to being hit again for a short time. Unfortunately, we have provided no visual feedback to the player that indicates this is happening or when it expires. Your assignment is to make the hero blink while it cannot be hit. Look at the Star
class for a hint on how to make an object blink.
Creative Greenfoot: RAW
By :
Creative Greenfoot: RAW
By:
Overview of this book
Table of Contents (17 chapters)
Creative Greenfoot
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Let's Dive Right in…
Animation
Collision Detection
Projectiles
Interactive Application Design and Theory
Scrolling and Mapped Worlds
Artificial Intelligence
User Interfaces
Gamepads in Greenfoot
What to Dive into Next…
Index
Customer Reviews