I want to convert from coordinates to x:□y:△ of チャン chunk.

Asked 2 years ago, Updated 2 years ago, 42 views

For example, let x=16y=0 be x=0,y=0
in chunk 1 as shown in the image. I want to
Enter a description of the image here

c#

2022-09-30 13:46

1 Answers

The following answers from Chiebukuro solved the problem.

Dear ara*******,

Let the number to the right of | be xx

chunk number=xx/16
x-coordinate in chunk = xx%16

I think it's OK to

--https://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q13221504048

--https://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q13221504048


2022-09-30 13:46

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.