Please help asap for homework

I have a homework till today 12 i need to make a circle change shape when it hits the wall and a circle that bounces of walls

Hi @parichko,

Please read the guidelines for asking about homework :wink:

Programming is first describing your needs then answering those problems with code so in your case try to ask yourself the following questions:

  • How to make a circle shape?
  • How to make that circle move?
  • How to change the shape of a circle when an event is triggered?
  • How do I detect the intersection of a circle an a wall?
  • How do I modify the trajectory of the circle so that when it touches a wall it bounces?

Gradually solving those questions will lead you to the final program and this is the process of software engineering! :yum:


There are resources here to get you started: