Just changed my world/icon_size from 32 to 64 and ran into a slight issue. Whenever anything moves it happens in an instant rather than a glide like movement. When I change it back from 64 to 32 The movement is normal again. Any idea what my cause this unwanted effect?
|
![]() Sep 16 2016, 6:33 pm
Best response
|
|
It's possible that you have some code that depends on some TILE_WIDTH and TILE_HEIGHT definitions that default to 32, causing some positioning calculations to enable pixel movement mode. Or you have bound variables (x, y, width, height) or step_size set to some multiple of 32 that isn't a multiple of 64.
|