Thank you Mr. Decker for helping me with this mini-project, it helped me understand on how to code better games now! In the end I ended up with 140 lines of code. Thank you so much for you help!!
Yes, and the code would be inside your draw loop and look like this. if (player.isTouching(obstacle)) { health = health - 1; obstacle.x = 450; obstacle.setAnimation("obstacle2"); obstacle.rotation = -45; } You're basically just addubg the "obstacle.x = _" line inside your existing if (player.isTouching(obstacle)) if statement.
OMG! You just saved my grades for ICT! WHy didn't I know you sooner! Thank you sooooo much, I really really really appreciate it👍👍👌👌✌
this video saved my grade in computer science thank you
Thank you so much
How did this hour long video only get 2 comments but 4.7K views
Thank you so much Mr. Decker
Thanks Mr.Decker!
Thanks Mr. Decker, this really helped.
Thank you Mr. Decker for helping me with this mini-project, it helped me understand on how to code better games now! In the end I ended up with 140 lines of code. Thank you so much for you help!!
u js saved my grade 👏👏👏
Thank you I’m was dying ❤❤❤
THANK U SMMM
saved my grade
clutch
do you know if it’s possible to decrease the health by one?
Yes, and the code would be inside your draw loop and look like this.
if (player.isTouching(obstacle)) {
health = health - 1;
obstacle.x = 450;
obstacle.setAnimation("obstacle2");
obstacle.rotation = -45;
}
You're basically just addubg the "obstacle.x = _" line inside your existing if (player.isTouching(obstacle)) if statement.
I have a question, on my school desktop and at home laptop.. when i jump it doesn’t work. any suggestions?
🛸😡🛸😡🛸😡🛸😡 this was NICE😮