Перейти к содержимому

Converting between pixels and a tile grid in Pico-8

doc_robs[coding]

0:00 / 0:00

Converting between pixels and a tile grid in Pico-8

1 668 просмотров · 7 л. назад
doc_robs[coding]
1,75 тыс. подписчиков
1 668 просмотров · 7 л. назад
This short tutorial looks at using the floor function flr() to calculate the grid reference of an object when you know its position in pixels. It also looks at how to then convert this back to the pixel location of the grid reference.