Code Error

lluuze

Member
I'm a college student currently studying Games Design, I've been using the tutorials provided by my college to create a game using Gamemaker v 1.4 but have came across an error while creating hit boxes. I think something doesn't exist within the code but don't understand what I'd need to do to fix this error. The error message shows up when I press the space bar to attack.

Thank you in advance!
 

Attachments

You have set image_angle to be equal to angle_, but you defined your variable as _angle.
Change this line _hitbox.image_angle = angle_; to be _hitbox.image_angle = _angle;
 
Top