Python Forum
[pygame] distance detector
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[pygame] distance detector
#1
Hi,

how I can calculate the distance of moving object to the walls in the labyrinth like on the picture?

https://photos.app.goo.gl/D9YyTanhhfWSSJSd8

   

I want store distance in variable a,b,c,d,e
Reply


Messages In This Thread
[pygame] distance detector - by N0m1t - May-26-2019, 08:10 PM
RE: [pygame] distance detector - by metulburr - May-26-2019, 11:47 PM
RE: [pygame] distance detector - by Windspar - May-27-2019, 02:49 AM
RE: [pygame] distance detector - by N0m1t - May-28-2019, 12:46 PM
RE: [pygame] distance detector - by Windspar - May-28-2019, 04:53 PM
RE: [pygame] distance detector - by N0m1t - May-28-2019, 06:07 PM
RE: [pygame] distance detector - by Windspar - May-28-2019, 08:46 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020